fontservices/freetypefontrasteriser/freetype2/include/freetype/internal/services/svpsinfo.h
changeset 71 6cc5529d4a89
equal deleted inserted replaced
64:f66674566702 71:6cc5529d4a89
       
     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, FTL.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 
       
    18 
       
    19 #ifndef __SVPSINFO_H__
       
    20 #define __SVPSINFO_H__
       
    21 
       
    22 #include FT_INTERNAL_SERVICE_H
       
    23 #include FT_INTERNAL_TYPE1_TYPES_H
       
    24 
       
    25 
       
    26 FT_BEGIN_HEADER
       
    27 
       
    28 
       
    29 #define FT_SERVICE_ID_POSTSCRIPT_INFO  "postscript-info"
       
    30 
       
    31 
       
    32   typedef FT_Error
       
    33   (*PS_GetFontInfoFunc)( FT_Face          face,
       
    34                          PS_FontInfoRec*  afont_info );
       
    35 
       
    36   typedef FT_Int
       
    37   (*PS_HasGlyphNamesFunc)( FT_Face   face );
       
    38 
       
    39   typedef FT_Error
       
    40   (*PS_GetFontPrivateFunc)( FT_Face         face,
       
    41                             PS_PrivateRec*  afont_private );
       
    42 
       
    43 
       
    44   FT_DEFINE_SERVICE( PsInfo )
       
    45   {
       
    46     PS_GetFontInfoFunc     ps_get_font_info;
       
    47     PS_HasGlyphNamesFunc   ps_has_glyph_names;
       
    48     PS_GetFontPrivateFunc  ps_get_font_private;
       
    49   };
       
    50 
       
    51   /* */
       
    52 
       
    53 
       
    54 FT_END_HEADER
       
    55 
       
    56 
       
    57 #endif /* __SVPSINFO_H__ */
       
    58 
       
    59 
       
    60 /* END */