2011-05-09 Andreas Kling <kling@webkit.org>
authorAndreas Kling <kling@webkit.org>
Mon, 9 May 2011 19:40:17 +0000 (19:40 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Mon, 9 May 2011 20:47:14 +0000 (17:47 -0300)
commit9346ba42444054c750b89a1333a25f673084c49e
treeea3e458311673822fb69834b9d7cb3c90f007d0f
parentb1052265c6e902e4d877b1d437787d47aa9b9e0c
2011-05-09  Andreas Kling  <kling@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Simple small-caps text is displayed in uniform size.
        https://bugs.webkit.org/show_bug.cgi?id=60492

        Covered by existing tests.

        * platform/graphics/qt/FontPlatformDataQt.cpp:
        (WebCore::FontPlatformData::FontPlatformData): In the FontPlatformData constructor
        used by SimpleFontData::scaledFontData(), pass the pixel size to both QFont and QRawFont
        to make small caps and emphasis marks have the correct size when rendered through
        the fast font path.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86081 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/qt/FontPlatformDataQt.cpp