- Timestamp:
- 10/03/07 14:04:03 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-branch/WebCore/platform/win/FontPlatformData.h
r25754 r26027 44 44 , m_cgFont(NULL) 45 45 , m_size(0) 46 , m_syntheticBold(false) 47 , m_syntheticOblique(false) 46 48 {} 47 49 … … 50 52 , m_cgFont(NULL) 51 53 , m_size(0) 54 , m_syntheticBold(false) 55 , m_syntheticOblique(false) 52 56 {} 53 57 54 58 FontPlatformData(HFONT, int size, bool bold, bool oblique); 59 FontPlatformData(CGFontRef, int size, bool bold, bool oblique); 55 60 ~FontPlatformData(); 56 61 … … 63 68 64 69 unsigned hash() const 65 { 70 { 66 71 return StringImpl::computeHash((UChar*)(&m_font), sizeof(HFONT) / sizeof(UChar)); 67 72 } … … 69 74 bool operator==(const FontPlatformData& other) const 70 75 { 71 return m_font == other.m_font 72 && m_cgFont ==other.m_cgFont 73 && m_size == other.m_size; 76 return m_font == other.m_font && m_cgFont ==other.m_cgFont && m_size == other.m_size && 77 m_syntheticBold == other.m_syntheticBold && m_syntheticOblique == other.m_syntheticOblique; 74 78 } 75 79