summaryrefslogtreecommitdiff
path: root/core/include
diff options
context:
space:
mode:
Diffstat (limited to 'core/include')
-rw-r--r--core/include/fxge/fx_font.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/include/fxge/fx_font.h b/core/include/fxge/fx_font.h
index 954824e728..f2db4a1dc0 100644
--- a/core/include/fxge/fx_font.h
+++ b/core/include/fxge/fx_font.h
@@ -325,6 +325,8 @@ class CFX_FontMapper {
int italic_angle);
#endif // PDF_ENABLE_XFA
FX_BOOL IsBuiltinFace(const FXFT_Face face) const;
+ int GetFaceSize() const { return m_FaceArray.GetSize(); }
+ CFX_ByteString GetFaceName(int index) const { return m_FaceArray[index]; }
private:
static const size_t MM_FACE_COUNT = 2;