![]() ![]() Here is what W3C have to say in CSS Fonts Module Level 3 w3.org/TR/css3-fonts/#font-family-prop: " Some font formats allow fonts to carry multiple localizations of the family name. I did switch my OSX to Chinese and repeated my tests but the results were the same. Only Firefox worked correctly!!! My OSX localization for the tests was English. I tested with Chrome (.63), Firefox (v26.0) and Safari (v7.0.1). Figure 1 shows correct Browser behaviour and Figure 2 shows incorrect browser behaviour.įigure 1: Correct Browser Behaviour, strings a and b rendered with same fontįigure 2: Incorrect Browser Behaviour, strings a and b rendered with different fonts It is expected that a Browser will always recognise an English font name but, as will demonstrated, Chinese font names are often not recognised. A Browser that does not recognise the Chinese name will use a substitute font and hence a and b text will appear differently. A Browser that recognises both the English and Chinese names for a font will render a and b text identically as it will be using the same font. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |