⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sfnt.h

📁 Qt/Embedded是一个多平台的C++图形用户界面应用程序框架
💻 H
📖 第 1 页 / 共 2 页
字号:
  typedef  TT_Error (*TT_Get_PS_Name_Func)( TT_Face      face,                                   TT_UInt      index,                                   TT_String**  PSname );  /*************************************************************************/  /*                                                                       */  /* <FuncType>                                                            */  /*    TT_Load_Metrics                                                    */  /*                                                                       */  /* <Description>                                                         */  /*    Loads the horizontal or vertical header in a face object.          */  /*                                                                       */  /* <Input>                                                               */  /*    face     :: A handle to the target face object.                    */  /*    stream   :: The input stream.                                      */  /*    vertical :: A boolean flag.  If set, load vertical metrics.        */  /*                                                                       */  /* <Return>                                                              */  /*    TrueType error code.  0 means success.                             */  /*                                                                       */  typedef  TT_Error  (*TT_Load_Metrics_Func)( TT_Face    face,                                     FT_Stream  stream,                                     TT_Bool    vertical );  /*************************************************************************/  /*                                                                       */  /* <FuncType>                                                            */  /*    TT_CharMap_Load_Func                                               */  /*                                                                       */  /* <Description>                                                         */  /*    Loads a given TrueType character map into memory.                  */  /*                                                                       */  /* <Input>                                                               */  /*    face   :: A handle to the parent face object.                      */  /*    stream :: A handle to the current stream object.                   */  /*                                                                       */  /* <InOut>                                                               */  /*    cmap   :: A pointer to a cmap object.                              */  /*                                                                       */  /* <Return>                                                              */  /*    Error code.  0 means success.                                      */  /*                                                                       */  /* <Note>                                                                */  /*    The function assumes that the stream is already in use (i.e.,      */  /*    opened).  In case of error, all partially allocated tables are     */  /*    released.                                                          */  /*                                                                       */  typedef  TT_Error  (*TT_CharMap_Load_Func)( TT_Face        face,                                     TT_CMapTable*  cmap,                                     FT_Stream      input );  /*************************************************************************/  /*                                                                       */  /* <FuncType>                                                            */  /*    TT_CharMap_Free_Func                                               */  /*                                                                       */  /* <Description>                                                         */  /*    Destroys a character mapping table.                                */  /*                                                                       */  /* <Input>                                                               */  /*    face :: A handle to the parent face object.                        */  /*    cmap :: A handle to a cmap object.                                 */  /*                                                                       */  /* <Return>                                                              */  /*    Error code.  0 means success.                                      */  /*                                                                       */  typedef  TT_Error  (*TT_CharMap_Free_Func)( TT_Face        face,                                     TT_CMapTable*  cmap );  /*************************************************************************/  /*                                                                       */  /* <FuncType>                                                            */  /*    TT_Load_Table                                                      */  /*                                                                       */  /* <Description>                                                         */  /*    Loads a given TrueType table.                                      */  /*                                                                       */  /* <Input>                                                               */  /*    face   :: A handle to the target face object.                      */  /*    stream :: The input stream.                                        */  /*                                                                       */  /* <Return>                                                              */  /*    TrueType error code.  0 means success.                             */  /*                                                                       */  /* <Note>                                                                */  /*    The function will use `face->goto_table' to seek the stream to     */  /*    the start of the table                                             */  /*                                                                       */  typedef  TT_Error  (*TT_Load_Table_Func)( TT_Face    face,                                   FT_Stream  stream );  /*************************************************************************/  /*                                                                       */  /* <FuncType>                                                            */  /*    TT_Load_Table                                                      */  /*                                                                       */  /* <Description>                                                         */  /*    Loads a given TrueType table.                                      */  /*                                                                       */  /* <Input>                                                               */  /*    face   :: A handle to the target face object.                      */  /*    stream :: The input stream.                                        */  /*                                                                       */  /* <Return>                                                              */  /*    TrueType error code.  0 means success.                             */  /*                                                                       */  /* <Note>                                                                */  /*    The function will use `face->goto_table' to seek the stream to     */  /*    the start of the table                                             */  /*                                                                       */  typedef  void  (*TT_Free_Table_Func)( TT_Face  face );  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    SFNT_Interface                                                     */  /*                                                                       */  /* <Description>                                                         */  /*    this structure holds pointers to the functions used to load and    */  /*    free the basic tables that are required in a `sfnt' font file.     */  /*                                                                       */  /* <Fields>                                                              */  /*                                                                       */  /*                                                                       */  /*                                                                       */  /*                                                                       */  /*                                                                       */  /*                                                                       */  /*                                                                       */  /*                                                                       */  typedef struct  SFNT_Interface_  {    TT_Goto_Table_Func      goto_table;      TT_Load_Any_Func        load_any;    TT_Load_Format_Tag_Func load_format_tag;    TT_Load_Directory_Func  load_directory;    TT_Load_Table_Func      load_header;    TT_Load_Metrics_Func    load_metrics;    TT_Load_Table_Func      load_charmaps;    TT_Load_Table_Func      load_max_profile;    TT_Load_Table_Func      load_os2;    TT_Load_Table_Func      load_psnames;    TT_Load_Table_Func      load_names;    TT_Free_Table_Func      free_names;    /* optional tables */    TT_Load_Table_Func      load_hdmx;    TT_Free_Table_Func      free_hdmx;    TT_Load_Table_Func      load_kerning;    TT_Load_Table_Func      load_gasp;    /* see `ttsbit.h' */    TT_Load_Table_Func      load_sbits;    TT_Load_SBit_Image_Func load_sbit_image;    TT_Free_Table_Func      free_sbits;        /* see `ttpost.h' */    TT_Get_PS_Name_Func     get_psname;    TT_Free_Table_Func      free_psnames;    /* see `ttcmap.h' */    TT_CharMap_Load_Func    load_charmap;    TT_CharMap_Free_Func    free_charmap;      } SFNT_Interface;#endif /* SFNT_H *//* END */

⌨️ 快捷键说明

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