svttcmap.h
上传用户:yisoukefu
上传日期:2020-08-09
资源大小:39506k
文件大小:3k
源码类别:

其他游戏

开发平台:

Visual C++

  1. /***************************************************************************/
  2. /*                                                                         */
  3. /*  svsttcmap.h                                                            */
  4. /*                                                                         */
  5. /*    The FreeType TrueType/sfnt cmap extra information service.           */
  6. /*                                                                         */
  7. /*  Copyright 2003 by                                                      */
  8. /*  Masatake YAMATO, Redhat K.K.                                           */
  9. /*                                                                         */
  10. /*  Copyright 2003 by                                                      */
  11. /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
  12. /*                                                                         */
  13. /*  This file is part of the FreeType project, and may only be used,       */
  14. /*  modified, and distributed under the terms of the FreeType project      */
  15. /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
  16. /*  this file you indicate that you have read the license and              */
  17. /*  understand and accept it fully.                                        */
  18. /*                                                                         */
  19. /***************************************************************************/
  20. /* Development of this service is support of
  21.    Information-technology Promotion Agency, Japan. */
  22. #ifndef __SVTTCMAP_H__
  23. #define __SVTTCMAP_H__
  24. #include FT_INTERNAL_SERVICE_H
  25. #include FT_TRUETYPE_TABLES_H
  26. FT_BEGIN_HEADER
  27. #define FT_SERVICE_ID_TT_CMAP "tt-cmaps"
  28.   /*************************************************************************/
  29.   /*                                                                       */
  30.   /* <Struct>                                                              */
  31.   /*    TT_CMapInfo                                                        */
  32.   /*                                                                       */
  33.   /* <Description>                                                         */
  34.   /*    A structure used to store TrueType/sfnt specific cmap information  */
  35.   /*    which is not covered by the generic @FT_CharMap structure.  This   */
  36.   /*    structure can be accessed with the @FT_Get_TT_CMap_Info function.  */
  37.   /*                                                                       */
  38.   /* <Fields>                                                              */
  39.   /*    language ::                                                        */
  40.   /*      The language ID used in Mac fonts.  Definitions of values are in */
  41.   /*      freetype/ttnameid.h.                                             */
  42.   /*                                                                       */
  43.   typedef struct  TT_CMapInfo_
  44.   {
  45.     FT_ULong language;
  46.     FT_Long  format;
  47.   } TT_CMapInfo;
  48.   typedef FT_Error
  49.   (*TT_CMap_Info_GetFunc)( FT_CharMap    charmap,
  50.                            TT_CMapInfo  *cmap_info );
  51.   FT_DEFINE_SERVICE( TTCMaps )
  52.   {
  53.     TT_CMap_Info_GetFunc  get_cmap_info;
  54.   };
  55.   /* */
  56. FT_END_HEADER
  57. #endif /* __SVTTCMAP_H__ */
  58. /* END */