| 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_SRC_FGAS_INCLUDE_FX_FNT_H_ | 7 #ifndef XFA_SRC_FGAS_INCLUDE_FX_FNT_H_ | 
| 8 #define XFA_SRC_FGAS_INCLUDE_FX_FNT_H_ | 8 #define XFA_SRC_FGAS_INCLUDE_FX_FNT_H_ | 
| 9 | 9 | 
|  | 10 #include "core/include/fxge/fx_font.h" | 
|  | 11 #include "xfa/src/fgas/include/fx_stm.h" | 
|  | 12 | 
|  | 13 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ | 
|  | 14 #include "xfa/src/fgas/include/fx_mem.h" | 
|  | 15 #include "xfa/src/fgas/include/fx_utl.h" | 
|  | 16 #endif  // _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ | 
|  | 17 | 
| 10 class IFX_Font; | 18 class IFX_Font; | 
| 11 class IFX_FontMgr; | 19 class IFX_FontMgr; | 
|  | 20 | 
| 12 #define FX_FONTSTYLE_Normal 0x00 | 21 #define FX_FONTSTYLE_Normal 0x00 | 
| 13 #define FX_FONTSTYLE_FixedPitch 0x01 | 22 #define FX_FONTSTYLE_FixedPitch 0x01 | 
| 14 #define FX_FONTSTYLE_Serif 0x02 | 23 #define FX_FONTSTYLE_Serif 0x02 | 
| 15 #define FX_FONTSTYLE_Symbolic 0x04 | 24 #define FX_FONTSTYLE_Symbolic 0x04 | 
| 16 #define FX_FONTSTYLE_Script 0x08 | 25 #define FX_FONTSTYLE_Script 0x08 | 
| 17 #define FX_FONTSTYLE_Italic 0x40 | 26 #define FX_FONTSTYLE_Italic 0x40 | 
| 18 #define FX_FONTSTYLE_Bold 0x40000 | 27 #define FX_FONTSTYLE_Bold 0x40000 | 
| 19 #define FX_FONTSTYLE_BoldItalic (FX_FONTSTYLE_Bold | FX_FONTSTYLE_Italic) | 28 #define FX_FONTSTYLE_BoldItalic (FX_FONTSTYLE_Bold | FX_FONTSTYLE_Italic) | 
| 20 #define FX_FONTSTYLE_ExactMatch 0x80000000 | 29 #define FX_FONTSTYLE_ExactMatch 0x80000000 | 
| 21 #define FX_FONTDECORATION_Underline 0x00000001 | 30 #define FX_FONTDECORATION_Underline 0x00000001 | 
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 257                              int32_t iFaceIndex, | 266                              int32_t iFaceIndex, | 
| 258                              int32_t* pFaceCount = NULL, | 267                              int32_t* pFaceCount = NULL, | 
| 259                              FX_BOOL bSaveStream = FALSE) = 0; | 268                              FX_BOOL bSaveStream = FALSE) = 0; | 
| 260 | 269 | 
| 261   virtual void ClearFontCache() = 0; | 270   virtual void ClearFontCache() = 0; | 
| 262   virtual void RemoveFont(IFX_Font* pFont) = 0; | 271   virtual void RemoveFont(IFX_Font* pFont) = 0; | 
| 263 }; | 272 }; | 
| 264 #endif | 273 #endif | 
| 265 | 274 | 
| 266 #endif  // XFA_SRC_FGAS_INCLUDE_FX_FNT_H_ | 275 #endif  // XFA_SRC_FGAS_INCLUDE_FX_FNT_H_ | 
| OLD | NEW | 
|---|