| 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 _FX_GRAPHOBJS_IMP | 7 #ifndef XFA_SRC_FGAS_SRC_FONT_FX_GEFONT_H_ |
| 8 #define _FX_GRAPHOBJS_IMP | 8 #define XFA_SRC_FGAS_SRC_FONT_FX_GEFONT_H_ |
| 9 |
| 9 #ifndef _FXPLUS | 10 #ifndef _FXPLUS |
| 10 class CFX_GEFontMgr; | 11 class CFX_GEFontMgr; |
| 11 #ifndef FXFONT_SUBST_ITALIC | 12 #ifndef FXFONT_SUBST_ITALIC |
| 12 #define FXFONT_SUBST_ITALIC 0x02 | 13 #define FXFONT_SUBST_ITALIC 0x02 |
| 13 #endif | 14 #endif |
| 14 class CFX_GEFont : public IFX_Font, public CFX_ThreadLock { | 15 class CFX_GEFont : public IFX_Font, public CFX_ThreadLock { |
| 15 public: | 16 public: |
| 16 CFX_GEFont(const CFX_GEFont& src, FX_DWORD dwFontStyles); | 17 CFX_GEFont(const CFX_GEFont& src, FX_DWORD dwFontStyles); |
| 17 CFX_GEFont(IFX_FontMgr* pFontMgr); | 18 CFX_GEFont(IFX_FontMgr* pFontMgr); |
| 18 ~CFX_GEFont(); | 19 ~CFX_GEFont(); |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 FX_BOOL GetCharWidth(FX_WCHAR wUnicode, | 81 FX_BOOL GetCharWidth(FX_WCHAR wUnicode, |
| 81 int32_t& iWidth, | 82 int32_t& iWidth, |
| 82 FX_BOOL bRecursive, | 83 FX_BOOL bRecursive, |
| 83 FX_BOOL bCharCode = FALSE); | 84 FX_BOOL bCharCode = FALSE); |
| 84 int32_t GetGlyphIndex(FX_WCHAR wUnicode, | 85 int32_t GetGlyphIndex(FX_WCHAR wUnicode, |
| 85 FX_BOOL bRecursive, | 86 FX_BOOL bRecursive, |
| 86 IFX_Font** ppFont, | 87 IFX_Font** ppFont, |
| 87 FX_BOOL bCharCode = FALSE); | 88 FX_BOOL bCharCode = FALSE); |
| 88 }; | 89 }; |
| 89 #endif | 90 #endif |
| 90 #endif | 91 |
| 92 #endif // XFA_SRC_FGAS_SRC_FONT_FX_GEFONT_H_ |
| OLD | NEW |