| 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 XFA_FGAS_FONT_FGAS_STDFONTMGR_H_ | 7 #ifndef XFA_FGAS_FONT_FGAS_STDFONTMGR_H_ |
| 8 #define XFA_FGAS_FONT_FGAS_STDFONTMGR_H_ | 8 #define XFA_FGAS_FONT_FGAS_STDFONTMGR_H_ |
| 9 | 9 |
| 10 #include "core/fxcrt/include/fx_ext.h" | 10 #include "core/fxcrt/include/fx_ext.h" |
| 11 #include "core/include/fxge/fx_freetype.h" | 11 #include "core/fxge/include/fx_freetype.h" |
| 12 #include "core/include/fxge/fx_ge.h" | 12 #include "core/fxge/include/fx_ge.h" |
| 13 #include "third_party/freetype/include/freetype/fttypes.h" | 13 #include "third_party/freetype/include/freetype/fttypes.h" |
| 14 #include "xfa/fgas/font/fgas_font.h" | 14 #include "xfa/fgas/font/fgas_font.h" |
| 15 | 15 |
| 16 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ | 16 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ |
| 17 int32_t FX_GetSimilarValue(FX_LPCFONTDESCRIPTOR pFont, uint32_t dwFontStyles); | 17 int32_t FX_GetSimilarValue(FX_LPCFONTDESCRIPTOR pFont, uint32_t dwFontStyles); |
| 18 FX_LPCFONTDESCRIPTOR FX_DefFontMatcher(FX_LPFONTMATCHPARAMS pParams, | 18 FX_LPCFONTDESCRIPTOR FX_DefFontMatcher(FX_LPFONTMATCHPARAMS pParams, |
| 19 const CFX_FontDescriptors& fonts, | 19 const CFX_FontDescriptors& fonts, |
| 20 void* pUserData); | 20 void* pUserData); |
| 21 | 21 |
| 22 class CFX_StdFontMgrImp : public IFX_FontMgr { | 22 class CFX_StdFontMgrImp : public IFX_FontMgr { |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 CFX_HashFontMap m_FileAccess2IFXFont; | 243 CFX_HashFontMap m_FileAccess2IFXFont; |
| 244 CFX_FonStreamtMap m_IFXFont2FileRead; | 244 CFX_FonStreamtMap m_IFXFont2FileRead; |
| 245 CFX_UnicodeFontMap m_FailedUnicodes2NULL; | 245 CFX_UnicodeFontMap m_FailedUnicodes2NULL; |
| 246 IFX_FontSourceEnum* m_pFontSource; | 246 IFX_FontSourceEnum* m_pFontSource; |
| 247 IFX_FontMgrDelegate* m_pDelegate; | 247 IFX_FontMgrDelegate* m_pDelegate; |
| 248 void* m_pUserData; | 248 void* m_pUserData; |
| 249 }; | 249 }; |
| 250 #endif | 250 #endif |
| 251 | 251 |
| 252 #endif // XFA_FGAS_FONT_FGAS_STDFONTMGR_H_ | 252 #endif // XFA_FGAS_FONT_FGAS_STDFONTMGR_H_ |
| OLD | NEW |