summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/cairo/FontPlatformDataFreeType.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/cairo/FontPlatformDataFreeType.h')
-rw-r--r--WebCore/platform/graphics/cairo/FontPlatformDataFreeType.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/cairo/FontPlatformDataFreeType.h b/WebCore/platform/graphics/cairo/FontPlatformDataFreeType.h
index f3488ef..7d3ff99 100644
--- a/WebCore/platform/graphics/cairo/FontPlatformDataFreeType.h
+++ b/WebCore/platform/graphics/cairo/FontPlatformDataFreeType.h
@@ -57,6 +57,7 @@ public:
FontPlatformData(cairo_font_face_t* fontFace, float size, bool bold, bool italic);
FontPlatformData(float size, bool bold, bool italic);
FontPlatformData(const FontPlatformData&);
+ FontPlatformData(const FontPlatformData&, float size);
~FontPlatformData();
@@ -89,7 +90,11 @@ public:
float m_size;
bool m_syntheticBold;
bool m_syntheticOblique;
+ bool m_fixedWidth;
PlatformRefPtr<cairo_scaled_font_t> m_scaledFont;
+
+private:
+ void initializeWithFontFace(cairo_font_face_t*);
};
}