diff options
Diffstat (limited to 'core/fpdfapi/font')
-rw-r--r-- | core/fpdfapi/font/cpdf_font.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/font/cpdf_font.h b/core/fpdfapi/font/cpdf_font.h index f246293c3e..c3194110cb 100644 --- a/core/fpdfapi/font/cpdf_font.h +++ b/core/fpdfapi/font/cpdf_font.h @@ -69,7 +69,7 @@ class CPDF_Font { CPDF_Dictionary* GetFontDict() const { return m_pFontDict.Get(); } void ClearFontDict() { m_pFontDict = nullptr; } bool IsStandardFont() const; - FXFT_Face GetFace() const { return m_Font.GetFace(); } + bool HasFace() const { return !!m_Font.GetFace(); } void AppendChar(ByteString* str, uint32_t charcode) const; const FX_RECT& GetFontBBox() const { return m_FontBBox; } |