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