Index: Source/platform/fonts/Font.h |
diff --git a/Source/platform/fonts/Font.h b/Source/platform/fonts/Font.h |
index 212811d27faf0979840c5bd447e60cda27a58f19..f28d866e9c7a95da19d0a83969a49a51eea3df20 100644 |
--- a/Source/platform/fonts/Font.h |
+++ b/Source/platform/fonts/Font.h |
@@ -123,14 +123,14 @@ public: |
const SimpleFontData* primaryFont() const; |
const FontData* fontDataAt(unsigned) const; |
- inline GlyphData glyphDataForCharacter(UChar32 c, bool mirror, FontDataVariant variant = AutoVariant) const |
+ inline GlyphData glyphDataForCharacter(UChar32& c, bool mirror, bool spaceNormalize = false, FontDataVariant variant = AutoVariant) const |
{ |
- return glyphDataAndPageForCharacter(c, mirror, variant).first; |
+ return glyphDataAndPageForCharacter(c, mirror, spaceNormalize, variant).first; |
} |
#if OS(MACOSX) |
const SimpleFontData* fontDataForCombiningCharacterSequence(const UChar*, size_t length, FontDataVariant) const; |
#endif |
- std::pair<GlyphData, GlyphPage*> glyphDataAndPageForCharacter(UChar32, bool mirror, FontDataVariant = AutoVariant) const; |
+ std::pair<GlyphData, GlyphPage*> glyphDataAndPageForCharacter(UChar32&, bool mirror, bool spaceNormalize = false, FontDataVariant = AutoVariant) const; |
bool primaryFontHasGlyphForCharacter(UChar32) const; |
CodePath codePath(const TextRun&) const; |