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

Side by Side Diff: third_party/freetype/src/base/basepic.c

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
« no previous file with comments | « third_party/freetype/src/base/basepic.h ('k') | third_party/freetype/src/base/ftadvanc.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 /* basepic.c */ 3 /* basepic.c */
4 /* */ 4 /* */
5 /* The FreeType position independent code services for base. */ 5 /* The FreeType position independent code services for base. */
6 /* */ 6 /* */
7 /* Copyright 2009, 2012 by */ 7 /* Copyright 2009, 2012, 2013 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 #include "../../include/ft2build.h" 19 #include <ft2build.h>
20 #include "../../include/freetype/freetype.h" 20 #include FT_FREETYPE_H
21 #include "../../include/freetype/internal/ftobjs.h" 21 #include FT_INTERNAL_OBJECTS_H
22 #include "basepic.h" 22 #include "basepic.h"
23 23
24 24
25 #ifdef FT_CONFIG_OPTION_PIC 25 #ifdef FT_CONFIG_OPTION_PIC
26 26
27 /* forward declaration of PIC init functions from ftglyph.c */ 27 /* forward declaration of PIC init functions from ftglyph.c */
28 void 28 void
29 FT_Init_Class_ft_outline_glyph_class( FT_Glyph_Class* clazz ); 29 FT_Init_Class_ft_outline_glyph_class( FT_Glyph_Class* clazz );
30 30
31 void 31 void
32 FT_Init_Class_ft_bitmap_glyph_class( FT_Glyph_Class* clazz ); 32 FT_Init_Class_ft_bitmap_glyph_class( FT_Glyph_Class* clazz );
33 33
34 #ifdef FT_CONFIG_OPTION_MAC_FONTS 34 #ifdef FT_CONFIG_OPTION_MAC_FONTS
35 /* forward declaration of PIC init function from ftrfork.c */ 35 /* forward declaration of PIC init function from ftrfork.c */
36 /* (not modularized) */ 36 /* (not modularized) */
37 void 37 void
38 FT_Init_Table_raccess_guess_table( ft_raccess_guess_rec* record ); 38 FT_Init_Table_ft_raccess_guess_table( ft_raccess_guess_rec* record );
39 #endif 39 #endif
40 40
41 /* forward declaration of PIC init functions from ftinit.c */ 41 /* forward declaration of PIC init functions from ftinit.c */
42 FT_Error 42 FT_Error
43 ft_create_default_module_classes( FT_Library library ); 43 ft_create_default_module_classes( FT_Library library );
44 44
45 void 45 void
46 ft_destroy_default_module_classes( FT_Library library ); 46 ft_destroy_default_module_classes( FT_Library library );
47 47
48 48
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 if ( error ) 85 if ( error )
86 goto Exit; 86 goto Exit;
87 87
88 /* initialize pointer table - */ 88 /* initialize pointer table - */
89 /* this is how the module usually expects this data */ 89 /* this is how the module usually expects this data */
90 FT_Init_Class_ft_outline_glyph_class( 90 FT_Init_Class_ft_outline_glyph_class(
91 &container->ft_outline_glyph_class ); 91 &container->ft_outline_glyph_class );
92 FT_Init_Class_ft_bitmap_glyph_class( 92 FT_Init_Class_ft_bitmap_glyph_class(
93 &container->ft_bitmap_glyph_class ); 93 &container->ft_bitmap_glyph_class );
94 #ifdef FT_CONFIG_OPTION_MAC_FONTS 94 #ifdef FT_CONFIG_OPTION_MAC_FONTS
95 FT_Init_Table_raccess_guess_table( 95 FT_Init_Table_ft_raccess_guess_table(
96 (ft_raccess_guess_rec*)&container->ft_raccess_guess_table ); 96 (ft_raccess_guess_rec*)&container->ft_raccess_guess_table );
97 #endif 97 #endif
98 98
99 Exit: 99 Exit:
100 if ( error ) 100 if ( error )
101 ft_base_pic_free( library ); 101 ft_base_pic_free( library );
102 return error; 102 return error;
103 } 103 }
104 104
105 #endif /* FT_CONFIG_OPTION_PIC */ 105 #endif /* FT_CONFIG_OPTION_PIC */
106 106
107 107
108 /* END */ 108 /* END */
OLDNEW
« no previous file with comments | « third_party/freetype/src/base/basepic.h ('k') | third_party/freetype/src/base/ftadvanc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698