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

📄 tttypes.h

📁 读写pdf文件的程序开发库源码,对于编写开发库有所帮助.
💻 H
📖 第 1 页 / 共 5 页
字号:
    FT_ULong              ranges_offset;    FT_ULong              color_ref;    TT_SBit_Line_Metrics  hori;    TT_SBit_Line_Metrics  vert;    FT_UShort             start_glyph;    FT_UShort             end_glyph;    FT_Byte               x_ppem;    FT_Byte               y_ppem;    FT_Byte               bit_depth;    FT_Char               flags;  } TT_SBit_Strike;  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    TT_SBit_Component                                                  */  /*                                                                       */  /* <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_Component_  {    FT_UShort  glyph_code;    FT_Char    x_offset;    FT_Char    y_offset;  } TT_SBit_Component;  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    TT_SBit_Scale                                                      */  /*                                                                       */  /* <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_Scale_  {    TT_SBit_Line_Metrics  hori;    TT_SBit_Line_Metrics  vert;    FT_Byte               x_ppem;    FT_Byte               y_ppem;    FT_Byte               x_ppem_substitute;    FT_Byte               y_ppem_substitute;  } TT_SBit_Scale;  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/  /***                                                                   ***/  /***                                                                   ***/  /***                  POSTSCRIPT GLYPH NAMES SUPPORT                   ***/  /***                                                                   ***/  /***                                                                   ***/  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    TT_Post_20                                                         */  /*                                                                       */  /* <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_20_  {    FT_UShort   num_glyphs;    FT_UShort   num_names;    FT_UShort*  glyph_indices;    FT_Char**   glyph_names;  } TT_Post_20;  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    TT_Post_25                                                         */  /*                                                                       */  /* <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_25;  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    TT_Post_Names                                                      */  /*                                                                       */  /* <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_Names_  {    FT_Bool       loaded;    union    {      TT_Post_20  format_20;      TT_Post_25  format_25;    } names;  } TT_Post_Names;  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/  /***                                                                   ***/  /***                                                                   ***/  /***                  TRUETYPE CHARMAPS SUPPORT                        ***/  /***                                                                   ***/  /***                                                                   ***/  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/  /* format 0 */  typedef struct  TT_CMap0_  {    FT_ULong  language;       /* for Mac fonts (originally ushort) */    FT_Byte*  glyphIdArray;  } TT_CMap0;  /* format 2 */  typedef struct  TT_CMap2SubHeader_  {    FT_UShort  firstCode;      /* first valid low byte         */    FT_UShort  entryCount;     /* number of valid low bytes    */    FT_Short   idDelta;        /* delta value to glyphIndex    */    FT_UShort  idRangeOffset;  /* offset from here to 1st code */  } TT_CMap2SubHeader;  typedef struct  TT_CMap2_  {    FT_ULong            language;     /* for Mac fonts (originally ushort) */    FT_UShort*          subHeaderKeys;    /* high byte mapping table            */    /* value = subHeader index * 8        */    TT_CMap2SubHeader*  subHeaders;    FT_UShort*          glyphIdArray;    FT_UShort           numGlyphId;   /* control value */  } TT_CMap2;  /* format 4 */  typedef struct  TT_CMap4Segment_  {    FT_UShort  endCount;    FT_UShort  startCount;    FT_Short   idDelta;    FT_UShort  idRangeOffset;  } TT_CMap4Segment;  typedef struct  TT_CMap4_  {    FT_ULong          language;       /* for Mac fonts (originally ushort) */    FT_UShort         segCountX2;     /* number of segments * 2            */    FT_UShort         searchRange;    /* these parameters can be used      */    FT_UShort         entrySelector;  /* for a binary search               */    FT_UShort         rangeShift;    TT_CMap4Segment*  segments;

⌨️ 快捷键说明

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