Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Side by Side Diff: src/autofit/afmodule.h

Issue 89753003: Update freetype to latest version of ASOP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src/third_party/freetype.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/autofit/afloader.c ('k') | src/autofit/afmodule.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /***************************************************************************/ 1 /***************************************************************************/
2 /* */ 2 /* */
3 /* afmodule.h */ 3 /* afmodule.h */
4 /* */ 4 /* */
5 /* Auto-fitter module implementation (specification). */ 5 /* Auto-fitter module implementation (specification). */
6 /* */ 6 /* */
7 /* Copyright 2003, 2004, 2005 by */ 7 /* Copyright 2003, 2004, 2005 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
9 /* */ 9 /* */
10 /* This file is part of the FreeType project, and may only be used, */ 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 */ 11 /* modified, and distributed under the terms of the FreeType project */
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 /* this file you indicate that you have read the license and */ 13 /* this file you indicate that you have read the license and */
14 /* understand and accept it fully. */ 14 /* understand and accept it fully. */
15 /* */ 15 /* */
16 /***************************************************************************/ 16 /***************************************************************************/
17 17
18 18
19 #ifndef __AFMODULE_H__ 19 #ifndef __AFMODULE_H__
20 #define __AFMODULE_H__ 20 #define __AFMODULE_H__
21 21
22 #include <ft2build.h> 22 #include <ft2build.h>
23 #include FT_INTERNAL_OBJECTS_H 23 #include FT_INTERNAL_OBJECTS_H
24 #include FT_MODULE_H 24 #include FT_MODULE_H
25 25
26 #include "afloader.h"
27
26 28
27 FT_BEGIN_HEADER 29 FT_BEGIN_HEADER
28 30
31
32 /*
33 * This is the `extended' FT_Module structure which holds the
34 * autofitter's global data. Right before hinting a glyph, the data
35 * specific to the glyph's face (blue zones, stem widths, etc.) are
36 * loaded into `loader' (see function `af_loader_reset').
37 */
38
39 typedef struct AF_ModuleRec_
40 {
41 FT_ModuleRec root;
42
43 FT_UInt fallback_script;
44
45 AF_LoaderRec loader[1];
46
47 } AF_ModuleRec;
48
49
29 FT_DECLARE_MODULE(autofit_module_class) 50 FT_DECLARE_MODULE(autofit_module_class)
30 51
31 52
32 FT_END_HEADER 53 FT_END_HEADER
33 54
34 #endif /* __AFMODULE_H__ */ 55 #endif /* __AFMODULE_H__ */
35 56
36 57
37 /* END */ 58 /* END */
OLDNEW
« no previous file with comments | « src/autofit/afloader.c ('k') | src/autofit/afmodule.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698