[Webkit-unassigned] [Bug 38701] [chromium] don't call fontconfig twice in complex text path
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 3 18:19:32 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=38701
--- Comment #21 from Evan Martin <evan at chromium.org> 2010-08-03 18:19:31 PST ---
I worry the correct fix to font loading in general is more complicated.
I think what we should do is put more of the control into WebKit:
- Call to fontconfig once in getFontDataForCharacters to resolve a font request all the way to a specific filename and font settings. Never call fontconfig a second time for this font. That may mean extending what FontDescription includes.
- createFontPlatformData could then just open that font file and give the opened font to Skia.
I added the SkTypeface::CreateFromName call recently (in the last six months) and I think it was maybe the wrong design. I think Skia doesn't have enough information to be able to open the correct font on Linux if we only give it a font name.
--
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