📄 freetype.h
字号:
FT_Generic autohint; void* extensions; FT_Face_Internal internal; /*@private end */ } FT_FaceRec; /*************************************************************************/ /* */ /* <Constant> */ /* FT_FACE_FLAG_SCALABLE */ /* */ /* <Description> */ /* A bit-field constant, used to indicate that a given face provides */ /* vectorial outlines (i.e., TrueType or Type1). This doesn't */ /* prevent embedding of bitmap strikes though, i.e., a given face can */ /* have both this bit set, and a `num_fixed_sizes' property > 0. */ /* */#define FT_FACE_FLAG_SCALABLE 1 /*************************************************************************/ /* */ /* <Constant> */ /* FT_FACE_FLAG_FIXED_SIZES */ /* */ /* <Description> */ /* A bit-field constant, used to indicate that a given face contains */ /* `fixed sizes', i.e., bitmap strikes for some given pixel sizes. */ /* See the `num_fixed_sizes' and `available_sizes' face properties */ /* for more information. */ /* */#define FT_FACE_FLAG_FIXED_SIZES 2 /*************************************************************************/ /* */ /* <Constant> */ /* FT_FACE_FLAG_FIXED_WIDTH */ /* */ /* <Description> */ /* A bit-field constant, used to indicate that a given face contains */ /* fixed-width characters (like Courier, Lucida, MonoType, etc.). */ /* */#define FT_FACE_FLAG_FIXED_WIDTH 4 /*************************************************************************/ /* */ /* <Constant> */ /* FT_FACE_FLAG_SFNT */ /* */ /* <Description> */ /* A bit-field constant, used to indicate that a given face uses the */ /* `sfnt' storage fomat. For now, this means TrueType or OpenType. */ /* */#define FT_FACE_FLAG_SFNT 8 /*************************************************************************/ /* */ /* <Constant> */ /* FT_FACE_FLAG_HORIZONTAL */ /* */ /* <Description> */ /* A bit-field constant, used to indicate that a given face contains */ /* horizontal glyph metrics. This should be set for all common */ /* formats, but who knows. */ /* */#define FT_FACE_FLAG_HORIZONTAL 0x10 /*************************************************************************/ /* */ /* <Constant> */ /* FT_FACE_FLAG_VERTICAL */ /* */ /* <Description> */ /* A bit-field constant, used to indicate that a given face contains */ /* vertical glyph metrics. If not set, the glyph loader will */ /* synthetize vertical metrics itself to help display vertical text */ /* correctly. */ /* */#define FT_FACE_FLAG_VERTICAL 0x20 /*************************************************************************/ /* */ /* <Constant> */ /* FT_FACE_FLAG_KERNING */ /* */ /* <Description> */ /* A bit-field constant, used to indicate that a given face contains */ /* kerning information. When set, this information can be retrieved */ /* through the function FT_Get_Kerning(). Note that when unset, this */ /* function will always return the kerning vector (0,0). */ /* */#define FT_FACE_FLAG_KERNING 0x40 /*************************************************************************/ /* */ /* <Constant> */ /* FT_FACE_FLAG_FAST_GLYPHS */ /* */ /* <Description> */ /* A bit-field constant, used to indicate that the glyphs in a given */ /* font can be retrieved very quickly, and that a glyph cache is thus */ /* not necessary for any of its child size objects. */ /* */ /* This flag should really be set for fixed-size formats like FNT, */ /* where each glyph bitmap is available directly in binary form */ /* without any kind of compression. */ /* */#define FT_FACE_FLAG_FAST_GLYPHS 0x80 /*************************************************************************/ /* */ /* <Constant> */ /* FT_FACE_FLAG_MULTIPLE_MASTERS */ /* */ /* <Description> */ /* A bit-field constant, used to indicate that the font contains */ /* multiple masters and is capable of interpolating between them. */ /* */#define FT_FACE_FLAG_MULTIPLE_MASTERS 0x100 /*************************************************************************/ /* */ /* <Constant> */ /* FT_FACE_FLAG_GLYPH_NAMES */ /* */ /* <Description> */ /* A bit-field constant, used to indicate that the font contains */ /* glyph names that can be retrieved through FT_Get_Glyph_Name(). */ /* */#define FT_FACE_FLAG_GLYPH_NAMES 0x200 /*************************************************************************/ /* */ /* <Constant> */ /* FT_FACE_FLAG_EXTERNAL_STREAM */ /* */ /* <Description> */ /* This bit field is used internally by FreeType to indicate that */ /* a face's stream was provided by the client application and should */ /* not be destroyed by FT_Done_Face(). */ /* */#define FT_FACE_FLAG_EXTERNAL_STREAM 0x4000 /* */#define FT_HAS_HORIZONTAL( face ) \ ( face->face_flags & FT_FACE_FLAG_HORIZONTAL )#define FT_HAS_VERTICAL( face ) \ ( face->face_flags & FT_FACE_FLAG_VERTICAL )#define FT_HAS_KERNING( face ) \ ( face->face_flags & FT_FACE_FLAG_KERNING )#define FT_IS_SCALABLE( face ) \ ( face->face_flags & FT_FACE_FLAG_SCALABLE )#define FT_IS_SFNT( face ) \ ( face->face_flags & FT_FACE_FLAG_SFNT )#define FT_IS_FIXED_WIDTH( face ) \ ( face->face_flags & FT_FACE_FLAG_FIXED_WIDTH )#define FT_HAS_FIXED_SIZES( face ) \ ( face->face_flags & FT_FACE_FLAG_FIXED_SIZES )#define FT_HAS_FAST_GLYPHS( face ) \ ( face->face_flags & FT_FACE_FLAG_FAST_GLYPHS )#define FT_HAS_GLYPH_NAMES( face ) \ ( face->face_flags & FT_FACE_FLAG_GLYPH_NAMES )#define FT_HAS_MULTIPLE_MASTERS( face ) \ ( face->face_flags & FT_FACE_FLAG_MULTIPLE_MASTERS ) /*************************************************************************/ /* */ /* <Constant> */ /* FT_STYLE_FLAG_ITALIC */ /* */ /* <Description> */ /* A bit-field constant, used to indicate that a given face is */ /* italicized. */ /* */#define FT_STYLE_FLAG_ITALIC 1 /*************************************************************************/ /* */ /* <Constant> */ /* FT_STYLE_FLAG_BOLD */ /* */ /* <Description> */ /* A bit-field constant, used to indicate that a given face is */ /* emboldened. */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -