diff options
Diffstat (limited to 'core/include/fxge/fx_font.h')
-rw-r--r-- | core/include/fxge/fx_font.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/core/include/fxge/fx_font.h b/core/include/fxge/fx_font.h index 29cc5df13d..365d57c707 100644 --- a/core/include/fxge/fx_font.h +++ b/core/include/fxge/fx_font.h @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_INCLUDE_FXGE_FX_FONT_H_ @@ -48,7 +48,7 @@ class CFontFileFaceInfo; #define FXFONT_FF_SCRIPT (4<<4) #define FXFONT_FW_NORMAL 400 #define FXFONT_FW_BOLD 700 -class CFX_Font +class CFX_Font { public: CFX_Font(); @@ -143,7 +143,7 @@ protected: }; #define ENCODING_INTERNAL 0 #define ENCODING_UNICODE 1 -class IFX_FontEncoding +class IFX_FontEncoding { public: virtual ~IFX_FontEncoding() {} @@ -162,7 +162,7 @@ IFX_FontEncoding* FXGE_CreateUnicodeEncoding(CFX_Font* pFont); #define FXFONT_SUBST_NONSYMBOL 0x20 #define FXFONT_SUBST_EXACT 0x40 #define FXFONT_SUBST_STANDARD 0x80 -class CFX_SubstFont +class CFX_SubstFont { public: @@ -197,7 +197,7 @@ typedef struct { const uint8_t* m_pFontData; FX_DWORD m_dwSize; } FoxitFonts; -class CFX_FontMgr +class CFX_FontMgr { public: CFX_FontMgr(); @@ -227,7 +227,7 @@ public: FXFT_Library m_FTLibrary; FoxitFonts m_ExternalFonts[16]; }; -class IFX_FontMapper +class IFX_FontMapper { public: @@ -291,7 +291,7 @@ private: FXFT_Face m_FoxitFaces[14]; IFX_FontEnumerator* m_pFontEnumerator; }; -class IFX_SystemFontInfo +class IFX_SystemFontInfo { public: static IFX_SystemFontInfo* CreateDefault(); @@ -337,14 +337,14 @@ protected: void ScanFile(CFX_ByteString& path); void ReportFace(CFX_ByteString& path, FXSYS_FILE* pFile, FX_DWORD filesize, FX_DWORD offset); }; -class CFX_CountedFaceCache +class CFX_CountedFaceCache { public: CFX_FaceCache* m_Obj; FX_DWORD m_nCount; }; typedef CFX_MapPtrTemplate<FXFT_Face, CFX_CountedFaceCache*> CFX_FTCacheMap; -class CFX_FontCache +class CFX_FontCache { public: ~CFX_FontCache(); @@ -372,14 +372,14 @@ public: CFX_Font* m_pFont; }; #define FX_FONTCACHE_DEFINE(pFontCache, pFont) CFX_AutoFontCache autoFontCache((pFontCache), (pFont)) -class CFX_GlyphBitmap +class CFX_GlyphBitmap { public: int m_Top; int m_Left; CFX_DIBitmap m_Bitmap; }; -class CFX_FaceCache +class CFX_FaceCache { public: ~CFX_FaceCache(); |