<rdar://problem/10288006> Emoji characters are too close to each other in small font...
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Oct 2011 21:41:43 +0000 (21:41 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Oct 2011 21:41:43 +0000 (21:41 +0000)
commitc730e5b4f7f5686d11246456a159ea8b9569a6ef
treecc22acde3230f82c62123d74bf26f6546875c2f1
parent80f8d8b4a6036b6a6f2f6ae12ea1eda5886078b6
<rdar://problem/10288006> Emoji characters are too close to each other in small font size

Reviewed by Sam Weinig.

Source/WebCore:

* platform/graphics/mac/SimpleFontDataMac.mm:
(WebCore::SimpleFontData::platformWidthForGlyph): If the font is a color bitmap font, use
-[NSFont advancementForGlyph:] instead of wkGetGlyphTransformedAdvances().

LayoutTests:

* platform/mac/fast/css/font-family-pictograph-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@98765 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/mac/fast/css/font-family-pictograph-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/mac/SimpleFontDataMac.mm