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

其他游戏

开发平台:

Visual C++

  1. /***************************************************************************/
  2. /*                                                                         */
  3. /*  svpsinfo.h                                                             */
  4. /*                                                                         */
  5. /*    The FreeType PostScript info service (specification).                */
  6. /*                                                                         */
  7. /*  Copyright 2003, 2004 by                                                */
  8. /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
  9. /*                                                                         */
  10. /*  This file is part of the FreeType project, and may only be used,       */
  11. /*  modified, and distributed under the terms of the FreeType project      */
  12. /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
  13. /*  this file you indicate that you have read the license and              */
  14. /*  understand and accept it fully.                                        */
  15. /*                                                                         */
  16. /***************************************************************************/
  17. #ifndef __SVPSINFO_H__
  18. #define __SVPSINFO_H__
  19. #include FT_INTERNAL_SERVICE_H
  20. #include FT_INTERNAL_TYPE1_TYPES_H
  21. FT_BEGIN_HEADER
  22. #define FT_SERVICE_ID_POSTSCRIPT_INFO  "postscript-info"
  23.   typedef FT_Error
  24.   (*PS_GetFontInfoFunc)( FT_Face          face,
  25.                          PS_FontInfoRec*  afont_info );
  26.   typedef FT_Int
  27.   (*PS_HasGlyphNamesFunc)( FT_Face   face );
  28.   typedef FT_Error
  29.   (*PS_GetFontPrivateFunc)( FT_Face         face,
  30.                             PS_PrivateRec*  afont_private );
  31.   FT_DEFINE_SERVICE( PsInfo )
  32.   {
  33.     PS_GetFontInfoFunc     ps_get_font_info;
  34.     PS_HasGlyphNamesFunc   ps_has_glyph_names;
  35.     PS_GetFontPrivateFunc  ps_get_font_private;
  36.   };
  37.   /* */
  38. FT_END_HEADER
  39. #endif /* __SVPSINFO_H__ */
  40. /* END */