Changeset 86081 in webkit
- Timestamp:
- May 9, 2011 12:40:17 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r86078 r86081 1 2011-05-09 Andreas Kling <kling@webkit.org> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] Simple small-caps text is displayed in uniform size. 6 https://bugs.webkit.org/show_bug.cgi?id=60492 7 8 Covered by existing tests. 9 10 * platform/graphics/qt/FontPlatformDataQt.cpp: 11 (WebCore::FontPlatformData::FontPlatformData): In the FontPlatformData constructor 12 used by SimpleFontData::scaledFontData(), pass the pixel size to both QFont and QRawFont 13 to make small caps and emphasis marks have the correct size when rendered through 14 the fast font path. 15 1 16 2011-05-09 Andreas Kling <kling@webkit.org> 2 17 -
trunk/Source/WebCore/platform/graphics/qt/FontPlatformDataQt.cpp
r85853 r86081 95 95 m_data->oblique = other.m_data->oblique; 96 96 m_data->font.setPixelSize(size); 97 m_data->rawFont.setPixelSize(size); 97 98 m_data->size = size ? m_data->font.pixelSize() : 0; 98 99 }
Note: See TracChangeset
for help on using the changeset viewer.