summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/Font.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/Font.h')
-rw-r--r--Source/WebCore/platform/graphics/Font.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/Source/WebCore/platform/graphics/Font.h b/Source/WebCore/platform/graphics/Font.h
index ce03aed..554f8a0 100644
--- a/Source/WebCore/platform/graphics/Font.h
+++ b/Source/WebCore/platform/graphics/Font.h
@@ -61,6 +61,7 @@ struct GlyphOverflow {
, right(0)
, top(0)
, bottom(0)
+ , computeBounds(false)
{
}
@@ -68,8 +69,10 @@ struct GlyphOverflow {
int right;
int top;
int bottom;
+ bool computeBounds;
};
+
class Font {
public:
Font();
@@ -138,8 +141,6 @@ public:
const FontData* fontDataAt(unsigned) const;
GlyphData glyphDataForCharacter(UChar32, bool mirror, FontDataVariant = AutoVariant) const;
bool primaryFontHasGlyphForCharacter(UChar32) const;
- // Used for complex text, and does not utilize the glyph map cache.
- const FontData* fontDataForCharacters(const UChar*, int length) const;
static bool isCJKIdeograph(UChar32);
static bool isCJKIdeographOrSymbol(UChar32);
@@ -255,12 +256,6 @@ inline const FontData* Font::fontDataAt(unsigned index) const
return m_fontList->fontDataAt(this, index);
}
-inline const FontData* Font::fontDataForCharacters(const UChar* characters, int length) const
-{
- ASSERT(m_fontList);
- return m_fontList->fontDataForCharacters(this, characters, length);
-}
-
inline bool Font::isFixedPitch() const
{
ASSERT(m_fontList);