[Webkit-unassigned] [Bug 6400] CSS 2.1 tests are too dependent on machine fonts

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sun Jan 8 09:01:20 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=6400





------- Additional Comments From ap at nypop.com  2006-01-08 09:01 -------
WebTextRenderer uses SPIs to find substitute fonts (WKGetFontInLanguageForRange(), 
WKGetFontInLanguageForCharacter()). ATSUI has an explicit way to control font fallback <http://
developer.apple.com/documentation/Carbon/Conceptual/ATSUI_Concepts/atsui_chap6/
chapter_6_section_2.html>; don't know about AppKit SPIs.

There appear to be several possible solutions:
1) Just modify the tests, so that font fallback isn't needed.
2) Find an appropriate AppKit SPI or rewrite WKGetFontInLanguageFor...() using ATSUI, giving a 
predefined list of allowed fallback fonts when running in DRT.
3) Make findSubstituteFont() try common Apple fonts after the CSS family fallback list, but before the 
system-provided fallback when running in DRT.

-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list