sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
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 (C) 2004-2025 by
8 * suzuki toshiya, Masatake YAMATO, Red Hat K.K.,
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 *
21 * gxvalid is derived from both gxlayout module and otvalid module.
22 * Development of gxlayout is supported by the Information-technology
23 * Promotion Agency(IPA), Japan.
24 *
25 */
26
27
32#ifndef GXVMORT_H_
33#define GXVMORT_H_
34
35#include "gxvalid.h"
36#include "gxvcommn.h"
37
38#include <freetype/ftsnames.h>
39
40
41FT_BEGIN_HEADER
42
43
44 typedef struct GXV_mort_featureRec_
45 {
46 FT_UShort featureType;
47 FT_UShort featureSetting;
48 FT_ULong enableFlags;
49 FT_ULong disableFlags;
50
51 } GXV_mort_featureRec, *GXV_mort_feature;
52
53#define GXV_MORT_FEATURE_OFF {0, 1, 0x00000000UL, 0x00000000UL}
54
55#define IS_GXV_MORT_FEATURE_OFF( f ) \
56 ( (f).featureType == 0 || \
57 (f).featureSetting == 1 || \
58 (f).enableFlags == 0x00000000UL || \
59 (f).disableFlags == 0x00000000UL )
60
61
62 FT_LOCAL( void )
63 gxv_mort_featurearray_validate( FT_Bytes table,
64 FT_Bytes limit,
65 FT_ULong nFeatureFlags,
66 GXV_Validator gxvalid );
67
68 FT_LOCAL( void )
69 gxv_mort_coverage_validate( FT_UShort coverage,
70 GXV_Validator gxvalid );
71
72 FT_LOCAL( void )
73 gxv_mort_subtable_type0_validate( FT_Bytes table,
74 FT_Bytes limit,
75 GXV_Validator gxvalid );
76
77 FT_LOCAL( void )
78 gxv_mort_subtable_type1_validate( FT_Bytes table,
79 FT_Bytes limit,
80 GXV_Validator gxvalid );
81
82 FT_LOCAL( void )
83 gxv_mort_subtable_type2_validate( FT_Bytes table,
84 FT_Bytes limit,
85 GXV_Validator gxvalid );
86
87 FT_LOCAL( void )
88 gxv_mort_subtable_type4_validate( FT_Bytes table,
89 FT_Bytes limit,
90 GXV_Validator gxvalid );
91
92 FT_LOCAL( void )
93 gxv_mort_subtable_type5_validate( FT_Bytes table,
94 FT_Bytes limit,
95 GXV_Validator gxvalid );
96
97
98FT_END_HEADER
99
100#endif /* GXVMORT_H_ */
101
102
103/* END */