[Webkit-unassigned] [Bug 26353] New: Incorrect Handling of Cairo Fonts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 12 13:24:51 PDT 2009


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

           Summary: Incorrect Handling of Cairo Fonts
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bfulgham at webkit.org


Cairo's internal reference counting for its various font types
(cairo_font_face_t* and cairo_scaled_font_t*) are getting out of sync because
the various FontPlatformData implementations are not consistently marking the
fonts in use and removing them when finished.

One significant cause of this problem is that the Cairo font implementations
use the default copy constructor, which does a shallow pointer assignment for
the font pointers, which can cause multiple destruction of the same font and
possible crashes.

The attached patch corrects the font handling.


-- 
Configure bugmail: https://bugs.webkit.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