Changeset 91229 in webkit
- Timestamp:
- Jul 18, 2011 6:21:02 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r91228 r91229 1 2011-07-18 Dan Bernstein <mitz@apple.com> 2 3 REGRESSION(91209?): fast/css/custom-font-xheight.html is failing on Leopard 4 https://bugs.webkit.org/show_bug.cgi?id=64767 5 6 Reviewed by Sam Weinig. 7 8 * platform/graphics/Font.h: 9 * platform/graphics/cocoa/FontPlatformDataCocoa.mm: 10 (WebCore::FontPlatformData::ctFont): Undo the cascade list optimization on Leopard for custom 11 fonts, because adding a cascade list apparently breaks the font. 12 1 13 2011-07-18 Matthew Delaney <mdelaney@apple.com> 2 14 -
trunk/Source/WebCore/platform/graphics/cocoa/FontPlatformDataCocoa.mm
r91209 r91229 201 201 if (m_CTFont) 202 202 m_CTFont.adoptCF(CTFontCreateCopyWithAttributes(m_CTFont.get(), m_size, 0, cascadeToLastResortFontDescriptor())); 203 else 203 else { 204 #if !defined(BUILDING_ON_LEOPARD) 204 205 m_CTFont.adoptCF(CTFontCreateWithGraphicsFont(m_cgFont.get(), m_size, 0, cascadeToLastResortFontDescriptor())); 206 #else 207 m_CTFont.adoptCF(CTFontCreateWithGraphicsFont(m_cgFont.get(), m_size, 0, 0); 208 #endif 209 } 205 210 206 211 if (m_widthVariant != RegularWidth) {
Note: See TracChangeset
for help on using the changeset viewer.