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_FXGE_ANDROID_FX_ANDROID_FONT_H_ | 7 #ifndef CORE_FXGE_ANDROID_FX_ANDROID_FONT_H_ |
8 #define CORE_FXGE_ANDROID_FX_ANDROID_FONT_H_ | 8 #define CORE_FXGE_ANDROID_FX_ANDROID_FONT_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_system.h" | 10 #include "core/fxcrt/fx_system.h" |
11 | 11 |
12 #if _FX_OS_ == _FX_ANDROID_ | 12 #if _FX_OS_ == _FX_ANDROID_ |
13 | 13 |
14 #include "core/fxge/include/cfx_fontmapper.h" | 14 #include "core/fxge/include/cfx_fontmapper.h" |
15 #include "core/fxge/include/fx_font.h" | 15 #include "core/fxge/include/fx_font.h" |
16 #include "core/fxge/include/ifx_systemfontinfo.h" | 16 #include "core/fxge/include/ifx_systemfontinfo.h" |
17 | 17 |
18 class CFPF_SkiaFontMgr; | 18 class CFPF_SkiaFontMgr; |
19 | 19 |
20 class CFX_AndroidFontInfo : public IFX_SystemFontInfo { | 20 class CFX_AndroidFontInfo : public IFX_SystemFontInfo { |
(...skipping 20 matching lines...) Expand all Loading... |
41 FX_BOOL GetFontCharset(void* hFont, int& charset) override; | 41 FX_BOOL GetFontCharset(void* hFont, int& charset) override; |
42 void DeleteFont(void* hFont) override; | 42 void DeleteFont(void* hFont) override; |
43 | 43 |
44 protected: | 44 protected: |
45 CFPF_SkiaFontMgr* m_pFontMgr; | 45 CFPF_SkiaFontMgr* m_pFontMgr; |
46 }; | 46 }; |
47 | 47 |
48 #endif // _FX_OS_ == _FX_ANDROID_ | 48 #endif // _FX_OS_ == _FX_ANDROID_ |
49 | 49 |
50 #endif // CORE_FXGE_ANDROID_FX_ANDROID_FONT_H_ | 50 #endif // CORE_FXGE_ANDROID_FX_ANDROID_FONT_H_ |
OLD | NEW |