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_GEFONT_H_ | 7 #ifndef XFA_FGAS_FONT_FGAS_GEFONT_H_ |
8 #define XFA_FGAS_FONT_FGAS_GEFONT_H_ | 8 #define XFA_FGAS_FONT_FGAS_GEFONT_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 FX_BOOL m_bUseLogFontStyle; | 91 FX_BOOL m_bUseLogFontStyle; |
92 uint32_t m_dwLogFontStyle; | 92 uint32_t m_dwLogFontStyle; |
93 #endif | 93 #endif |
94 CFX_Font* m_pFont; | 94 CFX_Font* m_pFont; |
95 IFGAS_FontMgr* m_pFontMgr; | 95 IFGAS_FontMgr* m_pFontMgr; |
96 int32_t m_iRefCount; | 96 int32_t m_iRefCount; |
97 FX_BOOL m_bExtFont; | 97 FX_BOOL m_bExtFont; |
98 IFX_Stream* m_pStream; | 98 IFX_Stream* m_pStream; |
99 IFX_FileRead* m_pFileRead; | 99 IFX_FileRead* m_pFileRead; |
100 CFX_UnicodeEncoding* m_pFontEncoding; | 100 CFX_UnicodeEncoding* m_pFontEncoding; |
101 CFX_WordDiscreteArray* m_pCharWidthMap; | 101 CFX_DiscreteArrayTemplate<uint16_t>* m_pCharWidthMap; |
102 CFX_MassArrayTemplate<CFX_Rect>* m_pRectArray; | 102 CFX_MassArrayTemplate<CFX_Rect>* m_pRectArray; |
103 CFX_MapPtrToPtr* m_pBBoxMap; | 103 CFX_MapPtrToPtr* m_pBBoxMap; |
104 CXFA_PDFFontMgr* m_pProvider; | 104 CXFA_PDFFontMgr* m_pProvider; |
105 CFX_ArrayTemplate<CFGAS_GEFont*> m_SubstFonts; | 105 CFX_ArrayTemplate<CFGAS_GEFont*> m_SubstFonts; |
106 std::map<FX_WCHAR, CFGAS_GEFont*> m_FontMapper; | 106 std::map<FX_WCHAR, CFGAS_GEFont*> m_FontMapper; |
107 }; | 107 }; |
108 | 108 |
109 #endif // XFA_FGAS_FONT_FGAS_GEFONT_H_ | 109 #endif // XFA_FGAS_FONT_FGAS_GEFONT_H_ |
OLD | NEW |