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/include/fx_system.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 const FX_CHAR* face, | 33 const FX_CHAR* face, |
34 int& bExact) override; | 34 int& bExact) override; |
35 void* GetFont(const FX_CHAR* face) override; | 35 void* GetFont(const FX_CHAR* face) override; |
36 uint32_t GetFontData(void* hFont, | 36 uint32_t GetFontData(void* hFont, |
37 uint32_t table, | 37 uint32_t table, |
38 uint8_t* buffer, | 38 uint8_t* buffer, |
39 uint32_t size) override; | 39 uint32_t size) override; |
40 FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name) override; | 40 FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name) override; |
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 void* RetainFont(void* hFont) override; | |
44 | 43 |
45 protected: | 44 protected: |
46 CFPF_SkiaFontMgr* m_pFontMgr; | 45 CFPF_SkiaFontMgr* m_pFontMgr; |
47 }; | 46 }; |
48 | 47 |
49 #endif // _FX_OS_ == _FX_ANDROID_ | 48 #endif // _FX_OS_ == _FX_ANDROID_ |
50 | 49 |
51 #endif // CORE_FXGE_ANDROID_FX_ANDROID_FONT_H_ | 50 #endif // CORE_FXGE_ANDROID_FX_ANDROID_FONT_H_ |
OLD | NEW |