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

Side by Side Diff: core/src/fxge/fx_freetype/fxft2.5.01/include/foxitnames.h

Issue 815103002: Update freetype to 2.5.4. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Adjust GYP and GN Created 6 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
OLDNEW
(Empty)
1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #ifndef _FX_FREETYPE_DONT_RENAME_
8
9 #ifdef _MSC_VER
10 #define _CRT_SECURE_NO_WARNINGS
11 #endif
12
13 // To avoid any possible linking confliction, we rename all FreeType exported na mes
14
15 #define FT_Init_FreeType FPDFAPI_FT_Init_FreeType
16 #define FT_Done_FreeType FPDFAPI_FT_Done_FreeType
17 #define FT_New_Face FPDFAPI_FT_New_Face
18 #define FT_Select_Charmap FPDFAPI_FT_Select_Charmap
19 #define FT_Done_Face FPDFAPI_FT_Done_Face
20 #define FT_Get_Charmap_Index FPDFAPI_FT_Get_Charmap_Index
21 #define FT_New_Memory_Face FPDFAPI_FT_New_Memory_Face
22 #define FT_MulDiv FPDFAPI_FT_MulDiv
23 #define FT_Vector_Transform FPDFAPI_FT_Vector_Transform
24 #define FT_Cos FPDFAPI_FT_Cos
25 #define FT_Sin FPDFAPI_FT_Sin
26 #define FT_Load_Glyph FPDFAPI_FT_Load_Glyph
27 #define FT_DivFix FPDFAPI_FT_DivFix
28 #define FT_Realloc FPDFAPI_FT_Realloc
29 #define FT_Alloc FPDFAPI_FT_Alloc
30 #define FT_Get_Char_Index FPDFAPI_FT_Get_Char_Index
31 #define FT_GlyphLoader_CheckPoints FPDFAPI_FT_GlyphLoader_CheckPoints
32 #define FT_GlyphLoader_Add FPDFAPI_FT_GlyphLoader_Add
33 #define FT_GlyphLoader_CheckSubGlyphs FPDFAPI_FT_GlyphLoader_CheckSubGlyphs
34 #define FT_Outline_Translate FPDFAPI_FT_Outline_Translate
35 #define FT_Outline_Transform FPDFAPI_FT_Outline_Transform
36 #define FT_Outline_Get_CBox FPDFAPI_FT_Outline_Get_CBox
37 #define FT_GlyphLoader_Rewind FPDFAPI_FT_GlyphLoader_Rewind
38 #define FT_GlyphLoader_CopyPoints FPDFAPI_FT_GlyphLoader_CopyPoints
39 #define FT_GlyphLoader_New FPDFAPI_FT_GlyphLoader_New
40 #define FT_GlyphLoader_CreateExtra FPDFAPI_FT_GlyphLoader_CreateExtra
41 #define FT_Free FPDFAPI_FT_Free
42 #define FT_Set_Charmap FPDFAPI_FT_Set_Charmap
43 #define FT_GlyphLoader_Done FPDFAPI_FT_GlyphLoader_Done
44 #define _debug_mem_dummy FPDFAPI__debug_mem_dummy
45 #define _debug_mem_dummy FPDFAPI__debug_mem_dummy
46 #define FT_QAlloc FPDFAPI_FT_QAlloc
47 #define FT_QRealloc FPDFAPI_FT_QRealloc
48 #define FT_List_Find FPDFAPI_FT_List_Find
49 #define FT_List_Add FPDFAPI_FT_List_Add
50 #define FT_List_Insert FPDFAPI_FT_List_Insert
51 #define FT_List_Remove FPDFAPI_FT_List_Remove
52 #define FT_List_Up FPDFAPI_FT_List_Up
53 #define FT_List_Iterate FPDFAPI_FT_List_Iterate
54 #define FT_List_Finalize FPDFAPI_FT_List_Finalize
55 #define ft_highpow2 FPDFAPI_ft_highpow2
56 #define FT_Stream_OpenMemory FPDFAPI_FT_Stream_OpenMemory
57 #define FT_Stream_Close FPDFAPI_FT_Stream_Close
58 #define FT_Stream_Seek FPDFAPI_FT_Stream_Seek
59 #define FT_Stream_Skip FPDFAPI_FT_Stream_Skip
60 #define FT_Stream_Pos FPDFAPI_FT_Stream_Pos
61 #define FT_Stream_ReadAt FPDFAPI_FT_Stream_ReadAt
62 #define FT_Stream_Read FPDFAPI_FT_Stream_Read
63 #define FT_Stream_TryRead FPDFAPI_FT_Stream_TryRead
64 #define FT_Stream_EnterFrame FPDFAPI_FT_Stream_EnterFrame
65 #define FT_Stream_ExtractFrame FPDFAPI_FT_Stream_ExtractFrame
66 #define FT_Stream_ReleaseFrame FPDFAPI_FT_Stream_ReleaseFrame
67 #define FT_Stream_ExitFrame FPDFAPI_FT_Stream_ExitFrame
68 #define FT_Stream_GetChar FPDFAPI_FT_Stream_GetChar
69 #define FT_Stream_GetShort FPDFAPI_FT_Stream_GetShort
70 #define FT_Stream_GetShortLE FPDFAPI_FT_Stream_GetShortLE
71 #define FT_Stream_GetOffset FPDFAPI_FT_Stream_GetOffset
72 #define FT_Stream_GetLong FPDFAPI_FT_Stream_GetLong
73 #define FT_Stream_GetLongLE FPDFAPI_FT_Stream_GetLongLE
74 #define FT_Stream_ReadChar FPDFAPI_FT_Stream_ReadChar
75 #define FT_Stream_ReadShort FPDFAPI_FT_Stream_ReadShort
76 #define FT_Stream_ReadShortLE FPDFAPI_FT_Stream_ReadShortLE
77 #define FT_Stream_ReadOffset FPDFAPI_FT_Stream_ReadOffset
78 #define FT_Stream_ReadLong FPDFAPI_FT_Stream_ReadLong
79 #define FT_Stream_ReadLongLE FPDFAPI_FT_Stream_ReadLongLE
80 #define FT_Stream_ReadFields FPDFAPI_FT_Stream_ReadFields
81 #define FT_RoundFix FPDFAPI_FT_RoundFix
82 #define FT_CeilFix FPDFAPI_FT_CeilFix
83 #define FT_FloorFix FPDFAPI_FT_FloorFix
84 #define FT_Sqrt32 FPDFAPI_FT_Sqrt32
85 #define FT_SqrtFixed FPDFAPI_FT_SqrtFixed
86 #define FT_Tan FPDFAPI_FT_Tan
87 #define FT_Atan2 FPDFAPI_FT_Atan2
88 #define FT_Vector_Unit FPDFAPI_FT_Vector_Unit
89 #define FT_Vector_Rotate FPDFAPI_FT_Vector_Rotate
90 #define FT_Vector_Length FPDFAPI_FT_Vector_Length
91 #define FT_Vector_Polarize FPDFAPI_FT_Vector_Polarize
92 #define FT_Vector_From_Polar FPDFAPI_FT_Vector_From_Polar
93 #define FT_Angle_Diff FPDFAPI_FT_Angle_Diff
94 #define FT_Outline_Decompose FPDFAPI_FT_Outline_Decompose
95 #define FT_Outline_Done_Internal FPDFAPI_FT_Outline_Done_Internal
96 #define FT_Outline_New_Internal FPDFAPI_FT_Outline_New_Internal
97 #define FT_Outline_New FPDFAPI_FT_Outline_New
98 #define FT_Outline_Check FPDFAPI_FT_Outline_Check
99 #define FT_Outline_Copy FPDFAPI_FT_Outline_Copy
100 #define FT_Outline_Done FPDFAPI_FT_Outline_Done
101 #define FT_Outline_Reverse FPDFAPI_FT_Outline_Reverse
102 #define FT_Set_Renderer FPDFAPI_FT_Set_Renderer
103 #define FT_Lookup_Renderer FPDFAPI_FT_Lookup_Renderer
104 #define FT_Outline_Render FPDFAPI_FT_Outline_Render
105 #define FT_Outline_Get_Bitmap FPDFAPI_FT_Outline_Get_Bitmap
106 #define FT_Outline_Get_Orientation FPDFAPI_FT_Outline_Get_Orientation
107 #define FT_Outline_Embolden FPDFAPI_FT_Outline_Embolden
108 #define FT_GlyphLoader_Reset FPDFAPI_FT_GlyphLoader_Reset
109 #define FT_GlyphLoader_Prepare FPDFAPI_FT_GlyphLoader_Prepare
110 #define ft_service_list_lookup FPDFAPI_ft_service_list_lookup
111 #define ft_validator_init FPDFAPI_ft_validator_init
112 #define ft_validator_run FPDFAPI_ft_validator_run
113 #define ft_validator_error FPDFAPI_ft_validator_error
114 #define FT_Stream_New FPDFAPI_FT_Stream_New
115 #define FT_Stream_Free FPDFAPI_FT_Stream_Free
116 #define ft_glyphslot_free_bitmap FPDFAPI_ft_glyphslot_free_bitmap
117 #define ft_glyphslot_set_bitmap FPDFAPI_ft_glyphslot_set_bitmap
118 #define FT_GlyphSlot_Own_Bitmap FPDFAPI_FT_GlyphSlot_Own_Bitmap
119 #define ft_glyphslot_alloc_bitmap FPDFAPI_ft_glyphslot_alloc_bitmap
120 #define FT_New_GlyphSlot FPDFAPI_FT_New_GlyphSlot
121 #define FT_Done_GlyphSlot FPDFAPI_FT_Done_GlyphSlot
122 #define FT_Set_Transform FPDFAPI_FT_Set_Transform
123 #define FT_Render_Glyph_Internal FPDFAPI_FT_Render_Glyph_Internal
124 #define FT_Render_Glyph FPDFAPI_FT_Render_Glyph
125 #define FT_Load_Char FPDFAPI_FT_Load_Char
126 #define FT_New_Size FPDFAPI_FT_New_Size
127 #define FT_Open_Face FPDFAPI_FT_Open_Face
128 #define FT_Attach_Stream FPDFAPI_FT_Attach_Stream
129 #define FT_Attach_File FPDFAPI_FT_Attach_File
130 #define FT_Done_Size FPDFAPI_FT_Done_Size
131 #define FT_Set_Char_Size FPDFAPI_FT_Set_Char_Size
132 #define FT_Set_Pixel_Sizes FPDFAPI_FT_Set_Pixel_Sizes
133 #define FT_Get_Kerning FPDFAPI_FT_Get_Kerning
134 #define FT_CMap_Done FPDFAPI_FT_CMap_Done
135 #define FT_CMap_New FPDFAPI_FT_CMap_New
136 #define FT_Get_Next_Char FPDFAPI_FT_Get_Next_Char
137 #define FT_Get_First_Char FPDFAPI_FT_Get_First_Char
138 #define FT_Get_Name_Index FPDFAPI_FT_Get_Name_Index
139 #define FT_Get_Glyph_Name FPDFAPI_FT_Get_Glyph_Name
140 #define FT_Get_Postscript_Name FPDFAPI_FT_Get_Postscript_Name
141 #define FT_Get_Sfnt_Table FPDFAPI_FT_Get_Sfnt_Table
142 #define FT_Load_Sfnt_Table FPDFAPI_FT_Load_Sfnt_Table
143 #define FT_Sfnt_Table_Info FPDFAPI_FT_Sfnt_Table_Info
144 #define FT_Get_CMap_Language_ID FPDFAPI_FT_Get_CMap_Language_ID
145 #define FT_Activate_Size FPDFAPI_FT_Activate_Size
146 #define FT_Get_Renderer FPDFAPI_FT_Get_Renderer
147 #define FT_Remove_Module FPDFAPI_FT_Remove_Module
148 #define FT_Add_Module FPDFAPI_FT_Add_Module
149 #define FT_Get_Module FPDFAPI_FT_Get_Module
150 #define FT_Get_Module_Interface FPDFAPI_FT_Get_Module_Interface
151 #define ft_module_get_service FPDFAPI_ft_module_get_service
152 #define FT_New_Library FPDFAPI_FT_New_Library
153 #define FT_Library_Version FPDFAPI_FT_Library_Version
154 #define FT_Done_Library FPDFAPI_FT_Done_Library
155 #define FT_Set_Debug_Hook FPDFAPI_FT_Set_Debug_Hook
156 #define FT_Raccess_Get_HeaderInfo FPDFAPI_FT_Raccess_Get_HeaderInfo
157 #define FT_Raccess_Get_DataOffsets FPDFAPI_FT_Raccess_Get_DataOffsets
158 #define FT_Raccess_Guess FPDFAPI_FT_Raccess_Guess
159 #define af_dummy_script_class FPDFAPI_af_dummy_script_class
160 #define af_latin_script_class FPDFAPI_af_latin_script_class
161 #define af_cjk_script_class FPDFAPI_af_cjk_script_class
162 #define af_autofitter_service FPDFAPI_af_autofitter_service
163 #define autofit_module_class FPDFAPI_autofit_module_class
164 #define cff_cmap_encoding_class_rec FPDFAPI_cff_cmap_encoding_class_rec
165 #define cff_cmap_unicode_class_rec FPDFAPI_cff_cmap_unicode_class_rec
166 #define cff_driver_class FPDFAPI_cff_driver_class
167 #define FT_Stream_Open FPDFAPI_FT_Stream_Open
168 #define FT_New_Memory FPDFAPI_FT_New_Memory
169 #define FT_Done_Memory FPDFAPI_FT_Done_Memory
170 #define ft_mem_qalloc FPDFAPI_ft_mem_qalloc
171 #define ft_mem_alloc FPDFAPI_ft_mem_alloc
172 #define ft_mem_free FPDFAPI_ft_mem_free
173 #define ft_mem_qrealloc FPDFAPI_ft_mem_qrealloc
174 #define ft_mem_realloc FPDFAPI_ft_mem_realloc
175 #define FT_Get_TrueType_Engine_Type FPDFAPI_FT_Get_TrueType_Engine_Type
176 #define ft_stub_set_char_sizes FPDFAPI_ft_stub_set_char_sizes
177 #define ft_stub_set_pixel_sizes FPDFAPI_ft_stub_set_pixel_sizes
178 #define FT_Get_SubGlyph_Info FPDFAPI_FT_Get_SubGlyph_Info
179 #define FT_Get_Sfnt_Name_Count FPDFAPI_FT_Get_Sfnt_Name_Count
180 #define FT_Get_Sfnt_Name FPDFAPI_FT_Get_Sfnt_Name
181 #define FT_Bitmap_New FPDFAPI_FT_Bitmap_New
182 #define FT_Bitmap_Copy FPDFAPI_FT_Bitmap_Copy
183 #define FT_Bitmap_Done FPDFAPI_FT_Bitmap_Done
184 #define FT_Bitmap_Convert FPDFAPI_FT_Bitmap_Convert
185 #define FT_Bitmap_Embolden FPDFAPI_FT_Bitmap_Embolden
186 #define ft_bitmap_glyph_class FPDFAPI_ft_bitmap_glyph_class
187 #define ft_outline_glyph_class FPDFAPI_ft_outline_glyph_class
188 #define FT_Matrix_Multiply FPDFAPI_FT_Matrix_Multiply
189 #define FT_Matrix_Invert FPDFAPI_FT_Matrix_Invert
190 #define FT_Done_Glyph FPDFAPI_FT_Done_Glyph
191 #define FT_Glyph_Copy FPDFAPI_FT_Glyph_Copy
192 #define FT_Get_Glyph FPDFAPI_FT_Get_Glyph
193 #define FT_Glyph_Transform FPDFAPI_FT_Glyph_Transform
194 #define FT_Glyph_Get_CBox FPDFAPI_FT_Glyph_Get_CBox
195 #define FT_Glyph_To_Bitmap FPDFAPI_FT_Glyph_To_Bitmap
196 #define FT_Add_Default_Modules FPDFAPI_FT_Add_Default_Modules
197 #define FT_Get_Multi_Master FPDFAPI_FT_Get_Multi_Master
198 #define FT_Get_MM_Var FPDFAPI_FT_Get_MM_Var
199 #define FT_Set_MM_Design_Coordinates FPDFAPI_FT_Set_MM_Design_Coordinates
200 #define FT_Set_Var_Design_Coordinates FPDFAPI_FT_Set_Var_Design_Coordinates
201 #define FT_Set_MM_Blend_Coordinates FPDFAPI_FT_Set_MM_Blend_Coordinates
202 #define FT_Set_Var_Blend_Coordinates FPDFAPI_FT_Set_Var_Blend_Coordinates
203 #define ps_table_funcs FPDFAPI_ps_table_funcs
204 #define ps_parser_funcs FPDFAPI_ps_parser_funcs
205 #define t1_builder_funcs FPDFAPI_t1_builder_funcs
206 #define t1_decoder_funcs FPDFAPI_t1_decoder_funcs
207 #define afm_parser_funcs FPDFAPI_afm_parser_funcs
208 #define t1_cmap_classes FPDFAPI_t1_cmap_classes
209 #define t1_cmap_standard_class_rec FPDFAPI_t1_cmap_standard_class_rec
210 #define t1_cmap_expert_class_rec FPDFAPI_t1_cmap_expert_class_rec
211 #define t1_cmap_custom_class_rec FPDFAPI_t1_cmap_custom_class_rec
212 #define t1_cmap_unicode_class_rec FPDFAPI_t1_cmap_unicode_class_rec
213 #define psaux_module_class FPDFAPI_psaux_module_class
214 #define pshinter_module_class FPDFAPI_pshinter_module_class
215 #define ps_hints_apply FPDFAPI_ps_hints_apply
216 #define psnames_module_class FPDFAPI_psnames_module_class
217 #define ft_raster1_renderer_class FPDFAPI_ft_raster1_renderer_class
218 #define ft_standard_raster FPDFAPI_ft_standard_raster
219 #define ft_raster5_renderer_class FPDFAPI_ft_raster5_renderer_class
220 #define tt_cmap0_class_rec FPDFAPI_tt_cmap0_class_rec
221 #define tt_cmap2_class_rec FPDFAPI_tt_cmap2_class_rec
222 #define tt_cmap4_class_rec FPDFAPI_tt_cmap4_class_rec
223 #define tt_cmap6_class_rec FPDFAPI_tt_cmap6_class_rec
224 #define tt_cmap8_class_rec FPDFAPI_tt_cmap8_class_rec
225 #define tt_cmap10_class_rec FPDFAPI_tt_cmap10_class_rec
226 #define tt_cmap12_class_rec FPDFAPI_tt_cmap12_class_rec
227 #define tt_cmap13_class_rec FPDFAPI_tt_cmap13_class_rec
228 #define tt_cmap14_class_rec FPDFAPI_tt_cmap14_class_rec
229 #define sfnt_module_class FPDFAPI_sfnt_module_class
230 #define ft_grays_raster FPDFAPI_ft_grays_raster
231 #define ft_smooth_renderer_class FPDFAPI_ft_smooth_renderer_class
232 #define ft_smooth_lcd_renderer_class FPDFAPI_ft_smooth_lcd_renderer_class
233 #define ft_smooth_lcdv_renderer_class FPDFAPI_ft_smooth_lcdv_renderer_class
234 #define tt_default_graphics_state FPDFAPI_tt_default_graphics_state
235 #define tt_driver_class FPDFAPI_tt_driver_class
236 #define TT_RunIns FPDFAPI_TT_RunIns
237 #define TT_New_Context FPDFAPI_TT_New_Context
238 #define t1_driver_class FPDFAPI_t1_driver_class
239 #define t1cid_driver_class FPDFAPI_t1cid_driver_class
240 #define FT_Get_Track_Kerning FPDFAPI_FT_Get_Track_Kerning
241 #define FT_Match_Size FPDFAPI_FT_Match_Size
242 #define FT_MulDiv_No_Round FPDFAPI_FT_MulDiv_No_Round
243 #define FT_Request_Metrics FPDFAPI_FT_Request_Metrics
244 #define FT_Request_Size FPDFAPI_FT_Request_Size
245 #define FT_Select_Metrics FPDFAPI_FT_Select_Metrics
246 #define FT_Select_Size FPDFAPI_FT_Select_Size
247 #define ft_synthesize_vertical_metrics FPDFAPI_ft_synthesize_vertical_metrics
248 #define New_Profile FPDFAPI_New_Profile
249 #define End_Profile FPDFAPI_End_Profile
250 #define Insert_Y_Turn FPDFAPI_Insert_Y_Turn
251 #define Split_Conic FPDFAPI_Split_Conic
252 #define Split_Cubic FPDFAPI_Split_Cubic
253 #define Line_Up FPDFAPI_Line_Up
254 #define Bezier_Up FPDFAPI_Bezier_Up
255 #define Bezier_Down FPDFAPI_Bezier_Down
256 #define Line_To FPDFAPI_Line_To
257 #define Conic_To FPDFAPI_Conic_To
258 #define Cubic_To FPDFAPI_Cubic_To
259 #define Decompose_Curve FPDFAPI_Decompose_Curve
260 #define Convert_Glyph FPDFAPI_Convert_Glyph
261 #define Sort FPDFAPI_Sort
262 #define Vertical_Sweep_Init FPDFAPI_Vertical_Sweep_Init
263 #define Vertical_Sweep_Span FPDFAPI_Vertical_Sweep_Span
264 #define Vertical_Sweep_Drop FPDFAPI_Vertical_Sweep_Drop
265 #define Vertical_Sweep_Step FPDFAPI_Vertical_Sweep_Step
266 #define Horizontal_Sweep_Init FPDFAPI_Horizontal_Sweep_Init
267 #define Horizontal_Sweep_Span FPDFAPI_Horizontal_Sweep_Span
268 #define Horizontal_Sweep_Drop FPDFAPI_Horizontal_Sweep_Drop
269 #define Horizontal_Sweep_Step FPDFAPI_Horizontal_Sweep_Step
270 #define Draw_Sweep FPDFAPI_Draw_Sweep
271 #define Render_Single_Pass FPDFAPI_Render_Single_Pass
272 #define Render_Glyph FPDFAPI_Render_Glyph
273 #define Finalize_Profile_Table FPDFAPI_Finalize_Profile_Table
274 #define InsNew FPDFAPI_InsNew
275 #define DelOld FPDFAPI_DelOld
276 #define FT_MulFix FPDFAPI_FT_MulFix
277 #define FT_Matrix_Multiply_Scaled FPDFAPI_FT_Matrix_Multiply_Scaled
278 #define FT_Vector_Transform_Scaled FPDFAPI_FT_Vector_Transform_Scaled
279 #define ft_corner_orientation FPDFAPI_ft_corner_orientation
280 #define ft_corner_is_flat FPDFAPI_ft_corner_is_flat
281 #define FT_Get_CMap_Format FPDFAPI_FT_Get_CMap_Format
282 #define ft_mem_strcpyn FPDFAPI_ft_mem_strcpyn
283 #define ft_mem_dup FPDFAPI_ft_mem_dup
284 #define ft_mem_strdup FPDFAPI_ft_mem_strdup
285 #define FT_Face_GetCharVariantIsDefault FPDFAPI_FT_Face_GetCharVariantIsDefault
286 #define FT_Face_GetCharsOfVariant FPDFAPI_FT_Face_GetCharsOfVariant
287 #define FT_Face_GetVariantsOfChar FPDFAPI_FT_Face_GetVariantsOfChar
288 #define FT_Face_GetVariantSelectors FPDFAPI_FT_Face_GetVariantSelectors
289 #define FT_Face_GetCharVariantIndex FPDFAPI_FT_Face_GetCharVariantIndex
290 #define FT_Get_Advances FPDFAPI_FT_Get_Advances
291 #define FT_Get_Advance FPDFAPI_FT_Get_Advance
292 #define FT_Library_SetLcdFilter FPDFAPI_FT_Library_SetLcdFilter
293
294 #endif // !_FX_FREETYPE_DONT_RENAME_
OLDNEW
« no previous file with comments | « core/src/fxge/freetype/fx_freetype.c ('k') | core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/config/ftconfig.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698