Home | History | Annotate | Download | only in services
      1 /***************************************************************************/
      2 /*                                                                         */
      3 /*  svkern.h                                                               */
      4 /*                                                                         */
      5 /*    The FreeType Kerning service (specification).                        */
      6 /*                                                                         */
      7 /*  Copyright 2006-2015 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 
     18 
     19 #ifndef __SVKERN_H__
     20 #define __SVKERN_H__
     21 
     22 #include FT_INTERNAL_SERVICE_H
     23 #include FT_TRUETYPE_TABLES_H
     24 
     25 
     26 FT_BEGIN_HEADER
     27 
     28 #define FT_SERVICE_ID_KERNING  "kerning"
     29 
     30 
     31   typedef FT_Error
     32   (*FT_Kerning_TrackGetFunc)( FT_Face    face,
     33                               FT_Fixed   point_size,
     34                               FT_Int     degree,
     35                               FT_Fixed*  akerning );
     36 
     37   FT_DEFINE_SERVICE( Kerning )
     38   {
     39     FT_Kerning_TrackGetFunc  get_track;
     40   };
     41 
     42   /* */
     43 
     44 
     45 FT_END_HEADER
     46 
     47 
     48 #endif /* __SVKERN_H__ */
     49 
     50 
     51 /* END */
     52