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)
commit73259bc29230d186b45d14465f6e0280c1b7f739
treed64e16c74b41a7b54d29fe0c386f4e55b40bc499
parent472a1bd94b2fb5f3a6bf084c9972da147a387473
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: https://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