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

📄 tttables.h

📁 qt-embedded-2.3.8.tar.gz源码
💻 H
📖 第 1 页 / 共 3 页
字号:
  /*                                                                       */  typedef struct  TT_Postscript_  {    FT_Fixed  FormatType;    FT_Fixed  italicAngle;    FT_Short  underlinePosition;    FT_Short  underlineThickness;    FT_ULong  isFixedPitch;    FT_ULong  minMemType42;    FT_ULong  maxMemType42;    FT_ULong  minMemType1;    FT_ULong  maxMemType1;    /* Glyph names follow in the file, but we don't   */    /* load them by default.  See the ttpost.c file.  */  } TT_Postscript;  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    TT_PCLT                                                            */  /*                                                                       */  /* <Description>                                                         */  /*    A structure used to model a TrueType PCLT table.  All fields       */  /*    comply to the TrueType table.                                      */  /*                                                                       */  typedef struct TT_PCLT_  {    FT_Fixed   Version;    FT_ULong   FontNumber;    FT_UShort  Pitch;    FT_UShort  xHeight;    FT_UShort  Style;    FT_UShort  TypeFamily;    FT_UShort  CapHeight;    FT_UShort  SymbolSet;    FT_Char    TypeFace[16];    FT_Char    CharacterComplement[8];    FT_Char    FileName[6];    FT_Char    StrokeWeight;    FT_Char    WidthType;    FT_Byte    SerifStyle;    FT_Byte    Reserved;  } TT_PCLT;  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    TT_MaxProfile                                                      */  /*                                                                       */  /* <Description>                                                         */  /*    The maximum profile is a table containing many max values which    */  /*    can be used to pre-allocate arrays.  This ensures that no memory   */  /*    allocation occurs during a glyph load.                             */  /*                                                                       */  /* <Fields>                                                              */  /*    version               :: The version number.                       */  /*                                                                       */  /*    numGlyphs             :: The number of glyphs in this TrueType     */  /*                             font.                                     */  /*                                                                       */  /*    maxPoints             :: The maximum number of points in a         */  /*                             non-composite TrueType glyph.  See also   */  /*                             the structure element                     */  /*                             `maxCompositePoints'.                     */  /*                                                                       */  /*    maxContours           :: The maximum number of contours in a       */  /*                             non-composite TrueType glyph.  See also   */  /*                             the structure element                     */  /*                             `maxCompositeContours'.                   */  /*                                                                       */  /*    maxCompositePoints    :: The maximum number of points in a         */  /*                             composite TrueType glyph.  See also the   */  /*                             structure element `maxPoints'.            */  /*                                                                       */  /*    maxCompositeContours  :: The maximum number of contours in a       */  /*                             composite TrueType glyph.  See also the   */  /*                             structure element `maxContours'.          */  /*                                                                       */  /*    maxZones              :: The maximum number of zones used for      */  /*                             glyph hinting.                            */  /*                                                                       */  /*    maxTwilightPoints     :: The maximum number of points in the       */  /*                             twilight zone used for glyph hinting.     */  /*                                                                       */  /*    maxStorage            :: The maximum number of elements in the     */  /*                             storage area used for glyph hinting.      */  /*                                                                       */  /*    maxFunctionDefs       :: The maximum number of function            */  /*                             definitions in the TrueType bytecode for  */  /*                             this font.                                */  /*                                                                       */  /*    maxInstructionDefs    :: The maximum number of instruction         */  /*                             definitions in the TrueType bytecode for  */  /*                             this font.                                */  /*                                                                       */  /*    maxStackElements      :: The maximum number of stack elements used */  /*                             during bytecode interpretation.           */  /*                                                                       */  /*    maxSizeOfInstructions :: The maximum number of TrueType opcodes    */  /*                             used for glyph hinting.                   */  /*                                                                       */  /*    maxComponentElements  :: An obscure value related to composite     */  /*                             glyphs definitions.                       */  /*                                                                       */  /*    maxComponentDepth     :: An obscure value related to composite     */  /*                             glyphs definitions.  Probably the maximum */  /*                             number of simple glyphs in a composite.   */  /*                                                                       */  /* <Note>                                                                */  /*    This structure is only used during font loading.                   */  /*                                                                       */  typedef struct  TT_MaxProfile_  {    FT_Fixed   version;    FT_UShort  numGlyphs;    FT_UShort  maxPoints;    FT_UShort  maxContours;    FT_UShort  maxCompositePoints;    FT_UShort  maxCompositeContours;    FT_UShort  maxZones;    FT_UShort  maxTwilightPoints;    FT_UShort  maxStorage;    FT_UShort  maxFunctionDefs;    FT_UShort  maxInstructionDefs;    FT_UShort  maxStackElements;    FT_UShort  maxSizeOfInstructions;    FT_UShort  maxComponentElements;    FT_UShort  maxComponentDepth;  } TT_MaxProfile;  typedef enum  {    ft_sfnt_head = 0,    ft_sfnt_maxp = 1,    ft_sfnt_os2  = 2,    ft_sfnt_hhea = 3,    ft_sfnt_vhea = 4,    ft_sfnt_post = 5,    ft_sfnt_pclt = 6,    sfnt_max   /* don't remove */  } FT_Sfnt_Tag;  /* internal use only */  typedef void*  (*FT_Get_Sfnt_Table_Func)( FT_Face      face,                                            FT_Sfnt_Tag  tag );  /*************************************************************************/  /*                                                                       */  /* <Function>                                                            */  /*    FT_Get_Sfnt_Table                                                  */  /*                                                                       */  /* <Description>                                                         */  /*    Returns a pointer to a given SFNT table within a face.             */  /*                                                                       */  /* <Input>                                                               */  /*    face :: A handle to the source.                                    */  /*                                                                       */  /*    tag  :: The index of the SFNT table.                               */  /*                                                                       */  /* <Return>                                                              */  /*    A type-less pointer to the table.  This will be 0 in case of       */  /*    error, or if the corresponding table was not found *OR* loaded     */  /*    from the file.                                                     */  /*                                                                       */  /* <Note>                                                                */  /*    The table is owned by the face object and disappears with it.      */  /*                                                                       */  /*    This function is only useful to access SFNT tables that are loaded */  /*    by the sfnt/truetype/opentype drivers.  See FT_Sfnt_Tag for a      */  /*    list.                                                              */  /*                                                                       */  FT_EXPORT( void* )  FT_Get_Sfnt_Table( FT_Face      face,                                         FT_Sfnt_Tag  tag );FT_END_HEADER#endif /* __TTTABLES_H__ *//* END */

⌨️ 快捷键说明

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