5172
|
1 |
/***************************************************************************/
|
|
2 |
/* */
|
|
3 |
/* t1afm.h */
|
|
4 |
/* */
|
|
5 |
/* AFM support for Type 1 fonts (specification). */
|
|
6 |
/* */
|
|
7 |
/* Copyright 1996-2001, 2002, 2006 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 */
|