Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2112)

Unified Diff: core/include/fxge/fx_font.h

Issue 1608593003: Fix an assertion failure in CXFA_FWLTheme::Initialize() (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Rebase Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | xfa/src/fgas/src/font/fx_stdfontmgr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/include/fxge/fx_font.h
diff --git a/core/include/fxge/fx_font.h b/core/include/fxge/fx_font.h
index 954824e728338d18d7ed46f2048eab1b4f732b53..f2db4a1dc026cf551ac63aa5434bf790106cad8e 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;
« no previous file with comments | « no previous file | xfa/src/fgas/src/font/fx_stdfontmgr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698