Show
Ignore:
Timestamp:
12/19/07 11:24:10 (12 months ago)
Author:
hyatt@apple.com
Message:

Add support for GDI text on Windows.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/platform/graphics/win/FontPlatformData.h

    r28641 r28867  
    4646    , m_syntheticBold(false) 
    4747    , m_syntheticOblique(false) 
     48    , m_useGDI(false) 
    4849    {} 
    4950 
     
    5455    , m_syntheticBold(false) 
    5556    , m_syntheticOblique(false) 
     57    , m_useGDI(false) 
    5658    {} 
    5759 
    58     FontPlatformData(HFONT, float size, bool bold, bool oblique); 
     60    FontPlatformData(HFONT, float size, bool bold, bool oblique, bool useGDI); 
    5961    FontPlatformData(CGFontRef, float size, bool bold, bool oblique); 
    6062    ~FontPlatformData(); 
     
    6769    bool syntheticBold() const { return m_syntheticBold; } 
    6870    bool syntheticOblique() const { return m_syntheticOblique; } 
     71    bool useGDI() const { return m_useGDI; } 
    6972 
    7073    unsigned hash() const 
     
    7679    {  
    7780        return m_font == other.m_font && m_cgFont ==other.m_cgFont && m_size == other.m_size && 
    78                m_syntheticBold == other.m_syntheticBold && m_syntheticOblique == other.m_syntheticOblique; 
     81               m_syntheticBold == other.m_syntheticBold && m_syntheticOblique == other.m_syntheticOblique && 
     82               m_useGDI == other.m_useGDI; 
    7983    } 
    8084 
     
    8690    bool m_syntheticBold; 
    8791    bool m_syntheticOblique; 
     92    bool m_useGDI; 
    8893}; 
    8994