| 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_SRC_FXGE_ANDROID_FPF_SKIAFONTMGR_H_ | 7 #ifndef CORE_SRC_FXGE_ANDROID_FPF_SKIAFONTMGR_H_ |
| 8 #define CORE_SRC_FXGE_ANDROID_FPF_SKIAFONTMGR_H_ | 8 #define CORE_SRC_FXGE_ANDROID_FPF_SKIAFONTMGR_H_ |
| 9 | 9 |
| 10 #if _FX_OS_ == _FX_ANDROID_ | 10 #if _FX_OS_ == _FX_ANDROID_ |
| 11 | 11 |
| 12 #include "../../../include/fxge/fpf.h" | 12 #include "core/include/fxge/fpf.h" |
| 13 | 13 |
| 14 #define FPF_SKIAFONTTYPE_Unknown 0 | 14 #define FPF_SKIAFONTTYPE_Unknown 0 |
| 15 #define FPF_SKIAFONTTYPE_Path 1 | 15 #define FPF_SKIAFONTTYPE_Path 1 |
| 16 #define FPF_SKIAFONTTYPE_File 2 | 16 #define FPF_SKIAFONTTYPE_File 2 |
| 17 #define FPF_SKIAFONTTYPE_Buffer 3 | 17 #define FPF_SKIAFONTTYPE_Buffer 3 |
| 18 | 18 |
| 19 class CFPF_SkiaFontDescriptor { | 19 class CFPF_SkiaFontDescriptor { |
| 20 public: | 20 public: |
| 21 CFPF_SkiaFontDescriptor() | 21 CFPF_SkiaFontDescriptor() |
| 22 : m_pFamily(NULL), | 22 : m_pFamily(NULL), |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 void OutputSystemFonts(); | 109 void OutputSystemFonts(); |
| 110 FX_BOOL m_bLoaded; | 110 FX_BOOL m_bLoaded; |
| 111 CFX_PtrArray m_FontFaces; | 111 CFX_PtrArray m_FontFaces; |
| 112 FXFT_Library m_FTLibrary; | 112 FXFT_Library m_FTLibrary; |
| 113 CFX_MapPtrToPtr m_FamilyFonts; | 113 CFX_MapPtrToPtr m_FamilyFonts; |
| 114 }; | 114 }; |
| 115 | 115 |
| 116 #endif | 116 #endif |
| 117 | 117 |
| 118 #endif // CORE_SRC_FXGE_ANDROID_FPF_SKIAFONTMGR_H_ | 118 #endif // CORE_SRC_FXGE_ANDROID_FPF_SKIAFONTMGR_H_ |
| OLD | NEW |