https://bugs.webkit.org/show_bug.cgi?id=56129, vertical text broken on Lion and Leopard.
authorhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Mar 2011 20:15:39 +0000 (20:15 +0000)
committerhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Mar 2011 20:15:39 +0000 (20:15 +0000)
commit736f6d7228601e25dff827696e893451a3532840
treea0d1e40e8caf0c2f3bc9270b88ea1ddb755276b4
parenta1abf5bfa2f5ccb08161756d9e23aa3135f27ca7
https://bugs.webkit.org/show_bug.cgi?id=56129, vertical text broken on Lion and Leopard.

Reviewed by Dan Bernstein.

Add Snow Leopard ifdefs for the scaling by point size and then the division by unitsPerEm to the
translationsTransform applied to the results from CTFontGetVerticalTranslationsForGlyphs, since
this is done already on Lion and Leopard.

* platform/graphics/mac/FontMac.mm:
(WebCore::showGlyphsWithAdvances):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80740 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/mac/FontMac.mm