Bug 96981
| Summary: | 'f' in the word "If" (not in e.g. "of"!) rendered as a crossed box when ligatures are enabled in a specific custom font | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Henri Sivonen <hsivonen> |
| Component: | Text | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | ahmad.saleem792, ap, mitz |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac (Intel) | ||
| OS: | OS X 10.8 | ||
| URL: | http://hsivonen.iki.fi/webm-share/ | ||
Henri Sivonen
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) Look at the first word of the paragraph under the heading “What Happens if You Include Pluggable Codecs?”
Actual results:
The word “If” is rendered with a crossed box (a rectangle with two diagonal lines in an ‘x’ shape connecting opposite corners) in place of the letter ‘f’. However, in all of the words, including “of”, the letter ‘f’ is rendered using an appropriate glyph. This problem also repeats at another point on the same page (in the second sentence under “What Happens if You Include iPad?”) as well as elsewhere on the site.
Expected results:
Expected the letter ‘f’ in the word “If” to look like the letter ‘f’ as it does in Firefox, Chrome, IE and Opera.
Additional information:
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 fund had a minor technical defect, Safari should render the word “If” properly for compatibility with other browsers.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
I am not able to reproduce this bug in STP 155 and "f" is rendered fine and matches Chrome Canary 108 and Firefox Nightly 107.
Marking this as "RESOLVED CONFIGURATION CHANGED", if you have any reproducible updated test case, please reopen this. Thanks!