00001 /***************************************************************************/ 00002 /* */ 00003 /* svkern.h */ 00004 /* */ 00005 /* The FreeType Kerning service (specification). */ 00006 /* */ 00007 /* Copyright 2006 by */ 00008 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 00009 /* */ 00010 /* This file is part of the FreeType project, and may only be used, */ 00011 /* modified, and distributed under the terms of the FreeType project */ 00012 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 00013 /* this file you indicate that you have read the license and */ 00014 /* understand and accept it fully. */ 00015 /* */ 00016 /***************************************************************************/ 00017 00018 00019 #ifndef __SVKERN_H__ 00020 #define __SVKERN_H__ 00021 00022 #include FT_INTERNAL_SERVICE_H 00023 #include FT_TRUETYPE_TABLES_H 00024 00025 00026 FT_BEGIN_HEADER 00027 00028 #define FT_SERVICE_ID_KERNING "kerning" 00029 00030 00031 typedef FT_Error 00032 (*FT_Kerning_TrackGetFunc)( FT_Face face, 00033 FT_Fixed point_size, 00034 FT_Int degree, 00035 FT_Fixed* akerning ); 00036 00037 FT_DEFINE_SERVICE( Kerning ) 00038 { 00039 FT_Kerning_TrackGetFunc get_track; 00040 }; 00041 00042 /* */ 00043 00044 00045 FT_END_HEADER 00046 00047 00048 #endif /* __SVKERN_H__ */ 00049 00050 00051 /* END */