[Webkit-unassigned] [Bug 120499] New: Font-faces with different styles should not be mixed in a CSSSegmentedFontFace

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 29 15:40:32 PDT 2013


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

           Summary: Font-faces with different styles should not be mixed
                    in a CSSSegmentedFontFace
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: BlinkMergeCandidate
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: hyatt at apple.com, mitz at webkit.org,
                    simon.fraser at apple.com, enrica at apple.com


Consider merging https://chromium.googlesource.com/chromium/blink/+/7823ceba809d5c05bffeeb9e732e92fe76fab7e9

Before this patch, when a glyph for the character to be rendered is not
in the matched @font-face, glyph from other @font-face (with different
style) in the family or system font with the same name were used as fallback.
This behavior does not follow the font matching algorithm
(http://www.w3.org/TR/css3-fonts/#font-matching-algorithm):

"6. If no matching face exists or the matched face does not contain a glyph
    for the character to be rendered, the next family name is selected and
    the previous three steps repeated. Glyphs from other faces in the family
    are not considered."

This patch fixes the issue by changing CSSSegmentedFontFace to represent fonts
of single font traits. This also fixes a bug that the browser downloads fonts
for unused styles.

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