Follow-up fix for <rdar://problem/10191243> Glyph variants (line final swashes) appea...
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Sep 2011 23:12:02 +0000 (23:12 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Sep 2011 23:12:02 +0000 (23:12 +0000)
commitb73560e8444c5f8bf60aec039a40fac8ca0104e1
treed64e16c74b41a7b54d29fe0c386f4e55b40bc499
parentc8a1bc55603b937e3a30fe044009345bd1350dd8
Follow-up fix for <rdar://problem/10191243> Glyph variants (line final swashes) appear where they should not

Reviewed by Simon Fraser.

Source/WebCore:

* platform/graphics/cocoa/FontPlatformDataCocoa.mm:
(WebCore::FontPlatformData::ctFont): Check for Hoefler Text Black Italic as well.

LayoutTests:

Added Hoefler Text Black Italic to the test case.

* fast/text/line-initial-and-final-swashes.html:
* platform/mac/fast/text/line-initial-and-final-swashes-expected.png:
* platform/mac/fast/text/line-initial-and-final-swashes-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96374 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/text/line-initial-and-final-swashes.html
LayoutTests/platform/mac/fast/text/line-initial-and-final-swashes-expected.png
LayoutTests/platform/mac/fast/text/line-initial-and-final-swashes-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/cocoa/FontPlatformDataCocoa.mm