[Webkit-unassigned] [Bug 96982] New: OpenType alternative style set (ss05) not used when requested via [-webkit-]font-feature-settings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 17 23:44:45 PDT 2012


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

           Summary: OpenType alternative style set (ss05) not used when
                    requested via [-webkit-]font-feature-settings
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
               URL: http://hsivonen.iki.fi/webm-share/
        OS/Version: Mac OS X 10.8
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Text
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hsivonen at iki.fi


Builds tested: Safari 6.0 and WebKit nightly for 2012-09-17 both on OS X 10.8.1.

Steps to reproduce:
1) Load http://hsivonen.iki.fi/webm-share/
2) Search for the word “Wikipedia”.
3) Compare the letter ‘W’ in the words “Wikipedia” and “WebM”.

Actual results:
The ‘W’ in both “Wikipedia” and “WebM” looks the same.

Expected results:
Expected the ‘W’ in “Wikipedia” to have 4 top serifs as in Firefox, Chrome and IE10 and the ‘W’ in “WebM” to have 3 top serifs.

Additional information:
There is markup

<span class="wiki">W</span>ikipedia

and style

.wiki {
  -webkit-font-feature-settings: "ss05" 1;
  -moz-font-feature-settings: "ss05" 1;
  -ms-font-feature-settings: "ss05" 1;
  -o-font-feature-settings: "ss05" 1;
  font-feature-settings: "ss05" 1;
}.


The font subset was created using the popular https://bitbucket.org/philip/font-optimizer/ tool. FontForge complains about one erroneous ligature, but the resulting font passes OpenType sanitization in Firefox and Chrome. Firefox, Chrome, IE10 and Safari are all happy enough with the GPOS table to use ligatures for e.g. “Th” and “Qu”. Even if the font had a minor technical defect, Safari should render the the alternative glyph properly for compatibility with other browsers.

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