[Webkit-unassigned] [Bug 71110] New: Add per-script font preferences support in overridePreference

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 28 04:40:38 PDT 2011


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

           Summary: Add per-script font preferences support in
                    overridePreference
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: falken at chromium.org
                CC: jshin at chromium.org, bashi at chromium.org


Add per-script font preferences support in overridePreference.  

The motivation is that a layout test for per-script fonts is difficult, since each platform sets its own default per-script fonts and these don't affect DumpRenderTree, anyway.  If overridePreference supports per-script fonts settings, the layout test can do something like:

    // Set standard font for USCRIPT_ARABIC to Ahem.
    overridePreference("WebKitStandardFontMap", [ "2", "Ahem" ]);

So a layout test like the one proposed in bug 67019 is simpler, since we don't have to be concerned with the default per-script fonts on each platform; we can just test that Ahem font is used, which is recommended for pixel tests.

-- 
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