Changeset 58474 in webkit
- Timestamp:
- Apr 28, 2010 9:23:52 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r58470 r58474 1 2010-04-28 Dan Bernstein <mitz@apple.com> 2 3 Rubber-stamped by Maciej Stachowiak. 4 5 Try to fix test failures seen on the Leopard build bot after r58467 6 7 * platform/graphics/SimpleFontData.cpp: 8 (WebCore::SimpleFontData::platformGlyphInit): Initialize m_zeroWidthSpaceGlyph before 9 calling widthForGlyph(), as the latter uses the former. 10 1 11 2010-04-28 Martin Robinson <mrobinson@webkit.org> 2 12 -
trunk/WebCore/platform/graphics/SimpleFontData.cpp
r58467 r58474 144 144 } 145 145 146 m_zeroWidthSpaceGlyph = glyphPageZero->glyphDataForCharacter(0).glyph; 147 146 148 // Nasty hack to determine if we should round or ceil space widths. 147 149 // If the font is monospace or fake monospace we ceil to ensure that … … 158 160 // Ask for the glyph for 0 to avoid paging in ZERO WIDTH SPACE. Control characters, including 0, 159 161 // are mapped to the ZERO WIDTH SPACE glyph. 160 m_zeroWidthSpaceGlyph = glyphPageZero->glyphDataForCharacter(0).glyph;161 162 if (m_zeroWidthSpaceGlyph == m_spaceGlyph) { 162 163 m_zeroWidthSpaceGlyph = 0;
Note: See TracChangeset
for help on using the changeset viewer.