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_FONT_H_ | 7 #ifndef XFA_FGAS_FONT_FGAS_FONT_H_ |
8 #define XFA_FGAS_FONT_FGAS_FONT_H_ | 8 #define XFA_FGAS_FONT_FGAS_FONT_H_ |
9 | 9 |
10 #include "core/fxge/include/fx_font.h" | 10 #include "core/fxge/fx_font.h" |
11 #include "xfa/fgas/crt/fgas_stream.h" | 11 #include "xfa/fgas/crt/fgas_stream.h" |
12 | 12 |
13 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ | 13 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ |
14 #include "xfa/fgas/crt/fgas_memory.h" | 14 #include "xfa/fgas/crt/fgas_memory.h" |
15 #include "xfa/fgas/crt/fgas_utils.h" | 15 #include "xfa/fgas/crt/fgas_utils.h" |
16 #endif // _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ | 16 #endif // _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ |
17 | 17 |
18 class CFX_FontSourceEnum_File; | 18 class CFX_FontSourceEnum_File; |
19 class CFGAS_GEFont; | 19 class CFGAS_GEFont; |
20 class CXFA_PDFFontMgr; | 20 class CXFA_PDFFontMgr; |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 const FX_WCHAR* pszFontFamily) = 0; | 156 const FX_WCHAR* pszFontFamily) = 0; |
157 virtual CFGAS_GEFont* GetFontByLanguage(uint16_t wLanguage, | 157 virtual CFGAS_GEFont* GetFontByLanguage(uint16_t wLanguage, |
158 uint32_t dwFontStyles, | 158 uint32_t dwFontStyles, |
159 const FX_WCHAR* pszFontFamily) = 0; | 159 const FX_WCHAR* pszFontFamily) = 0; |
160 virtual void ClearFontCache() = 0; | 160 virtual void ClearFontCache() = 0; |
161 virtual void RemoveFont(CFGAS_GEFont* pFont) = 0; | 161 virtual void RemoveFont(CFGAS_GEFont* pFont) = 0; |
162 }; | 162 }; |
163 #endif // _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ | 163 #endif // _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ |
164 | 164 |
165 #endif // XFA_FGAS_FONT_FGAS_FONT_H_ | 165 #endif // XFA_FGAS_FONT_FGAS_FONT_H_ |
OLD | NEW |