splashftfontengine.h

来自「swf文件查看工具,能够看flash文件的格式」· C头文件 代码 · 共 66 行

H
66
字号
//========================================================================//// SplashFTFontEngine.h////========================================================================#ifndef SPLASHFTFONTENGINE_H#define SPLASHFTFONTENGINE_H#include <aconf.h>#if HAVE_FREETYPE_FREETYPE_H || HAVE_FREETYPE_H#ifdef USE_GCC_PRAGMAS#pragma interface#endif#include <ft2build.h>#include FT_FREETYPE_H#include "gtypes.h"class SplashFontFile;class SplashFontFileID;//------------------------------------------------------------------------// SplashFTFontEngine//------------------------------------------------------------------------class SplashFTFontEngine {public:  static SplashFTFontEngine *init(GBool aaA);  ~SplashFTFontEngine();  // Load fonts.  SplashFontFile *loadType1Font(SplashFontFileID *idA, char *fileName,				GBool deleteFile, char **enc);  SplashFontFile *loadType1CFont(SplashFontFileID *idA, char *fileName,				 GBool deleteFile, char **enc);  SplashFontFile *loadOpenTypeT1CFont(SplashFontFileID *idA, char *fileName,				      GBool deleteFile, char **enc);  SplashFontFile *loadCIDFont(SplashFontFileID *idA, char *fileName,			      GBool deleteFile);  SplashFontFile *loadOpenTypeCFFFont(SplashFontFileID *idA, char *fileName,				      GBool deleteFile);  SplashFontFile *loadTrueTypeFont(SplashFontFileID *idA, char *fileName,				   GBool deleteFile,				   Gushort *codeToGID, int codeToGIDLen);private:  SplashFTFontEngine(GBool aaA, FT_Library libA);  GBool aa;  FT_Library lib;  GBool useCIDs;  friend class SplashFTFontFile;  friend class SplashFTFont;};#endif // HAVE_FREETYPE_FREETYPE_H || HAVE_FREETYPE_H#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?