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

📄 freetype.h

📁 下载来的一个看图软件的源代码
💻 H
📖 第 1 页 / 共 5 页
字号:
    FT_ENC_TAG( FT_ENCODING_JOHAB,   'j', 'o', 'h', 'a' ),    /* for backwards compatibility */    FT_ENCODING_MS_SJIS    = FT_ENCODING_SJIS,    FT_ENCODING_MS_GB2312  = FT_ENCODING_GB2312,    FT_ENCODING_MS_BIG5    = FT_ENCODING_BIG5,    FT_ENCODING_MS_WANSUNG = FT_ENCODING_WANSUNG,    FT_ENCODING_MS_JOHAB   = FT_ENCODING_JOHAB,    FT_ENC_TAG( FT_ENCODING_ADOBE_STANDARD, 'A', 'D', 'O', 'B' ),    FT_ENC_TAG( FT_ENCODING_ADOBE_EXPERT,   'A', 'D', 'B', 'E' ),    FT_ENC_TAG( FT_ENCODING_ADOBE_CUSTOM,   'A', 'D', 'B', 'C' ),    FT_ENC_TAG( FT_ENCODING_ADOBE_LATIN_1,  'l', 'a', 't', '1' ),    FT_ENC_TAG( FT_ENCODING_OLD_LATIN_2, 'l', 'a', 't', '2' ),    FT_ENC_TAG( FT_ENCODING_APPLE_ROMAN, 'a', 'r', 'm', 'n' )  } FT_Encoding;  /*************************************************************************/  /*                                                                       */  /* <Enum>                                                                */  /*    ft_encoding_xxx                                                    */  /*                                                                       */  /* <Description>                                                         */  /*    These constants are deprecated; use the corresponding @FT_Encoding */  /*    values instead.                                                    */  /*                                                                       */  /* <Values>                                                              */  /*   ft_encoding_none    :: see @FT_ENCODING_NONE                        */  /*   ft_encoding_unicode :: see @FT_ENCODING_UNICODE                     */  /*   ft_encoding_latin_2 :: see @FT_ENCODING_OLD_LATIN_2                 */  /*   ft_encoding_symbol  :: see @FT_ENCODING_MS_SYMBOL                   */  /*   ft_encoding_sjis    :: see @FT_ENCODING_SJIS                        */  /*   ft_encoding_gb2312  :: see @FT_ENCODING_GB2312                      */  /*   ft_encoding_big5    :: see @FT_ENCODING_BIG5                        */  /*   ft_encoding_wansung :: see @FT_ENCODING_WANSUNG                     */  /*   ft_encoding_johab   :: see @FT_ENCODING_JOHAB                       */  /*                                                                       */  /*   ft_encoding_adobe_standard :: see @FT_ENCODING_ADOBE_STANDARD       */  /*   ft_encoding_adobe_expert   :: see @FT_ENCODING_ADOBE_EXPERT         */  /*   ft_encoding_adobe_custom   :: see @FT_ENCODING_ADOBE_CUSTOM         */  /*   ft_encoding_latin_1        :: see @FT_ENCODING_ADOBE_LATIN_1        */  /*                                                                       */  /*   ft_encoding_apple_roman    :: see @FT_ENCODING_APPLE_ROMAN          */  /*                                                                       */#define ft_encoding_none            FT_ENCODING_NONE#define ft_encoding_unicode         FT_ENCODING_UNICODE#define ft_encoding_symbol          FT_ENCODING_MS_SYMBOL#define ft_encoding_latin_1         FT_ENCODING_ADOBE_LATIN_1#define ft_encoding_latin_2         FT_ENCODING_OLD_LATIN_2#define ft_encoding_sjis            FT_ENCODING_SJIS#define ft_encoding_gb2312          FT_ENCODING_GB2312#define ft_encoding_big5            FT_ENCODING_BIG5#define ft_encoding_wansung         FT_ENCODING_WANSUNG#define ft_encoding_johab           FT_ENCODING_JOHAB#define ft_encoding_adobe_standard  FT_ENCODING_ADOBE_STANDARD#define ft_encoding_adobe_expert    FT_ENCODING_ADOBE_EXPERT#define ft_encoding_adobe_custom    FT_ENCODING_ADOBE_CUSTOM#define ft_encoding_apple_roman     FT_ENCODING_APPLE_ROMAN  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    FT_CharMapRec                                                      */  /*                                                                       */  /* <Description>                                                         */  /*    The base charmap structure.                                        */  /*                                                                       */  /* <Fields>                                                              */  /*    face        :: A handle to the parent face object.                 */  /*                                                                       */  /*    encoding    :: An @FT_Encoding tag identifying the charmap.  Use   */  /*                   this with @FT_Select_Charmap.                       */  /*                                                                       */  /*    platform_id :: An ID number describing the platform for the        */  /*                   following encoding ID.  This comes directly from    */  /*                   the TrueType specification and should be emulated   */  /*                   for other formats.                                  */  /*                                                                       */  /*    encoding_id :: A platform specific encoding number.  This also     */  /*                   comes from the TrueType specification and should be */  /*                   emulated similarly.                                 */  /*                                                                       */  typedef struct  FT_CharMapRec_  {    FT_Face      face;    FT_Encoding  encoding;    FT_UShort    platform_id;    FT_UShort    encoding_id;  } FT_CharMapRec;  /*************************************************************************/  /*************************************************************************/  /*                                                                       */  /*                 B A S E   O B J E C T   C L A S S E S                 */  /*                                                                       */  /*************************************************************************/  /*************************************************************************/  /*************************************************************************/  /*                                                                       */  /* <Type>                                                                */  /*    FT_Face_Internal                                                   */  /*                                                                       */  /* <Description>                                                         */  /*    An opaque handle to an FT_Face_InternalRec structure, used to      */  /*    model private data of a given @FT_Face object.                     */  /*                                                                       */  /*    This structure might change between releases of FreeType 2 and is  */  /*    not generally available to client applications.                    */  /*                                                                       */  typedef struct FT_Face_InternalRec_*  FT_Face_Internal;  /*************************************************************************/  /*                                                                       */  /* <Struct>                                                              */  /*    FT_FaceRec                                                         */  /*                                                                       */  /* <Description>                                                         */  /*    FreeType root face class structure.  A face object models the      */  /*    resolution and point-size independent data found in a font file.   */  /*                                                                       */  /* <Fields>                                                              */  /*    num_faces           :: In the case where the face is located in a  */  /*                           collection (i.e., a file which embeds       */  /*                           several faces), this is the total number of */  /*                           faces found in the resource.  1 by default. */  /*                                                                       */  /*    face_index          :: The index of the face in its font file.     */  /*                           Usually, this is 0 for all normal font      */  /*                           formats.  It can be more in the case of     */  /*                           collections (which embed several fonts in a */  /*                           single resource/file).                      */  /*                                                                       */  /*    face_flags          :: A set of bit flags that give important      */  /*                           information about the face; see the         */  /*                           @FT_FACE_FLAG_XXX constants for details.    */  /*                                                                       */  /*    style_flags         :: A set of bit flags indicating the style of  */  /*                           the face (i.e., italic, bold, underline,    */  /*                           etc).  See the @FT_STYLE_FLAG_XXX           */  /*                           constants.                                  */  /*                                                                       */  /*    num_glyphs          :: The total number of glyphs in the face.     */  /*                                                                       */  /*    family_name         :: The face's family name.  This is an ASCII   */  /*                           string, usually in English, which describes */  /*                           the typeface's family (like `Times New      */  /*                           Roman', `Bodoni', `Garamond', etc).  This   */  /*                           is a least common denominator used to list  */  /*                           fonts.  Some formats (TrueType & OpenType)  */  /*                           provide localized and Unicode versions of   */  /*                           this string.  Applications should use the   */  /*                           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/Unicode versions of this string.  */  /*                           Applications should use the format specific */  /*                           interface to access them.                   */  /*                                                                       */  /*    num_fixed_sizes     :: The number of fixed sizes available in this */  /*                           face.  This should be set to 0 for scalable */  /*                           fonts, unless its face includes a set of    */  /*                           glyphs (called a `strike') for the          */  /*                           specified sizes.                            */  /*                                                                       */  /*    available_sizes     :: An array of sizes specifying the available  */  /*                           bitmap/graymap sizes that are contained in  */  /*                           in the font face.  Should be set to NULL if */  /*                           the field `num_fixed_sizes' is set to 0.    */  /*                                                                       */  /*    num_charmaps        :: The total number of character maps in the   */  /*                           face.                                       */  /*                                                                       */  /*    charmaps            :: A table of pointers to the face's charmaps. */  /*                           Used to scan the list of available charmaps */  /*                           -- this table might change after a call to  */  /*                           @FT_Attach_File or @FT_Attach_Stream (e.g.  */  /*                           if used to hook an additional encoding or   */  /*                           CMap to the face object).                   */  /*                                                                       */  /*    generic             :: A field reserved for client uses.  See the  */  /*                           @FT_Generic type description.               */

⌨️ 快捷键说明

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