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

Side by Side Diff: third_party/freetype/src/cff/cffpic.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/cff/cffparse.c ('k') | third_party/freetype/src/cff/cffpic.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 /* cffpic.h */ 3 /* cffpic.h */
4 /* */ 4 /* */
5 /* The FreeType position independent code services for cff module. */ 5 /* The FreeType position independent code services for cff 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 __CFFPIC_H__ 19 #ifndef __CFFPIC_H__
20 #define __CFFPIC_H__ 20 #define __CFFPIC_H__
21 21
22 22
23 FT_BEGIN_HEADER
24
25 #include FT_INTERNAL_PIC_H 23 #include FT_INTERNAL_PIC_H
26 24
27 25
28 #ifndef FT_CONFIG_OPTION_PIC 26 #ifndef FT_CONFIG_OPTION_PIC
29 27
30 #define CFF_SERVICE_PS_INFO_GET cff_service_ps_info 28 #define CFF_SERVICE_PS_INFO_GET cff_service_ps_info
31 #define CFF_SERVICE_GLYPH_DICT_GET cff_service_glyph_dict 29 #define CFF_SERVICE_GLYPH_DICT_GET cff_service_glyph_dict
32 #define CFF_SERVICE_PS_NAME_GET cff_service_ps_name 30 #define CFF_SERVICE_PS_NAME_GET cff_service_ps_name
33 #define CFF_SERVICE_GET_CMAP_INFO_GET cff_service_get_cmap_info 31 #define CFF_SERVICE_GET_CMAP_INFO_GET cff_service_get_cmap_info
34 #define CFF_SERVICE_CID_INFO_GET cff_service_cid_info 32 #define CFF_SERVICE_CID_INFO_GET cff_service_cid_info
35 #define CFF_SERVICE_PROPERTIES_GET cff_service_properties 33 #define CFF_SERVICE_PROPERTIES_GET cff_service_properties
36 #define CFF_SERVICES_GET cff_services 34 #define CFF_SERVICES_GET cff_services
37 #define CFF_CMAP_ENCODING_CLASS_REC_GET cff_cmap_encoding_class_rec 35 #define CFF_CMAP_ENCODING_CLASS_REC_GET cff_cmap_encoding_class_rec
38 #define CFF_CMAP_UNICODE_CLASS_REC_GET cff_cmap_unicode_class_rec 36 #define CFF_CMAP_UNICODE_CLASS_REC_GET cff_cmap_unicode_class_rec
39 #define CFF_FIELD_HANDLERS_GET cff_field_handlers 37 #define CFF_FIELD_HANDLERS_GET cff_field_handlers
40 38
41 #else /* FT_CONFIG_OPTION_PIC */ 39 #else /* FT_CONFIG_OPTION_PIC */
42 40
43 #include FT_SERVICE_GLYPH_DICT_H 41 #include FT_SERVICE_GLYPH_DICT_H
44 #include "cffparse.h" 42 #include "cffparse.h"
45 #include FT_SERVICE_POSTSCRIPT_INFO_H 43 #include FT_SERVICE_POSTSCRIPT_INFO_H
46 #include FT_SERVICE_POSTSCRIPT_NAME_H 44 #include FT_SERVICE_POSTSCRIPT_NAME_H
47 #include FT_SERVICE_TT_CMAP_H 45 #include FT_SERVICE_TT_CMAP_H
48 #include FT_SERVICE_CID_H 46 #include FT_SERVICE_CID_H
49 #include FT_SERVICE_PROPERTIES_H 47 #include FT_SERVICE_PROPERTIES_H
50 48
51 49
50 FT_BEGIN_HEADER
51
52 typedef struct CffModulePIC_ 52 typedef struct CffModulePIC_
53 { 53 {
54 FT_ServiceDescRec* cff_services; 54 FT_ServiceDescRec* cff_services;
55 CFF_Field_Handler* cff_field_handlers; 55 CFF_Field_Handler* cff_field_handlers;
56 FT_Service_PsInfoRec cff_service_ps_info; 56 FT_Service_PsInfoRec cff_service_ps_info;
57 FT_Service_GlyphDictRec cff_service_glyph_dict; 57 FT_Service_GlyphDictRec cff_service_glyph_dict;
58 FT_Service_PsFontNameRec cff_service_ps_name; 58 FT_Service_PsFontNameRec cff_service_ps_name;
59 FT_Service_TTCMapsRec cff_service_get_cmap_info; 59 FT_Service_TTCMapsRec cff_service_get_cmap_info;
60 FT_Service_CIDRec cff_service_cid_info; 60 FT_Service_CIDRec cff_service_cid_info;
61 FT_Service_PropertiesRec cff_service_properties; 61 FT_Service_PropertiesRec cff_service_properties;
(...skipping 27 matching lines...) Expand all
89 #define CFF_FIELD_HANDLERS_GET \ 89 #define CFF_FIELD_HANDLERS_GET \
90 ( GET_PIC( library )->cff_field_handlers ) 90 ( GET_PIC( library )->cff_field_handlers )
91 91
92 /* see cffpic.c for the implementation */ 92 /* see cffpic.c for the implementation */
93 void 93 void
94 cff_driver_class_pic_free( FT_Library library ); 94 cff_driver_class_pic_free( FT_Library library );
95 95
96 FT_Error 96 FT_Error
97 cff_driver_class_pic_init( FT_Library library ); 97 cff_driver_class_pic_init( FT_Library library );
98 98
99 FT_END_HEADER
100
99 #endif /* FT_CONFIG_OPTION_PIC */ 101 #endif /* FT_CONFIG_OPTION_PIC */
100 102
101 /* */ 103 /* */
102 104
103 FT_END_HEADER
104
105 #endif /* __CFFPIC_H__ */ 105 #endif /* __CFFPIC_H__ */
106 106
107 107
108 /* END */ 108 /* END */
OLDNEW
« no previous file with comments | « third_party/freetype/src/cff/cffparse.c ('k') | third_party/freetype/src/cff/cffpic.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698