sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
afmodule.h
Go to the documentation of this file.
1/****************************************************************************
2 *
3 * afmodule.h
4 *
5 * Auto-fitter module implementation (specification).
6 *
7 * Copyright (C) 2003-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 AFMODULE_H_
24#define AFMODULE_H_
25
27#include <freetype/ftmodapi.h>
28
29#include "ft-hb.h"
30
31FT_BEGIN_HEADER
32
33
34 /*
35 * This is the `extended' FT_Module structure that holds the
36 * autofitter's global data.
37 */
38
39 typedef struct AF_ModuleRec_
40 {
41 FT_ModuleRec root;
42
43 FT_UInt fallback_style;
44 AF_Script default_script;
45 FT_Bool no_stem_darkening;
46 FT_Int darken_params[8];
47
48#if defined( FT_CONFIG_OPTION_USE_HARFBUZZ ) && \
49 defined( FT_CONFIG_OPTION_USE_HARFBUZZ_DYNAMIC )
50 ft_hb_funcs_t* hb_funcs;
51#endif
52
53 } AF_ModuleRec, *AF_Module;
54
55
56FT_DECLARE_AUTOHINTER_INTERFACE( af_autofitter_interface )
57FT_DECLARE_MODULE( autofit_module_class )
58
59
60FT_END_HEADER
61
62#endif /* AFMODULE_H_ */
63
64
65/* END */