RESOLVED FIXED 98961
text-combine doesn’t use third- and quarter-width variants when used with @font-face
https://bugs.webkit.org/show_bug.cgi?id=98961
Summary text-combine doesn’t use third- and quarter-width variants when used with @fo...
mitz
Reported 2012-10-10 15:47:55 PDT
<rdar://problem/12472460> When used with a @font-face font, text-combine fails to measure text using the third- and quarter-width variants, and renders with a different font altogether. Patch forthcoming.
Attachments
Patch (6.72 KB, patch)
2012-10-10 16:13 PDT, mitz
thorton: review+
mitz
Comment 1 2012-10-10 16:13:20 PDT
WebKit Review Bot
Comment 2 2012-10-10 16:18:00 PDT
Attachment 168085 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/fast..." exit_code: 1 Source/WebCore/platform/graphics/FontWidthVariant.h:41: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] Total errors found: 1 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
Tim Horton
Comment 3 2012-10-10 19:09:03 PDT
Comment on attachment 168085 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=168085&action=review > LayoutTests/fast/text/text-combine-with-font-face.html:4 > + src: local(HiraMinProN-W3); Is this one of the fonts we ship in the repo?
mitz
Comment 4 2012-10-10 19:20:50 PDT
(In reply to comment #3) > (From update of attachment 168085 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=168085&action=review > > > LayoutTests/fast/text/text-combine-with-font-face.html:4 > > + src: local(HiraMinProN-W3); > > Is this one of the fonts we ship in the repo? No. local() means that a locally-installed font with that name should be used. OS X comes with that font. Thanks for the review!
mitz
Comment 5 2012-10-10 20:21:06 PDT
Note You need to log in before you can comment on or make changes to this bug.