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_INCLUDE_FXGE_FPF_H_ | 7 #ifndef CORE_INCLUDE_FXGE_FPF_H_ |
8 #define CORE_INCLUDE_FXGE_FPF_H_ | 8 #define CORE_INCLUDE_FXGE_FPF_H_ |
9 | 9 |
10 #include "../fxcrt/fx_coordinates.h" | 10 #include "core/include/fxcrt/fx_coordinates.h" |
11 | 11 |
12 class IFPF_FontMgr; | 12 class IFPF_FontMgr; |
13 | 13 |
14 class IFPF_DeviceModule { | 14 class IFPF_DeviceModule { |
15 public: | 15 public: |
16 virtual ~IFPF_DeviceModule() {} | 16 virtual ~IFPF_DeviceModule() {} |
17 virtual void Destroy() = 0; | 17 virtual void Destroy() = 0; |
18 virtual IFPF_FontMgr* GetFontMgr() = 0; | 18 virtual IFPF_FontMgr* GetFontMgr() = 0; |
19 }; | 19 }; |
20 | 20 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 virtual void LoadPrivateFont(const CFX_ByteStringC& bsFileName) = 0; | 61 virtual void LoadPrivateFont(const CFX_ByteStringC& bsFileName) = 0; |
62 virtual void LoadPrivateFont(void* pBuffer, size_t szBuffer) = 0; | 62 virtual void LoadPrivateFont(void* pBuffer, size_t szBuffer) = 0; |
63 | 63 |
64 virtual IFPF_Font* CreateFont(const CFX_ByteStringC& bsFamilyname, | 64 virtual IFPF_Font* CreateFont(const CFX_ByteStringC& bsFamilyname, |
65 uint8_t charset, | 65 uint8_t charset, |
66 FX_DWORD dwStyle, | 66 FX_DWORD dwStyle, |
67 FX_DWORD dwMatch = 0) = 0; | 67 FX_DWORD dwMatch = 0) = 0; |
68 }; | 68 }; |
69 | 69 |
70 #endif // CORE_INCLUDE_FXGE_FPF_H_ | 70 #endif // CORE_INCLUDE_FXGE_FPF_H_ |
OLD | NEW |