Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
otvalid.h
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* otvalid.h */
4 /* */
5 /* OpenType table validation (specification only). */
6 /* */
7 /* Copyright 2004, 2008 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 __OTVALID_H__
20 #define __OTVALID_H__
21 
22 
23 #include <ft2build.h>
24 #include FT_FREETYPE_H
25 
26 #include "otverror.h" /* must come before FT_INTERNAL_VALIDATE_H */
27 
28 #include FT_INTERNAL_VALIDATE_H
29 #include FT_INTERNAL_STREAM_H
30 
31 
33 
34 
35  FT_LOCAL( void )
37  FT_Validator valid );
38 
39  /* GSUB and GPOS tables should already be validated; */
40  /* if missing, set corresponding argument to 0 */
41  FT_LOCAL( void )
43  FT_Bytes gsub,
44  FT_Bytes gpos,
45  FT_UInt glyph_count,
46  FT_Validator valid );
47 
48  FT_LOCAL( void )
50  FT_UInt glyph_count,
51  FT_Validator valid );
52 
53  FT_LOCAL( void )
55  FT_UInt glyph_count,
56  FT_Validator valid );
57 
58  /* GSUB and GPOS tables should already be validated; */
59  /* if missing, set corresponding argument to 0 */
60  FT_LOCAL( void )
62  FT_Bytes gsub,
63  FT_Bytes gpos,
64  FT_UInt glyph_count,
65  FT_Validator valid );
66 
67  FT_LOCAL( void )
69  FT_UInt glyph_count,
70  FT_Validator ftvalid );
71 
72 
74 
75 #endif /* __OTVALID_H__ */
76 
77 
78 /* END */
FT_BEGIN_HEADER otv_BASE_validate(FT_Bytes table, FT_Validator valid)
Definition: otvbase.c:280
#define FT_END_HEADER
Definition: ftheader.h:54
otv_JSTF_validate(FT_Bytes table, FT_Bytes gsub, FT_Bytes gpos, FT_UInt glyph_count, FT_Validator valid)
Definition: otvjstf.c:205
otv_GPOS_validate(FT_Bytes table, FT_UInt glyph_count, FT_Validator valid)
Definition: otvgpos.c:978
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
otv_GSUB_validate(FT_Bytes table, FT_UInt glyph_count, FT_Validator valid)
Definition: otvgsub.c:546
#define FT_LOCAL(x)
Definition: ftconfig.h:235
typedefFT_BEGIN_HEADER struct FT_ValidatorRec_ volatile * FT_Validator
Definition: ftvalid.h:42
otv_GDEF_validate(FT_Bytes table, FT_Bytes gsub, FT_Bytes gpos, FT_UInt glyph_count, FT_Validator valid)
Definition: otvgdef.c:147
const FT_Byte * FT_Bytes
Definition: fttypes.h:161
otv_MATH_validate(FT_Bytes table, FT_UInt glyph_count, FT_Validator ftvalid)
Definition: otvmath.c:416
unsigned int FT_UInt
Definition: fttypes.h:227
GLenum GLsizei GLenum GLenum const GLvoid * table