Changeset 89933 in webkit
- Timestamp:
- Jun 28, 2011, 8:56:42 AM (14 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r89922 r89933 1 2011-06-28 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Darin Adler. 4 5 REGRESSION (r89733): fast/text/zero-font-size.html is failing on Leopard 6 https://bugs.webkit.org/show_bug.cgi?id=63512 7 8 * platform/graphics/mac/SimpleFontDataMac.mm: 9 (WebCore::SimpleFontData::platformWidthForGlyph): Initialize the advance local variable, because 10 on Leopard wkGetGlyphTransformedAdvances can return successfully yet not update the variable when 11 the font size is 0. Presumably, r89733 exposed this by changing the values put on the stack just 12 before this function is called. 13 1 14 2011-06-27 Alexander Pavlov <apavlov@chromium.org> 2 15 -
trunk/Source/WebCore/platform/graphics/mac/SimpleFontDataMac.mm
r89732 r89933 400 400 float SimpleFontData::platformWidthForGlyph(Glyph glyph) const 401 401 { 402 CGSize advance ;402 CGSize advance = CGSizeZero; 403 403 if (platformData().orientation() == Horizontal || m_isBrokenIdeographFallback) { 404 404 NSFont* font = platformData().font();
Note:
See TracChangeset
for help on using the changeset viewer.