summaryrefslogtreecommitdiff
path: root/core/fpdfapi/font/cpdf_type1font.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/font/cpdf_type1font.h')
-rw-r--r--core/fpdfapi/font/cpdf_type1font.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/font/cpdf_type1font.h b/core/fpdfapi/font/cpdf_type1font.h
index eaabaaeb88..cbcb9af3b1 100644
--- a/core/fpdfapi/font/cpdf_type1font.h
+++ b/core/fpdfapi/font/cpdf_type1font.h
@@ -23,7 +23,7 @@ class CPDF_Type1Font : public CPDF_SimpleFont {
int GlyphFromCharCodeExt(uint32_t charcode) override;
#endif
- int GetBase14Font() const { return m_Base14Font; }
+ bool IsBase14Font() const { return m_Base14Font >= 0; }
private:
// CPDF_Font: