| 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/include/fxge/fx_font.h" | 10 #include "core/fxge/include/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 IFX_Font; | 18 class IFX_Font; |
| 19 class IFX_FontMgr; | 19 class IFX_FontMgr; |
| 20 | 20 |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 int32_t iFaceIndex, | 276 int32_t iFaceIndex, |
| 277 int32_t* pFaceCount = NULL, | 277 int32_t* pFaceCount = NULL, |
| 278 FX_BOOL bSaveStream = FALSE) = 0; | 278 FX_BOOL bSaveStream = FALSE) = 0; |
| 279 | 279 |
| 280 virtual void ClearFontCache() = 0; | 280 virtual void ClearFontCache() = 0; |
| 281 virtual void RemoveFont(IFX_Font* pFont) = 0; | 281 virtual void RemoveFont(IFX_Font* pFont) = 0; |
| 282 }; | 282 }; |
| 283 #endif | 283 #endif |
| 284 | 284 |
| 285 #endif // XFA_FGAS_FONT_FGAS_FONT_H_ | 285 #endif // XFA_FGAS_FONT_FGAS_FONT_H_ |
| OLD | NEW |