summaryrefslogtreecommitdiff
path: root/core/fpdfapi/font/cpdf_type3font.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/font/cpdf_type3font.h')
-rw-r--r--core/fpdfapi/font/cpdf_type3font.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/font/cpdf_type3font.h b/core/fpdfapi/font/cpdf_type3font.h
index 913e0048a3..3f2e018c88 100644
--- a/core/fpdfapi/font/cpdf_type3font.h
+++ b/core/fpdfapi/font/cpdf_type3font.h
@@ -45,7 +45,7 @@ class CPDF_Type3Font : public CPDF_SimpleFont {
bool Load() override;
// CPDF_SimpleFont:
- void LoadGlyphMap() override {}
+ void LoadGlyphMap() override;
int m_CharWidthL[256];
UnownedPtr<CPDF_Dictionary> m_pCharProcs;
@@ -53,7 +53,7 @@ class CPDF_Type3Font : public CPDF_SimpleFont {
UnownedPtr<CPDF_Dictionary> m_pFontResources;
std::map<uint32_t, std::unique_ptr<CPDF_Type3Char>> m_CacheMap;
// The depth char loading is in, to avoid recurive calling LoadChar().
- int m_CharLoadingDepth;
+ int m_CharLoadingDepth = 0;
};
#endif // CORE_FPDFAPI_FONT_CPDF_TYPE3FONT_H_