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

Side by Side Diff: third_party/freetype/src/truetype/ttpic.h

Issue 1413673003: Update bundled freetype to 2.6.1 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: DEPS for corpus Created 5 years, 1 month 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 | « third_party/freetype/src/truetype/ttobjs.c ('k') | third_party/freetype/src/truetype/ttpic.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 /* ttpic.h */ 3 /* ttpic.h */
4 /* */ 4 /* */
5 /* The FreeType position independent code services for truetype module. */ 5 /* The FreeType position independent code services for truetype module. */
6 /* */ 6 /* */
7 /* Copyright 2009, 2012, 2013 by */ 7 /* Copyright 2009-2015 by */
8 /* Oran Agra and Mickey Gabel. */ 8 /* Oran Agra and Mickey Gabel. */
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 __TTPIC_H__ 19 #ifndef __TTPIC_H__
20 #define __TTPIC_H__ 20 #define __TTPIC_H__
21 21
22 22
23 FT_BEGIN_HEADER 23 #include FT_INTERNAL_PIC_H
24
24 25
25 #ifndef FT_CONFIG_OPTION_PIC 26 #ifndef FT_CONFIG_OPTION_PIC
26 27
27 #define TT_SERVICES_GET tt_services 28 #define TT_SERVICES_GET tt_services
28 #define TT_SERVICE_GX_MULTI_MASTERS_GET tt_service_gx_multi_masters 29 #define TT_SERVICE_GX_MULTI_MASTERS_GET tt_service_gx_multi_masters
29 #define TT_SERVICE_TRUETYPE_GLYF_GET tt_service_truetype_glyf 30 #define TT_SERVICE_TRUETYPE_GLYF_GET tt_service_truetype_glyf
30 #define TT_SERVICE_PROPERTIES_GET tt_service_properties 31 #define TT_SERVICE_PROPERTIES_GET tt_service_properties
31 32
32 #else /* FT_CONFIG_OPTION_PIC */ 33 #else /* FT_CONFIG_OPTION_PIC */
33 34
34 #include FT_MULTIPLE_MASTERS_H 35 #include FT_MULTIPLE_MASTERS_H
35 #include FT_SERVICE_MULTIPLE_MASTERS_H 36 #include FT_SERVICE_MULTIPLE_MASTERS_H
36 #include FT_SERVICE_TRUETYPE_GLYF_H 37 #include FT_SERVICE_TRUETYPE_GLYF_H
37 #include FT_SERVICE_PROPERTIES_H 38 #include FT_SERVICE_PROPERTIES_H
38 39
39 40
41 FT_BEGIN_HEADER
42
40 typedef struct TTModulePIC_ 43 typedef struct TTModulePIC_
41 { 44 {
42 FT_ServiceDescRec* tt_services; 45 FT_ServiceDescRec* tt_services;
43 #ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT 46 #ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT
44 FT_Service_MultiMastersRec tt_service_gx_multi_masters; 47 FT_Service_MultiMastersRec tt_service_gx_multi_masters;
45 #endif 48 #endif
46 FT_Service_TTGlyfRec tt_service_truetype_glyf; 49 FT_Service_TTGlyfRec tt_service_truetype_glyf;
47 FT_Service_PropertiesRec tt_service_properties; 50 FT_Service_PropertiesRec tt_service_properties;
48 51
49 } TTModulePIC; 52 } TTModulePIC;
(...skipping 11 matching lines...) Expand all
61 ( GET_PIC( library )->tt_service_properties ) 64 ( GET_PIC( library )->tt_service_properties )
62 65
63 66
64 /* see ttpic.c for the implementation */ 67 /* see ttpic.c for the implementation */
65 void 68 void
66 tt_driver_class_pic_free( FT_Library library ); 69 tt_driver_class_pic_free( FT_Library library );
67 70
68 FT_Error 71 FT_Error
69 tt_driver_class_pic_init( FT_Library library ); 72 tt_driver_class_pic_init( FT_Library library );
70 73
74 FT_END_HEADER
75
71 #endif /* FT_CONFIG_OPTION_PIC */ 76 #endif /* FT_CONFIG_OPTION_PIC */
72 77
73 /* */ 78 /* */
74 79
75
76 FT_END_HEADER
77
78 #endif /* __TTPIC_H__ */ 80 #endif /* __TTPIC_H__ */
79 81
80 82
81 /* END */ 83 /* END */
OLDNEW
« no previous file with comments | « third_party/freetype/src/truetype/ttobjs.c ('k') | third_party/freetype/src/truetype/ttpic.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698