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

Side by Side Diff: src/pshinter/pshmod.c

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/pshinter/pshglob.c ('k') | src/pshinter/pshpic.h » ('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 /* pshmod.c */ 3 /* pshmod.c */
4 /* */ 4 /* */
5 /* FreeType PostScript hinter module implementation (body). */ 5 /* FreeType PostScript hinter module implementation (body). */
6 /* */ 6 /* */
7 /* Copyright 2001, 2002, 2007 by */ 7 /* Copyright 2001, 2002, 2007, 2009, 2012 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
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 87
88 /* return Type 2 hints interface */ 88 /* return Type 2 hints interface */
89 FT_CALLBACK_DEF( T2_Hints_Funcs ) 89 FT_CALLBACK_DEF( T2_Hints_Funcs )
90 pshinter_get_t2_funcs( FT_Module module ) 90 pshinter_get_t2_funcs( FT_Module module )
91 { 91 {
92 return &((PS_Hinter_Module)module)->t2_funcs; 92 return &((PS_Hinter_Module)module)->t2_funcs;
93 } 93 }
94 94
95 95
96 FT_DEFINE_PSHINTER_INTERFACE(pshinter_interface, 96 FT_DEFINE_PSHINTER_INTERFACE(
97 pshinter_interface,
97 pshinter_get_globals_funcs, 98 pshinter_get_globals_funcs,
98 pshinter_get_t1_funcs, 99 pshinter_get_t1_funcs,
99 pshinter_get_t2_funcs 100 pshinter_get_t2_funcs )
100 )
101 101
102 102
103 FT_DEFINE_MODULE(pshinter_module_class, 103 FT_DEFINE_MODULE(
104 pshinter_module_class,
104 105
105 0, 106 0,
106 sizeof ( PS_Hinter_ModuleRec ), 107 sizeof ( PS_Hinter_ModuleRec ),
107 "pshinter", 108 "pshinter",
108 0x10000L, 109 0x10000L,
109 0x20000L, 110 0x20000L,
110 111
111 &FTPSHINTER_INTERFACE_GET, /* module-specific interface */ 112 &PSHINTER_INTERFACE_GET, /* module-specific interface */
112 113
113 (FT_Module_Constructor)ps_hinter_init, 114 (FT_Module_Constructor)ps_hinter_init,
114 (FT_Module_Destructor) ps_hinter_done, 115 (FT_Module_Destructor) ps_hinter_done,
115 (FT_Module_Requester) 0 /* no additional interface for now */ 116 (FT_Module_Requester) NULL ) /* no additional interface for now */
116 ) 117
117 118
118 /* END */ 119 /* END */
OLDNEW
« no previous file with comments | « src/pshinter/pshglob.c ('k') | src/pshinter/pshpic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698