zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ttkern.h
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* ttkern.h */
4 /* */
5 /* Load the basic TrueType kerning table. This doesn't handle */
6 /* kerning data within the GPOS table at the moment. */
7 /* */
8 /* Copyright 1996-2001, 2002, 2005, 2007 by */
9 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
10 /* */
11 /* This file is part of the FreeType project, and may only be used, */
12 /* modified, and distributed under the terms of the FreeType project */
13 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
14 /* this file you indicate that you have read the license and */
15 /* understand and accept it fully. */
16 /* */
17 /***************************************************************************/
18 
19 
20 #ifndef __TTKERN_H__
21 #define __TTKERN_H__
22 
23 
24 #include <ft2build.h>
25 #include FT_INTERNAL_STREAM_H
26 #include FT_INTERNAL_TRUETYPE_TYPES_H
27 
28 
30 
31 
34  FT_Stream stream );
35 
36  FT_LOCAL( void )
37  tt_face_done_kern( TT_Face face );
38 
39  FT_LOCAL( FT_Int )
41  FT_UInt left_glyph,
42  FT_UInt right_glyph );
43 
44 #define TT_FACE_HAS_KERNING( face ) ( (face)->kern_avail_bits != 0 )
45 
46 
48 
49 #endif /* __TTKERN_H__ */
50 
51 
52 /* END */
int FT_Error
Definition: fttypes.h:296
#define FT_END_HEADER
Definition: ftheader.h:54
tt_face_done_kern(TT_Face face)
Definition: ttkern.c:167
signed int FT_Int
Definition: fttypes.h:216
tt_face_get_kerning(TT_Face face, FT_UInt left_glyph, FT_UInt right_glyph)
Definition: ttkern.c:181
GLuint GLuint stream
Definition: glew.h:6573
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
#define FT_LOCAL(x)
Definition: ftconfig.h:466
GLenum face
Definition: gl2ext.h:1490
tt_face_load_kern(TT_Face face, FT_Stream stream)
Definition: ttkern.c:44
unsigned int FT_UInt
Definition: fttypes.h:227