Index: Source/platform/fonts/Font.h |
diff --git a/Source/platform/fonts/Font.h b/Source/platform/fonts/Font.h |
index 7a897259c7cc04613dcd687968c3229027317797..fa832473797a6c5d15fe5a014e779ad662e5ee91 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 normalizeSpace = false, FontDataVariant = AutoVariant) const; |
bool primaryFontHasGlyphForCharacter(UChar32) const; |
CodePath codePath(const TextRun&) const; |