| 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 "xfa/fgas/crt/fgas_utils.h" | 10 #include "xfa/fgas/crt/fgas_utils.h" |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 uint32_t m_dwLogFontStyle; | 63 uint32_t m_dwLogFontStyle; |
| 64 #endif | 64 #endif |
| 65 CFX_Font* m_pFont; | 65 CFX_Font* m_pFont; |
| 66 IFX_FontMgr* m_pFontMgr; | 66 IFX_FontMgr* m_pFontMgr; |
| 67 int32_t m_iRefCount; | 67 int32_t m_iRefCount; |
| 68 FX_BOOL m_bExtFont; | 68 FX_BOOL m_bExtFont; |
| 69 IFX_Stream* m_pStream; | 69 IFX_Stream* m_pStream; |
| 70 IFX_FileRead* m_pFileRead; | 70 IFX_FileRead* m_pFileRead; |
| 71 CFX_UnicodeEncoding* m_pFontEncoding; | 71 CFX_UnicodeEncoding* m_pFontEncoding; |
| 72 CFX_WordDiscreteArray* m_pCharWidthMap; | 72 CFX_WordDiscreteArray* m_pCharWidthMap; |
| 73 CFX_RectMassArray* m_pRectArray; | 73 CFX_MassArrayTemplate<CFX_Rect>* m_pRectArray; |
| 74 CFX_MapPtrToPtr* m_pBBoxMap; | 74 CFX_MapPtrToPtr* m_pBBoxMap; |
| 75 CXFA_PDFFontMgr* m_pProvider; | 75 CXFA_PDFFontMgr* m_pProvider; |
| 76 uint16_t m_wCharSet; | 76 uint16_t m_wCharSet; |
| 77 CFX_ArrayTemplate<IFX_Font*> m_SubstFonts; | 77 CFX_ArrayTemplate<IFX_Font*> m_SubstFonts; |
| 78 CFX_MapPtrToPtr m_FontMapper; | 78 CFX_MapPtrToPtr m_FontMapper; |
| 79 FX_BOOL InitFont(); | 79 FX_BOOL InitFont(); |
| 80 FX_BOOL GetCharBBox(FX_WCHAR wUnicode, | 80 FX_BOOL GetCharBBox(FX_WCHAR wUnicode, |
| 81 CFX_Rect& bbox, | 81 CFX_Rect& bbox, |
| 82 FX_BOOL bRecursive, | 82 FX_BOOL bRecursive, |
| 83 FX_BOOL bCharCode = FALSE); | 83 FX_BOOL bCharCode = FALSE); |
| 84 FX_BOOL GetCharWidth(FX_WCHAR wUnicode, | 84 FX_BOOL GetCharWidth(FX_WCHAR wUnicode, |
| 85 int32_t& iWidth, | 85 int32_t& iWidth, |
| 86 FX_BOOL bRecursive, | 86 FX_BOOL bRecursive, |
| 87 FX_BOOL bCharCode = FALSE); | 87 FX_BOOL bCharCode = FALSE); |
| 88 int32_t GetGlyphIndex(FX_WCHAR wUnicode, | 88 int32_t GetGlyphIndex(FX_WCHAR wUnicode, |
| 89 FX_BOOL bRecursive, | 89 FX_BOOL bRecursive, |
| 90 IFX_Font** ppFont, | 90 IFX_Font** ppFont, |
| 91 FX_BOOL bCharCode = FALSE); | 91 FX_BOOL bCharCode = FALSE); |
| 92 }; | 92 }; |
| 93 | 93 |
| 94 #endif // XFA_FGAS_FONT_FGAS_GEFONT_H_ | 94 #endif // XFA_FGAS_FONT_FGAS_GEFONT_H_ |
| OLD | NEW |