00001 /***************************************************************************/ 00002 /* */ 00003 /* t1afm.h */ 00004 /* */ 00005 /* AFM support for Type 1 fonts (specification). */ 00006 /* */ 00007 /* Copyright 1996-2001, 2002, 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 __T1AFM_H__ 00020 #define __T1AFM_H__ 00021 00022 #include <ft2build.h> 00023 #include "t1objs.h" 00024 #include FT_INTERNAL_TYPE1_TYPES_H 00025 00026 FT_BEGIN_HEADER 00027 00028 00029 FT_LOCAL( FT_Error ) 00030 T1_Read_Metrics( FT_Face face, 00031 FT_Stream stream ); 00032 00033 FT_LOCAL( void ) 00034 T1_Done_Metrics( FT_Memory memory, 00035 AFM_FontInfo fi ); 00036 00037 FT_LOCAL( void ) 00038 T1_Get_Kerning( AFM_FontInfo fi, 00039 FT_UInt glyph1, 00040 FT_UInt glyph2, 00041 FT_Vector* kerning ); 00042 00043 FT_LOCAL( FT_Error ) 00044 T1_Get_Track_Kerning( FT_Face face, 00045 FT_Fixed ptsize, 00046 FT_Int degree, 00047 FT_Fixed* kerning ); 00048 00049 FT_END_HEADER 00050 00051 #endif /* __T1AFM_H__ */ 00052 00053 00054 /* END */