2 |
/* */ |
/* */ |
3 |
/* ttkern.h */ |
/* ttkern.h */ |
4 |
/* */ |
/* */ |
5 |
/* Load the basic TrueType kerning table. This doesn't handle */ |
/* Load the basic TrueType kerning table. This doesn't handle */ |
6 |
/* kerning data within the GPOS table at the moment. */ |
/* kerning data within the GPOS table at the moment. */ |
7 |
/* */ |
/* */ |
8 |
/* Copyright 1996-2001, 2002 by */ |
/* Copyright 1996-2001, 2002, 2005 by */ |
9 |
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
10 |
/* */ |
/* */ |
11 |
/* This file is part of the FreeType project, and may only be used, */ |
/* This file is part of the FreeType project, and may only be used, */ |
42 |
FT_UInt right_glyph ); |
FT_UInt right_glyph ); |
43 |
|
|
44 |
#ifdef FT_OPTIMIZE_MEMORY |
#ifdef FT_OPTIMIZE_MEMORY |
45 |
# define TT_FACE_HAS_KERNING(face) ((face)->kern_avail_bits != 0) |
# define TT_FACE_HAS_KERNING( face ) ( (face)->kern_avail_bits != 0 ) |
46 |
#else |
#else |
47 |
# define TT_FACE_HAS_KERNING(face) ((face)->kern_pairs != NULL) |
# define TT_FACE_HAS_KERNING( face ) ( (face)->kern_pairs != NULL ) |
48 |
#endif |
#endif |
49 |
|
|
50 |
|
|
51 |
FT_END_HEADER |
FT_END_HEADER |
52 |
|
|
53 |
#endif /* __TTKERN_H__ */ |
#endif /* __TTKERN_H__ */ |