Index: core/fpdfapi/fpdf_font/cpdf_truetypefont.cpp |
diff --git a/core/fpdfapi/fpdf_font/cpdf_truetypefont.cpp b/core/fpdfapi/fpdf_font/cpdf_truetypefont.cpp |
index 25baf45d02ac66e2b8041c78f091f1eed9fe33cc..d54553ab10f841fc77e92e32e54e0239f5eed5a2 100644 |
--- a/core/fpdfapi/fpdf_font/cpdf_truetypefont.cpp |
+++ b/core/fpdfapi/fpdf_font/cpdf_truetypefont.cpp |
@@ -68,7 +68,7 @@ void CPDF_TrueTypeFont::LoadGlyphMap() { |
(m_Flags & PDFFONT_NONSYMBOLIC)) { |
if (!FXFT_Has_Glyph_Names(m_Font.GetFace()) && |
(!m_Font.GetFace()->num_charmaps || !m_Font.GetFace()->charmaps)) { |
- int nStartChar = m_pFontDict->GetIntegerBy("FirstChar"); |
+ int nStartChar = m_pFontDict->GetIntegerFor("FirstChar"); |
if (nStartChar < 0 || nStartChar > 255) |
return; |