sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
otvalid.h
Go to the documentation of this file.
1/****************************************************************************
2 *
3 * otvalid.h
4 *
5 * OpenType table validation (specification only).
6 *
7 * Copyright (C) 2004-2025 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
23#ifndef OTVALID_H_
24#define OTVALID_H_
25
26
27#include <freetype/freetype.h>
28
29#include "otverror.h" /* must come before `ftvalid.h' */
30
33
34
35FT_BEGIN_HEADER
36
37
38 FT_LOCAL( void )
39 otv_BASE_validate( FT_Bytes table,
40 FT_Validator valid );
41
42 /* GSUB and GPOS tables should already be validated; */
43 /* if missing, set corresponding argument to 0 */
44 FT_LOCAL( void )
45 otv_GDEF_validate( FT_Bytes table,
46 FT_Bytes gsub,
47 FT_Bytes gpos,
48 FT_UInt glyph_count,
49 FT_Validator valid );
50
51 FT_LOCAL( void )
52 otv_GPOS_validate( FT_Bytes table,
53 FT_UInt glyph_count,
54 FT_Validator valid );
55
56 FT_LOCAL( void )
57 otv_GSUB_validate( FT_Bytes table,
58 FT_UInt glyph_count,
59 FT_Validator valid );
60
61 /* GSUB and GPOS tables should already be validated; */
62 /* if missing, set corresponding argument to 0 */
63 FT_LOCAL( void )
64 otv_JSTF_validate( FT_Bytes table,
65 FT_Bytes gsub,
66 FT_Bytes gpos,
67 FT_UInt glyph_count,
68 FT_Validator valid );
69
70 FT_LOCAL( void )
71 otv_MATH_validate( FT_Bytes table,
72 FT_UInt glyph_count,
73 FT_Validator ftvalid );
74
75
76FT_END_HEADER
77
78#endif /* OTVALID_H_ */
79
80
81/* END */