1 /****************************************************************************
   2  *
   3  * t1afm.h
   4  *
   5  *   AFM support for Type 1 fonts (specification).
   6  *
   7  * Copyright (C) 1996-2019 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 T1AFM_H_
  20 #define T1AFM_H_
  21 
  22 #include <ft2build.h>
  23 #include "t1objs.h"
  24 #include FT_INTERNAL_TYPE1_TYPES_H
  25 
  26 FT_BEGIN_HEADER
  27 
  28 
  29   FT_LOCAL( FT_Error )
  30   T1_Read_Metrics( FT_Face    face,
  31                    FT_Stream  stream );
  32 
  33   FT_LOCAL( void )
  34   T1_Done_Metrics( FT_Memory     memory,
  35                    AFM_FontInfo  fi );
  36 
  37   FT_LOCAL( void )
  38   T1_Get_Kerning( AFM_FontInfo  fi,
  39                   FT_UInt       glyph1,
  40                   FT_UInt       glyph2,
  41                   FT_Vector*    kerning );
  42 
  43   FT_LOCAL( FT_Error )
  44   T1_Get_Track_Kerning( FT_Face    face,
  45                         FT_Fixed   ptsize,
  46                         FT_Int     degree,
  47                         FT_Fixed*  kerning );
  48 
  49 FT_END_HEADER
  50 
  51 #endif /* T1AFM_H_ */
  52 
  53 
  54 /* END */