Comment #14 on issue 17854 by [email protected]: Bold and Italic complex text is picking wrong fonts http://code.google.com/p/chromium/issues/detail?id=17854
On a typical Linux distribution, $ fc-list :lang=hi:style=Bold returns nothing. The same is true of Italic. So, both Italic and Bold have to be synthesized. With Arabic, native bold fonts are likely to be available, but native Italic (well, it doesn't make much sense for Arabic) fonts are not. So, again, it has to be synthesized (see issue 17931 comment 4 : the second issue) WebFontInfo::familyForChars (an its successive callers all the back to getFontFamilyforChracters in renderer_webkitclient) does not get enough information passed .... hmm, no, it cannot be an issue because that function just gets a font family name covering characters. It seems that its ultimate caller (setupFontForScriptRun in FontLinux) has to do something about synthetic bold/italic ). The simple font path at least renders characters with fake bold (see bug 22360). -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---
