[Webkit-unassigned] [Bug 47452] [Gtk] style="font-family: courier" makes text disappear

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 9 07:14:12 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=47452





--- Comment #19 from Holger Freyther <zecke at selfish.org>  2010-11-09 07:14:13 PST ---
(In reply to comment #18)

> I can use the freetype-demos (ftdump, ftview) on the font, calls to FT_Get_Char_Index also return sensible values... so we will need to dig into FontConfig to figure out what is going wrong... The FT_Face also has a charmap set...

My email to the fontconfig list got stuck but behdad was kind enough to respond to private emails. Right now it is not possible to query for certain encodings of the font. Behdad proposed that we will have to have proper font fallback then.

So two ways to go forward:

 a) Before loading the font, get the FT_Face and check if it is supported by FontConfig. We could try to get this method into fontconfig itself

b) Handle that we do not have any 'accessible' glyphs and have a proper fallback, or have a fallback code to just try a different font.


For b) we will need to  change WebCore internals, for a) we have to face the penalty on selecting the font.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list