![]() But it would be really suprising if there were browsers that don’t use fallback fonts. (Browsers don’t have do this, of course, and how it exactly works might also depend on the operating system. If the specified font doesn’t contain a glyph for a character, browsers typically use a fallback font to render this character. ![]() The above is rendered like this on my computer: ![]() All Chinese text is rendered in the same font, so it looks like the browser in some way can find the font that has the glyphs that are being used in the text, even though I didn't specify the name of any font with Chinese glyphs. On my browser (Firefox 56.0) the example below renders the Chinese text correct (of course given that there's a Chinese font installed on the computer) in both s. How should I specify the font for the Chinese text to make sure the users browser displays 你好 and not □□? The font I use for western text doesn't have Chinese characters in it, so I want the Chinese font available on the users computer to be used for rendering the Chinese characters (btw Chinese fonts are super big and not suitable for downloading on the fly).Ĭan I just put the Chinese characters in the middle of the other text, and expect the browser to find a Chinese font to render them in (if I don't care which font it's rendered in), or should I specify the Chinese font in some way? The page contains some parts that are in Chinese, mixed with western letters. ![]() I'm making a webpage that's partly in Chinese.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |