[Webkit-unassigned] [Bug 69370] New: WebKit not ensure font load before calling Skia to drawPosText

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 4 13:46:18 PDT 2011


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

           Summary: WebKit not ensure font load before calling Skia to
                    drawPosText
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://code.google.com/p/chromium/issues/detail?id=944
                    21
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: arthurhsu at chromium.org


In Chrome sandbox model, GDI calls such as GetOutlineTextMetrics() can fail if the font is not loaded in memory already.  Chrome browser process implements a hack that will force GDI to load the desired font into memory, and in WebKit terms, it's called PlatformSupport::ensureFontLoaded().

This means that WebKit renderer must call PlatformSupport::ensureFontLoaded() right before calling Skia to draw glyphs because they are both in sandbox.

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