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

📄 freetype.h

📁 奇趣公司比较新的qt/emd版本
💻 H
📖 第 1 页 / 共 5 页
字号:
  /*                           format specific interface to access them.   */  /*                                                                       */  /*    style_name          :: The face's style name.  This is an ASCII    */  /*                           string, usually in English, which describes */  /*                           the typeface's style (like `Italic',        */  /*                           `Bold', `Condensed', etc).  Not all font    */  /*                           formats provide a style name, so this field */  /*                           is optional, and can be set to NULL.  As    */  /*                           for `family_name', some formats provide     */  /*                           localized and Unicode versions of this      */  /*                           string.  Applications should use the format */  /*                           specific interface to access them.          */  /*                                                                       */  /*    num_fixed_sizes     :: The number of bitmap strikes in the face.   */  /*                           Even if the face is scalable, there might   */  /*                           still be bitmap strikes, which are called   */  /*                           `sbits' in that case.                       */  /*                                                                       */  /*    available_sizes     :: An array of @FT_Bitmap_Size for all bitmap  */  /*                           strikes in the face.  It is set to NULL if  */  /*                           there is no bitmap strike.                  */  /*                                                                       */  /*    num_charmaps        :: The number of charmaps in the face.         */  /*                                                                       */  /*    charmaps            :: An array of the charmaps of the face.       */  /*                                                                       */  /*    generic             :: A field reserved for client uses.  See the  */  /*                           @FT_Generic type description.               */  /*                                                                       */  /*    bbox                :: The font bounding box.  Coordinates are     */  /*                           expressed in font units (see                */  /*                           `units_per_EM').  The box is large enough   */  /*                           to contain any glyph from the font.  Thus,  */  /*                           `bbox.yMax' can be seen as the `maximal     */  /*                           ascender', and `bbox.yMin' as the `minimal  */  /*                           descender'.  Only relevant for scalable     */  /*                           formats.                                    */  /*                                                                       */  /*    units_per_EM        :: The number of font units per EM square for  */  /*                           this face.  This is typically 2048 for      */  /*                           TrueType fonts, and 1000 for Type 1 fonts.  */  /*                           Only relevant for scalable formats.         */  /*                                                                       */  /*    ascender            :: The typographic ascender of the face,       */  /*                           expressed in font units.  For font formats  */  /*                           not having this information, it is set to   */  /*                           `bbox.yMax'.  Only relevant for scalable    */  /*                           formats.                                    */  /*                                                                       */  /*    descender           :: The typographic descender of the face,      */  /*                           expressed in font units.  For font formats  */  /*                           not having this information, it is set to   */  /*                           `bbox.yMin'.  Note that this field is       */  /*                           usually negative.  Only relevant for        */  /*                           scalable formats.                           */  /*                                                                       */  /*    height              :: The height is the vertical distance         */  /*                           between two consecutive baselines,          */  /*                           expressed in font units.  It is always      */  /*                           positive.  Only relevant for scalable       */  /*                           formats.                                    */  /*                                                                       */  /*    max_advance_width   :: The maximal advance width, in font units,   */  /*                           for all glyphs in this face.  This can be   */  /*                           used to make word wrapping computations     */  /*                           faster.  Only relevant for scalable         */  /*                           formats.                                    */  /*                                                                       */  /*    max_advance_height  :: The maximal advance height, in font units,  */  /*                           for all glyphs in this face.  This is only  */  /*                           relevant for vertical layouts, and is set   */  /*                           to `height' for fonts that do not provide   */  /*                           vertical metrics.  Only relevant for        */  /*                           scalable formats.                           */  /*                                                                       */  /*    underline_position  :: The position, in font units, of the         */  /*                           underline line for this face.  It's the     */  /*                           center of the underlining stem.  Only       */  /*                           relevant for scalable formats.              */  /*                                                                       */  /*    underline_thickness :: The thickness, in font units, of the        */  /*                           underline for this face.  Only relevant for */  /*                           scalable formats.                           */  /*                                                                       */  /*    glyph               :: The face's associated glyph slot(s).        */  /*                                                                       */  /*    size                :: The current active size for this face.      */  /*                                                                       */  /*    charmap             :: The current active charmap for this face.   */  /*                                                                       */  /* <Note>                                                                */  /*   Fields may be changed after a call to @FT_Attach_File or            */  /*   @FT_Attach_Stream.                                                  */  /*                                                                       */  typedef struct  FT_FaceRec_  {    FT_Long           num_faces;    FT_Long           face_index;    FT_Long           face_flags;    FT_Long           style_flags;    FT_Long           num_glyphs;    FT_String*        family_name;    FT_String*        style_name;    FT_Int            num_fixed_sizes;    FT_Bitmap_Size*   available_sizes;    FT_Int            num_charmaps;    FT_CharMap*       charmaps;    FT_Generic        generic;    /*# The following member variables (down to `underline_thickness') */    /*# are only relevant to scalable outlines; cf. @FT_Bitmap_Size    */    /*# for bitmap fonts.                                              */    FT_BBox           bbox;    FT_UShort         units_per_EM;    FT_Short          ascender;    FT_Short          descender;    FT_Short          height;    FT_Short          max_advance_width;    FT_Short          max_advance_height;    FT_Short          underline_position;    FT_Short          underline_thickness;    FT_GlyphSlot      glyph;    FT_Size           size;    FT_CharMap        charmap;    /*@private begin */    FT_Driver         driver;    FT_Memory         memory;    FT_Stream         stream;    FT_ListRec        sizes_list;    FT_Generic        autohint;    void*             extensions;    FT_Face_Internal  internal;    /*@private end */  } FT_FaceRec;  /*************************************************************************/  /*                                                                       */  /* <Enum>                                                                */  /*    FT_FACE_FLAG_XXX                                                   */  /*                                                                       */  /* <Description>                                                         */  /*    A list of bit flags used in the `face_flags' field of the          */  /*    @FT_FaceRec structure.  They inform client applications of         */  /*    properties of the corresponding face.                              */  /*                                                                       */  /* <Values>                                                              */  /*    FT_FACE_FLAG_SCALABLE ::                                           */  /*      Indicates that the face contains outline glyphs.  This doesn't   */  /*      prevent bitmap strikes, i.e., a face can have both this and      */  /*      and @FT_FACE_FLAG_FIXED_SIZES set.                               */  /*                                                                       */  /*    FT_FACE_FLAG_FIXED_SIZES ::                                        */  /*      Indicates that the face contains bitmap strikes.  See also the   */  /*      `num_fixed_sizes' and `available_sizes' fields of @FT_FaceRec.   */  /*                                                                       */  /*    FT_FACE_FLAG_FIXED_WIDTH ::                                        */  /*      Indicates that the face contains fixed-width characters (like    */  /*      Courier, Lucido, MonoType, etc.).                                */  /*                                                                       */  /*    FT_FACE_FLAG_SFNT ::                                               */  /*      Indicates that the face uses the `sfnt' storage scheme.  For     */  /*      now, this means TrueType and OpenType.                           */  /*                                                                       */  /*    FT_FACE_FLAG_HORIZONTAL ::                                         */  /*      Indicates that the face contains horizontal glyph metrics.  This */  /*      should be set for all common formats.                            */  /*                                                                       */  /*    FT_FACE_FLAG_VERTICAL ::                                           */  /*      Indicates that the face contains vertical glyph metrics.  This   */  /*      is only available in some formats, not all of them.              */  /*                                                                       */  /*    FT_FACE_FLAG_KERNING ::                                            */  /*      Indicates that the face contains kerning information.  If set,   */  /*      the kerning distance can be retrieved through the function       */  /*      @FT_Get_Kerning.  Otherwise the function always return the       */  /*      vector (0,0).  Note that FreeType doesn't handle kerning data    */  /*      from the `GPOS' table (as present in some OpenType fonts).       */  /*                                                                       */  /*    FT_FACE_FLAG_FAST_GLYPHS ::  

⌨️ 快捷键说明

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