| Index: Source/platform/fonts/Font.cpp
|
| diff --git a/Source/platform/fonts/Font.cpp b/Source/platform/fonts/Font.cpp
|
| index 4174de04c6b2304a0cc8ce0ef9d25640e21a5440..88c4f71a6def11586e82b315304c61657a0e71b9 100644
|
| --- a/Source/platform/fonts/Font.cpp
|
| +++ b/Source/platform/fonts/Font.cpp
|
| @@ -500,7 +500,7 @@ std::pair<GlyphData, GlyphPage*> Font::glyphDataAndPageForCharacter(UChar32 c, b
|
| if (characterFontData) {
|
| // Got the fallback glyph and font.
|
| GlyphPage* fallbackPage = GlyphPageTreeNode::getRootChild(characterFontData.get(), pageNumber)->page();
|
| - GlyphData data = fallbackPage && fallbackPage->fontDataForCharacter(c) ? fallbackPage->glyphDataForCharacter(c) : characterFontData->missingGlyphData();
|
| + GlyphData data = fallbackPage && fallbackPage->glyphForCharacter(c) ? fallbackPage->glyphDataForCharacter(c) : characterFontData->missingGlyphData();
|
| // Cache it so we don't have to do system fallback again next time.
|
| if (variant == NormalVariant) {
|
| page->setGlyphDataForCharacter(c, data.glyph, data.fontData);
|
| @@ -528,7 +528,7 @@ bool Font::primaryFontHasGlyphForCharacter(UChar32 character) const
|
| GlyphPageTreeNode* node = GlyphPageTreeNode::getRootChild(primaryFont(), pageNumber);
|
| GlyphPage* page = node->page();
|
|
|
| - return page && page->fontDataForCharacter(character);
|
| + return page && page->glyphForCharacter(character);
|
| }
|
|
|
| // FIXME: This function may not work if the emphasis mark uses a complex script, but none of the
|
|
|