[Webkit-unassigned] [Bug 164689] New: [FreeType] FontPlatformData::fallbacks() returns incomplete FcPatterns

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 12 14:15:51 PST 2016


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

            Bug ID: 164689
           Summary: [FreeType] FontPlatformData::fallbacks() returns
                    incomplete FcPatterns
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at igalia.com
                CC: bugs-noreply at webkitgtk.org, mmaxfield at apple.com,
                    mrobinson at webkit.org

Behdad warned me about this at the Web Engines Hackfest. From the documentation of FcFontSort():

"""The returned FcFontSet references FcPattern structures which may be shared by the return value from multiple FcFontSort calls, applications must not modify these patterns. Instead, they should be passed, along with p to FcFontRenderPrepare which combines them into a complete pattern."""

That means each call to FcFontSort() must be followed up by a call to FcFontRenderPrepare(), else the patterns will lack information about how to draw the font properly.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161112/7e7805d5/attachment-0001.html>


More information about the webkit-unassigned mailing list