[Webkit-unassigned] [Bug 45318] New: Complex Path FontCache does not handle SmallCaps properly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 7 13:04:48 PDT 2010


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

           Summary: Complex Path FontCache does not handle SmallCaps
                    properly
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Text
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gsimmons at rim.com



Gary Simmons <gsimmons at rim.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #66754|                            |review?
               Flag|                            |


Created an attachment (id=66754)
 --> (https://bugs.webkit.org/attachment.cgi?id=66754)
Patch to add small caps to font cache

Overview: 

When rendering with FAST_PATH turned off, the complex path for small caps data directly requests a FontPlatformData with SmallCapsVariant. Currently the SmallCapsVariant and the PlainVariant will have the same hash and occupy same space in the font cache resulting in incorrect rendering (always Small Caps or always plain)

Steps to Reproduce:

1) Build with fast path disabled
2) Load a webpage using small caps of a particular font
3) Load another page with exactly the same font but without small caps

Expected Results:

The small caps page will have small caps, the plain page will have plain.

Actual Results:

Both pages have Small Caps (likewise if steps 2 and 3 are reversed both pages will have plain).

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