| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #ifndef CORE_INCLUDE_FXGE_FX_FONT_H_ | 7 #ifndef CORE_INCLUDE_FXGE_FX_FONT_H_ |
| 8 #define CORE_INCLUDE_FXGE_FX_FONT_H_ | 8 #define CORE_INCLUDE_FXGE_FX_FONT_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 CFX_ByteString MatchInstalledFonts(const CFX_ByteString& norm_name); | 339 CFX_ByteString MatchInstalledFonts(const CFX_ByteString& norm_name); |
| 340 FXFT_Face UseInternalSubst(CFX_SubstFont* pSubstFont, | 340 FXFT_Face UseInternalSubst(CFX_SubstFont* pSubstFont, |
| 341 int iBaseFont, | 341 int iBaseFont, |
| 342 int italic_angle, | 342 int italic_angle, |
| 343 int weight, | 343 int weight, |
| 344 int picthfamily); | 344 int picthfamily); |
| 345 | 345 |
| 346 FX_BOOL m_bListLoaded; | 346 FX_BOOL m_bListLoaded; |
| 347 FXFT_Face m_MMFaces[MM_FACE_COUNT]; | 347 FXFT_Face m_MMFaces[MM_FACE_COUNT]; |
| 348 CFX_ByteString m_LastFamily; | 348 CFX_ByteString m_LastFamily; |
| 349 CFX_DWordArray m_CharsetArray; | 349 CFX_ArrayTemplate<FX_DWORD> m_CharsetArray; |
| 350 std::vector<CFX_ByteString> m_FaceArray; | 350 std::vector<CFX_ByteString> m_FaceArray; |
| 351 IFX_SystemFontInfo* m_pFontInfo; | 351 IFX_SystemFontInfo* m_pFontInfo; |
| 352 FXFT_Face m_FoxitFaces[FOXIT_FACE_COUNT]; | 352 FXFT_Face m_FoxitFaces[FOXIT_FACE_COUNT]; |
| 353 IFX_FontEnumerator* m_pFontEnumerator; | 353 IFX_FontEnumerator* m_pFontEnumerator; |
| 354 CFX_FontMgr* const m_pFontMgr; | 354 CFX_FontMgr* const m_pFontMgr; |
| 355 }; | 355 }; |
| 356 | 356 |
| 357 class IFX_SystemFontInfo { | 357 class IFX_SystemFontInfo { |
| 358 public: | 358 public: |
| 359 static IFX_SystemFontInfo* CreateDefault(const char** pUserPaths); | 359 static IFX_SystemFontInfo* CreateDefault(const char** pUserPaths); |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 virtual ~IFX_GSUBTable() {} | 541 virtual ~IFX_GSUBTable() {} |
| 542 }; | 542 }; |
| 543 | 543 |
| 544 CFX_ByteString GetNameFromTT(const uint8_t* name_table, | 544 CFX_ByteString GetNameFromTT(const uint8_t* name_table, |
| 545 FX_DWORD name_table_size, | 545 FX_DWORD name_table_size, |
| 546 FX_DWORD name); | 546 FX_DWORD name); |
| 547 | 547 |
| 548 int PDF_GetStandardFontName(CFX_ByteString* name); | 548 int PDF_GetStandardFontName(CFX_ByteString* name); |
| 549 | 549 |
| 550 #endif // CORE_INCLUDE_FXGE_FX_FONT_H_ | 550 #endif // CORE_INCLUDE_FXGE_FX_FONT_H_ |
| OLD | NEW |