-FontPlatformData::FontPlatformData()
- : m_textSize(0)
- , m_syntheticBold(false)
- , m_syntheticItalic(false)
- , m_orientation(Horizontal)
- , m_typeface(adoptRef(SkTypeface::RefDefault()))
- , m_paintTextFlags(0)
- , m_isHashTableDeletedValue(false)
- , m_useSubpixelPositioning(false)
-{
-}
-
-// FIXME: this constructor is needed for SVG fonts but doesn't seem to do much
-FontPlatformData::FontPlatformData(float size, bool bold, bool oblique)
- : m_textSize(size)
- , m_syntheticBold(false)
- , m_syntheticItalic(false)
- , m_orientation(Horizontal)
- , m_typeface(adoptRef(SkTypeface::RefDefault()))
- , m_paintTextFlags(0)
- , m_isHashTableDeletedValue(false)
- , m_useSubpixelPositioning(false)
-{
-}
-
-FontPlatformData::FontPlatformData(const FontPlatformData& data)
- : m_textSize(data.m_textSize)
- , m_syntheticBold(data.m_syntheticBold)
- , m_syntheticItalic(data.m_syntheticItalic)
- , m_orientation(data.m_orientation)
- , m_typeface(data.m_typeface)
- , m_paintTextFlags(data.m_paintTextFlags)
- , m_isHashTableDeletedValue(false)
- , m_useSubpixelPositioning(data.m_useSubpixelPositioning)
-{