| 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_STDFONTMGR_H_ | 7 #ifndef XFA_FGAS_FONT_FGAS_STDFONTMGR_H_ |
| 8 #define XFA_FGAS_FONT_FGAS_STDFONTMGR_H_ | 8 #define XFA_FGAS_FONT_FGAS_STDFONTMGR_H_ |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 }; | 115 }; |
| 116 | 116 |
| 117 typedef CFX_ArrayTemplate<FX_FontDescriptorInfo> CFX_FontDescriptorInfos; | 117 typedef CFX_ArrayTemplate<FX_FontDescriptorInfo> CFX_FontDescriptorInfos; |
| 118 | 118 |
| 119 struct FX_HandleParentPath { | 119 struct FX_HandleParentPath { |
| 120 FX_HandleParentPath() {} | 120 FX_HandleParentPath() {} |
| 121 FX_HandleParentPath(const FX_HandleParentPath& x) { | 121 FX_HandleParentPath(const FX_HandleParentPath& x) { |
| 122 pFileHandle = x.pFileHandle; | 122 pFileHandle = x.pFileHandle; |
| 123 bsParentPath = x.bsParentPath; | 123 bsParentPath = x.bsParentPath; |
| 124 } | 124 } |
| 125 void* pFileHandle; | 125 FX_FileHandle* pFileHandle; |
| 126 CFX_ByteString bsParentPath; | 126 CFX_ByteString bsParentPath; |
| 127 }; | 127 }; |
| 128 | 128 |
| 129 class CFX_FontSourceEnum_File { | 129 class CFX_FontSourceEnum_File { |
| 130 public: | 130 public: |
| 131 CFX_FontSourceEnum_File(); | 131 CFX_FontSourceEnum_File(); |
| 132 ~CFX_FontSourceEnum_File(); | 132 ~CFX_FontSourceEnum_File(); |
| 133 | 133 |
| 134 FX_POSITION GetStartPosition(); | 134 FX_POSITION GetStartPosition(); |
| 135 IFX_FileAccess* GetNext(FX_POSITION& pos); | 135 IFX_FileAccess* GetNext(FX_POSITION& pos); |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 CFX_FontDescriptors m_InstalledFonts; | 213 CFX_FontDescriptors m_InstalledFonts; |
| 214 CFX_MapPtrTemplate<uint32_t, CFX_FontDescriptorInfos*> m_Hash2CandidateList; | 214 CFX_MapPtrTemplate<uint32_t, CFX_FontDescriptorInfos*> m_Hash2CandidateList; |
| 215 CFX_MapPtrTemplate<uint32_t, CFX_ArrayTemplate<CFGAS_GEFont*>*> m_Hash2Fonts; | 215 CFX_MapPtrTemplate<uint32_t, CFX_ArrayTemplate<CFGAS_GEFont*>*> m_Hash2Fonts; |
| 216 CFX_MapPtrTemplate<CFGAS_GEFont*, IFX_FileRead*> m_IFXFont2FileRead; | 216 CFX_MapPtrTemplate<CFGAS_GEFont*, IFX_FileRead*> m_IFXFont2FileRead; |
| 217 CFX_MapPtrTemplate<FX_WCHAR, CFGAS_GEFont*> m_FailedUnicodes2Nullptr; | 217 CFX_MapPtrTemplate<FX_WCHAR, CFGAS_GEFont*> m_FailedUnicodes2Nullptr; |
| 218 CFX_FontSourceEnum_File* const m_pFontSource; | 218 CFX_FontSourceEnum_File* const m_pFontSource; |
| 219 }; | 219 }; |
| 220 #endif | 220 #endif |
| 221 | 221 |
| 222 #endif // XFA_FGAS_FONT_FGAS_STDFONTMGR_H_ | 222 #endif // XFA_FGAS_FONT_FGAS_STDFONTMGR_H_ |
| OLD | NEW |