- Timestamp:
- 12/19/07 11:24:10 (12 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/platform/graphics/win/FontPlatformDataWin.cpp
r28641 r28867 129 129 } 130 130 131 FontPlatformData::FontPlatformData(HFONT font, float size, bool bold, bool oblique )131 FontPlatformData::FontPlatformData(HFONT font, float size, bool bold, bool oblique, bool useGDI) 132 132 : m_font(font) 133 133 , m_size(size) … … 135 135 , m_syntheticBold(false) 136 136 , m_syntheticOblique(false) 137 , m_useGDI(useGDI) 137 138 { 138 139 HDC hdc = GetDC(0); … … 179 180 } 180 181 182 // For GDI text, synthetic bold and oblique never need to be set. 183 m_syntheticBold = m_syntheticOblique = false; 184 181 185 // Try the face name first. Windows may end up localizing this name, and CG doesn't know about 182 186 // the localization. If the create fails, we'll try the PostScript name. … … 203 207 , m_syntheticBold(bold) 204 208 , m_syntheticOblique(oblique) 209 , m_useGDI(false) 205 210 { 206 211 }