Changeset 174002 in webkit
- Timestamp:
- Sep 26, 2014 1:39:59 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 6 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r173998 r174002 1 2014-09-26 Lorenzo Tilve <ltilve@igalia.com> 2 3 [GTK] Fix support for the initial-letter CSS property to first-letter 4 https://bugs.webkit.org/show_bug.cgi?id=137108 5 6 Reviewed by Alejandro G. Castro. 7 8 Add missing GTK test expectation files after http://webkit.org/b/136484 9 10 * platform/gtk/fast/css-generated-content/initial-letter-basic-expected.txt: Added. 11 * platform/gtk/fast/css-generated-content/initial-letter-border-padding-expected.txt: Added. 12 * platform/gtk/fast/css-generated-content/initial-letter-clearance-expected.txt: Added. 13 * platform/gtk/fast/css-generated-content/initial-letter-descender-expected.txt: Added. 14 * platform/gtk/fast/css-generated-content/initial-letter-raised-expected.txt: Added. 15 * platform/gtk/fast/css-generated-content/initial-letter-sunken-expected.txt: Added. 16 1 17 2014-09-26 Brian J. Burg <burg@cs.washington.edu> 2 18 -
trunk/Source/WebCore/ChangeLog
r173992 r174002 1 2014-09-26 Lorenzo Tilve <ltilve@igalia.com> 2 3 [GTK] Fix support for the initial-letter CSS property to first-letter 4 https://bugs.webkit.org/show_bug.cgi?id=137108 5 6 Reviewed by Alejandro G. Castro. 7 8 Add support for cap-height to the font system. 9 10 * platform/graphics/freetype/SimpleFontDataFreeType.cpp: 11 (WebCore::SimpleFontData::platformInit): 12 1 13 2014-09-25 Brian J. Burg <burg@cs.washington.edu> 2 14 -
trunk/Source/WebCore/platform/graphics/freetype/SimpleFontDataFreeType.cpp
r165676 r174002 64 64 float ascent = narrowPrecisionToFloat(fontExtents.ascent); 65 65 float descent = narrowPrecisionToFloat(fontExtents.descent); 66 float capHeight = narrowPrecisionToFloat(fontExtents.height); 66 67 float lineGap = narrowPrecisionToFloat(fontExtents.height - fontExtents.ascent - fontExtents.descent); 67 68 68 69 m_fontMetrics.setAscent(ascent); 69 70 m_fontMetrics.setDescent(descent); 71 m_fontMetrics.setCapHeight(capHeight); 70 72 71 73 #if PLATFORM(EFL)
Note: See TracChangeset
for help on using the changeset viewer.