[Webkit-unassigned] [Bug 27109] New: Some tests in the Qt DRT pass and fail randomly, depending on whether previous tests used @font-face

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 9 00:41:05 PDT 2009


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

           Summary: Some tests in the Qt DRT pass and fail randomly,
                    depending on whether previous tests used @font-face
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hausmann at webkit.org


Sometimes when a test loads an application font using the @font-face css rule,
then a following test may expose different metric. In normal web browsing this
is not an issue, but with the Qt DRT we enforce a limited set of fonts through
a fontconfig application fontset, which is also used by
QFontDatabase::addApplicationFont. When removing an application font through
QFontDatabase::removeApplicationFont, then Qt clears the entire app fontset and
re-initializes it from its sent of known application fonts. That discards the
app set the Qt DRT initializes on startup.

Private application fontsets _together_ with QFontDatabase::addApplicationFonts
are not really supported, so we have to work around this in the Qt DRT by
re-initializing our font set when necessary.

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