zenilib: zenilib/jni/external/freetype2/src/gxvalid/gxvmort.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
gxvmort.h
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* gxvmort.h */
4 /* */
5 /* TrueTypeGX/AAT common definition for mort table (specification). */
6 /* */
7 /* Copyright 2004, 2005 by suzuki toshiya, Masatake YAMATO, Red Hat K.K., */
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 /* */
20 /* gxvalid is derived from both gxlayout module and otvalid module. */
21 /* Development of gxlayout is supported by the Information-technology */
22 /* Promotion Agency(IPA), Japan. */
23 /* */
24 /***************************************************************************/
25
26
27 #ifndef __GXVMORT_H__
28 #define __GXVMORT_H__
29
30 #include "gxvalid.h"
31 #include "gxvcommn.h"
32
33 #include FT_SFNT_NAMES_H
34
35
36 typedef struct GXV_mort_featureRec_
37 {
38 FT_UShort featureType;
39 FT_UShort featureSetting;
40 FT_ULong enableFlags;
41 FT_ULong disableFlags;
42
43 } GXV_mort_featureRec, *GXV_mort_feature;
44
45 #define GXV_MORT_FEATURE_OFF {0, 1, 0x00000000UL, 0x00000000UL}
46
47 #define IS_GXV_MORT_FEATURE_OFF( f ) \
48 ( (f).featureType == 0 || \
49 (f).featureSetting == 1 || \
50 (f).enableFlags == 0x00000000UL || \
51 (f).disableFlags == 0x00000000UL )
52
53
54 FT_LOCAL( void )
55 gxv_mort_featurearray_validate( FT_Bytes table,
56 FT_Bytes limit,
57 FT_ULong nFeatureFlags,
58 GXV_Validator valid );
59
60 FT_LOCAL( void )
61 gxv_mort_coverage_validate( FT_UShort coverage,
62 GXV_Validator valid );
63
64 FT_LOCAL( void )
65 gxv_mort_subtable_type0_validate( FT_Bytes table,
66 FT_Bytes limit,
67 GXV_Validator valid );
68
69 FT_LOCAL( void )
70 gxv_mort_subtable_type1_validate( FT_Bytes table,
71 FT_Bytes limit,
72 GXV_Validator valid );
73
74 FT_LOCAL( void )
75 gxv_mort_subtable_type2_validate( FT_Bytes table,
76 FT_Bytes limit,
77 GXV_Validator valid );
78
79 FT_LOCAL( void )
80 gxv_mort_subtable_type4_validate( FT_Bytes table,
81 FT_Bytes limit,
82 GXV_Validator valid );
83
84 FT_LOCAL( void )
85 gxv_mort_subtable_type5_validate( FT_Bytes table,
86 FT_Bytes limit,
87 GXV_Validator valid );
88
89
90 #endif /* __GXVMORT_H__ */
91
92
93 /* END */
table
GLenum GLsizei GLenum GLenum const GLvoid * table
Definition: glew.h:4422
FT_ULong
unsigned long FT_ULong
Definition: fttypes.h:249
gxvalid.h
GXV_mort_featureRec
struct GXV_mort_featureRec_ GXV_mort_featureRec
GXV_mort_featureRec_::featureType
FT_UShort featureType
Definition: gxvmort.h:38
FT_LOCAL
#define FT_LOCAL(x)
Definition: ftconfig.h:466
gxv_mort_subtable_type1_validate
gxv_mort_subtable_type1_validate(FT_Bytes table, FT_Bytes limit, GXV_Validator valid)
Definition: gxvmort1.c:224
gxv_mort_featurearray_validate
gxv_mort_featurearray_validate(FT_Bytes table, FT_Bytes limit, FT_ULong nFeatureFlags, GXV_Validator valid)
Definition: gxvmort.c:89
GXV_mort_feature
struct GXV_mort_featureRec_ * GXV_mort_feature
limit
GLint limit
Definition: glew.h:11829
gxv_mort_subtable_type0_validate
gxv_mort_subtable_type0_validate(FT_Bytes table, FT_Bytes limit, GXV_Validator valid)
Definition: gxvmort0.c:126
FT_Bytes
const FT_Byte * FT_Bytes
Definition: fttypes.h:161
gxv_mort_subtable_type5_validate
gxv_mort_subtable_type5_validate(FT_Bytes table, FT_Bytes limit, GXV_Validator valid)
Definition: gxvmort5.c:202
GXV_mort_featureRec_::enableFlags
FT_ULong enableFlags
Definition: gxvmort.h:40
GXV_mort_featureRec_
Definition: gxvmort.h:36
gxv_mort_subtable_type2_validate
gxv_mort_subtable_type2_validate(FT_Bytes table, FT_Bytes limit, GXV_Validator valid)
Definition: gxvmort2.c:276
gxvcommn.h
GXV_mort_featureRec_::disableFlags
FT_ULong disableFlags
Definition: gxvmort.h:41
FT_UShort
unsigned short FT_UShort
Definition: fttypes.h:205
GXV_mort_featureRec_::featureSetting
FT_UShort featureSetting
Definition: gxvmort.h:39
gxv_mort_subtable_type4_validate
gxv_mort_subtable_type4_validate(FT_Bytes table, FT_Bytes limit, GXV_Validator valid)
Definition: gxvmort4.c:105
GXV_ValidatorRec_
Definition: gxvcommn.h:237
gxv_mort_coverage_validate
gxv_mort_coverage_validate(FT_UShort coverage, GXV_Validator valid)
Definition: gxvmort.c:121