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

📄 tttypes.h

📁 linux控件xml 搭建apache支持php openssl
💻 H
📖 第 1 页 / 共 5 页
字号:
  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    TT_SBit_ComponentRec                                               */  /*                                                                       */  /* <Description>                                                         */  /*    A simple structure to describe a compound sbit element.            */  /*                                                                       */  /* <Fields>                                                              */  /*    glyph_code :: The element's glyph index.                           */  /*                                                                       */  /*    x_offset   :: The element's left bearing.                          */  /*                                                                       */  /*    y_offset   :: The element's top bearing.                           */  /*                                                                       */  typedef struct  TT_SBit_ComponentRec_  {    FT_UShort  glyph_code;    FT_Char    x_offset;    FT_Char    y_offset;  } TT_SBit_ComponentRec, *TT_SBit_Component;  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    TT_SBit_ScaleRec                                                   */  /*                                                                       */  /* <Description>                                                         */  /*    A structure used describe a given bitmap scaling table, as defined */  /*    in the `EBSC' table.                                               */  /*                                                                       */  /* <Fields>                                                              */  /*    hori              :: The horizontal line metrics.                  */  /*                                                                       */  /*    vert              :: The vertical line metrics.                    */  /*                                                                       */  /*    x_ppem            :: The number of horizontal pixels per EM.       */  /*                                                                       */  /*    y_ppem            :: The number of vertical pixels per EM.         */  /*                                                                       */  /*    x_ppem_substitute :: Substitution x_ppem value.                    */  /*                                                                       */  /*    y_ppem_substitute :: Substitution y_ppem value.                    */  /*                                                                       */  typedef struct  TT_SBit_ScaleRec_  {    TT_SBit_LineMetricsRec  hori;    TT_SBit_LineMetricsRec  vert;    FT_Byte                 x_ppem;    FT_Byte                 y_ppem;    FT_Byte                 x_ppem_substitute;    FT_Byte                 y_ppem_substitute;  } TT_SBit_ScaleRec, *TT_SBit_Scale;  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/  /***                                                                   ***/  /***                                                                   ***/  /***                  POSTSCRIPT GLYPH NAMES SUPPORT                   ***/  /***                                                                   ***/  /***                                                                   ***/  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    TT_Post_20Rec                                                      */  /*                                                                       */  /* <Description>                                                         */  /*    Postscript names sub-table, format 2.0.  Stores the PS name of     */  /*    each glyph in the font face.                                       */  /*                                                                       */  /* <Fields>                                                              */  /*    num_glyphs    :: The number of named glyphs in the table.          */  /*                                                                       */  /*    num_names     :: The number of PS names stored in the table.       */  /*                                                                       */  /*    glyph_indices :: The indices of the glyphs in the names arrays.    */  /*                                                                       */  /*    glyph_names   :: The PS names not in Mac Encoding.                 */  /*                                                                       */  typedef struct  TT_Post_20Rec_  {    FT_UShort   num_glyphs;    FT_UShort   num_names;    FT_UShort*  glyph_indices;    FT_Char**   glyph_names;  } TT_Post_20Rec, *TT_Post_20;  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    TT_Post_25Rec                                                      */  /*                                                                       */  /* <Description>                                                         */  /*    Postscript names sub-table, format 2.5.  Stores the PS name of     */  /*    each glyph in the font face.                                       */  /*                                                                       */  /* <Fields>                                                              */  /*    num_glyphs :: The number of glyphs in the table.                   */  /*                                                                       */  /*    offsets    :: An array of signed offsets in a normal Mac           */  /*                  Postscript name encoding.                            */  /*                                                                       */  typedef struct  TT_Post_25_  {    FT_UShort  num_glyphs;    FT_Char*   offsets;  } TT_Post_25Rec, *TT_Post_25;  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    TT_Post_NamesRec                                                   */  /*                                                                       */  /* <Description>                                                         */  /*    Postscript names table, either format 2.0 or 2.5.                  */  /*                                                                       */  /* <Fields>                                                              */  /*    loaded    :: A flag to indicate whether the PS names are loaded.   */  /*                                                                       */  /*    format_20 :: The sub-table used for format 2.0.                    */  /*                                                                       */  /*    format_25 :: The sub-table used for format 2.5.                    */  /*                                                                       */  typedef struct  TT_Post_NamesRec_  {    FT_Bool  loaded;    union    {      TT_Post_20Rec  format_20;      TT_Post_25Rec  format_25;    } names;  } TT_Post_NamesRec, *TT_Post_Names;  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/  /***                                                                   ***/  /***                                                                   ***/  /***                    GX VARIATION TABLE SUPPORT                     ***/  /***                                                                   ***/  /***                                                                   ***/  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT  typedef struct GX_BlendRec_  *GX_Blend;#endif  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/  /***                                                                   ***/  /***                                                                   ***/  /***              EMBEDDED BDF PROPERTIES TABLE SUPPORT                ***/  /***                                                                   ***/  /***                                                                   ***/  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/  /*   * These types are used to support a `BDF ' table that isn't part of the   * official TrueType specification.  It is mainly used in SFNT-based   * bitmap fonts that were generated from a set of BDF fonts.   *   * The format of the table is as follows.   *   *   USHORT   version      `BDF ' table version number, should be 0x0001.   *   USHORT   strikeCount  Number of strikes (bitmap sizes) in this table.   *   ULONG    stringTable  Offset (from start of BDF table) to string   *                         table.   *   * This is followed by an array of `strikeCount' descriptors, having the   * following format.   *   *   USHORT   ppem         Vertical pixels per EM for this strike.   *   USHORT   numItems     Number of items for this strike (properties and   *                         atoms).  Maximum is 255.   *   * This array in turn is followed by `strikeCount' value sets.  Each   * `value set' is an array of `numItems' items with the following format.   *   *   ULONG    item_name    Offset in string table to item name.   *   USHORT   item_type    The item type.  Possible values are   *                            0 => string (e.g., COMMENT)   *                            1 => atom   (e.g., FONT or even SIZE)   *                            2 => int32   *                            3 => uint32   *                         0x10 => A flag to indicate a properties.  This   *                                 is ORed with the above values.   *   ULONG    item_value   For strings  => Offset into string table without   *                                         the corresponding double quotes.   *                         For atoms    => Offset into string table.   *                         For integers => Direct value.   *   * All strings in the string table consist of bytes and are   * zero-terminated.   *   */#ifdef TT_CONFIG_OPTION_BDF  typedef struct  TT_BDFRec_

⌨️ 快捷键说明

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