zenilib: zenilib/jni/external/freetype2/src/sfnt/ttmtx.h Source File

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ttmtx.h
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* ttmtx.h */
4 /* */
5 /* Load the metrics tables common to TTF and OTF fonts (specification). */
6 /* */
7 /* Copyright 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 __TTMTX_H__
20 #define __TTMTX_H__
21
22
23 #include <ft2build.h>
24 #include FT_INTERNAL_STREAM_H
25 #include FT_INTERNAL_TRUETYPE_TYPES_H
26
27
28 FT_BEGIN_HEADER
29
30
31 FT_LOCAL( FT_Error )
32 tt_face_load_hhea( TT_Face face,
33 FT_Stream stream,
34 FT_Bool vertical );
35
36
37 FT_LOCAL( FT_Error )
38 tt_face_load_hmtx( TT_Face face,
39 FT_Stream stream,
40 FT_Bool vertical );
41
42
43 FT_LOCAL( FT_Error )
44 tt_face_get_metrics( TT_Face face,
45 FT_Bool vertical,
46 FT_UInt gindex,
47 FT_Short* abearing,
48 FT_UShort* aadvance );
49
50 FT_END_HEADER
51
52 #endif /* __TTMTX_H__ */
53
54
55 /* END */
FT_Error
int FT_Error
Definition: fttypes.h:296
FT_END_HEADER
#define FT_END_HEADER
Definition: ftheader.h:54
tt_face_load_hhea
tt_face_load_hhea(TT_Face face, FT_Stream stream, FT_Bool vertical)
Definition: ttmtx.c:256
stream
GLuint GLuint stream
Definition: glew.h:6573
tt_face_get_metrics
tt_face_get_metrics(TT_Face face, FT_Bool vertical, FT_UInt gindex, FT_Short *abearing, FT_UShort *aadvance)
Definition: ttmtx.c:349
FT_Bool
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition: fttypes.h:104
FT_BEGIN_HEADER
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
FT_LOCAL
#define FT_LOCAL(x)
Definition: ftconfig.h:466
face
GLenum face
Definition: gl2ext.h:1490
FT_Short
signed short FT_Short
Definition: fttypes.h:194
ft2build.h
FT_UInt
unsigned int FT_UInt
Definition: fttypes.h:227
tt_face_load_hmtx
tt_face_load_hmtx(TT_Face face, FT_Stream stream, FT_Bool vertical)
Definition: ttmtx.c:66
FT_UShort
unsigned short FT_UShort
Definition: fttypes.h:205
FT_StreamRec_
Definition: ftsystem.h:321
TT_FaceRec_
Definition: tttypes.h:1258