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

Side by Side Diff: third_party/freetype/include/freetype/internal/psaux.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
OLDNEW
1 /***************************************************************************/ 1 /***************************************************************************/
2 /* */ 2 /* */
3 /* psaux.h */ 3 /* psaux.h */
4 /* */ 4 /* */
5 /* Auxiliary functions and data structures related to PostScript fonts */ 5 /* Auxiliary functions and data structures related to PostScript fonts */
6 /* (specification). */ 6 /* (specification). */
7 /* */ 7 /* */
8 /* Copyright 1996-2004, 2006, 2008, 2009, 2012 by */ 8 /* Copyright 1996-2015 by */
9 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
10 /* */ 10 /* */
11 /* This file is part of the FreeType project, and may only be used, */ 11 /* This file is part of the FreeType project, and may only be used, */
12 /* modified, and distributed under the terms of the FreeType project */ 12 /* modified, and distributed under the terms of the FreeType project */
13 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
14 /* this file you indicate that you have read the license and */ 14 /* this file you indicate that you have read the license and */
15 /* understand and accept it fully. */ 15 /* understand and accept it fully. */
16 /* */ 16 /* */
17 /***************************************************************************/ 17 /***************************************************************************/
18 18
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 { 64 {
65 FT_Error 65 FT_Error
66 (*init)( PS_Table table, 66 (*init)( PS_Table table,
67 FT_Int count, 67 FT_Int count,
68 FT_Memory memory ); 68 FT_Memory memory );
69 69
70 void 70 void
71 (*done)( PS_Table table ); 71 (*done)( PS_Table table );
72 72
73 FT_Error 73 FT_Error
74 (*add)( PS_Table table, 74 (*add)( PS_Table table,
75 FT_Int idx, 75 FT_Int idx,
76 void* object, 76 void* object,
77 FT_PtrDist length ); 77 FT_UInt length );
78 78
79 void 79 void
80 (*release)( PS_Table table ); 80 (*release)( PS_Table table );
81 81
82 } PS_Table_FuncsRec; 82 } PS_Table_FuncsRec;
83 83
84 84
85 /*************************************************************************/ 85 /*************************************************************************/
86 /* */ 86 /* */
87 /* <Struct> */ 87 /* <Struct> */
(...skipping 27 matching lines...) Expand all
115 /* memory :: The object used for memory operations */ 115 /* memory :: The object used for memory operations */
116 /* (alloc/realloc). */ 116 /* (alloc/realloc). */
117 /* */ 117 /* */
118 /* funcs :: A table of method pointers for this object. */ 118 /* funcs :: A table of method pointers for this object. */
119 /* */ 119 /* */
120 typedef struct PS_TableRec_ 120 typedef struct PS_TableRec_
121 { 121 {
122 FT_Byte* block; /* current memory block */ 122 FT_Byte* block; /* current memory block */
123 FT_Offset cursor; /* current cursor in memory block */ 123 FT_Offset cursor; /* current cursor in memory block */
124 FT_Offset capacity; /* current size of memory block */ 124 FT_Offset capacity; /* current size of memory block */
125 FT_Long init; 125 FT_ULong init;
126 126
127 FT_Int max_elems; 127 FT_Int max_elems;
128 FT_Int num_elems; 128 FT_Int num_elems;
129 FT_Byte** elements; /* addresses of table elements */ 129 FT_Byte** elements; /* addresses of table elements */
130 FT_PtrDist* lengths; /* lengths of table elements */ 130 FT_UInt* lengths; /* lengths of table elements */
131 131
132 FT_Memory memory; 132 FT_Memory memory;
133 PS_Table_FuncsRec funcs; 133 PS_Table_FuncsRec funcs;
134 134
135 } PS_TableRec; 135 } PS_TableRec;
136 136
137 137
138 /*************************************************************************/ 138 /*************************************************************************/
139 /*************************************************************************/ 139 /*************************************************************************/
140 /***** *****/ 140 /***** *****/
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 FT_Long 358 FT_Long
359 (*to_int)( PS_Parser parser ); 359 (*to_int)( PS_Parser parser );
360 FT_Fixed 360 FT_Fixed
361 (*to_fixed)( PS_Parser parser, 361 (*to_fixed)( PS_Parser parser,
362 FT_Int power_ten ); 362 FT_Int power_ten );
363 363
364 FT_Error 364 FT_Error
365 (*to_bytes)( PS_Parser parser, 365 (*to_bytes)( PS_Parser parser,
366 FT_Byte* bytes, 366 FT_Byte* bytes,
367 FT_Offset max_bytes, 367 FT_Offset max_bytes,
368 FT_Long* pnum_bytes, 368 FT_ULong* pnum_bytes,
369 FT_Bool delimiters ); 369 FT_Bool delimiters );
370 370
371 FT_Int 371 FT_Int
372 (*to_coord_array)( PS_Parser parser, 372 (*to_coord_array)( PS_Parser parser,
373 FT_Int max_coords, 373 FT_Int max_coords,
374 FT_Short* coords ); 374 FT_Short* coords );
375 FT_Int 375 FT_Int
376 (*to_fixed_array)( PS_Parser parser, 376 (*to_fixed_array)( PS_Parser parser,
377 FT_Int max_values, 377 FT_Int max_values,
378 FT_Fixed* values, 378 FT_Fixed* values,
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 FT_Long* top; 668 FT_Long* top;
669 669
670 T1_Decoder_ZoneRec zones[T1_MAX_SUBRS_CALLS + 1]; 670 T1_Decoder_ZoneRec zones[T1_MAX_SUBRS_CALLS + 1];
671 T1_Decoder_Zone zone; 671 T1_Decoder_Zone zone;
672 672
673 FT_Service_PsCMaps psnames; /* for seac */ 673 FT_Service_PsCMaps psnames; /* for seac */
674 FT_UInt num_glyphs; 674 FT_UInt num_glyphs;
675 FT_Byte** glyph_names; 675 FT_Byte** glyph_names;
676 676
677 FT_Int lenIV; /* internal for sub routine calls */ 677 FT_Int lenIV; /* internal for sub routine calls */
678 FT_UInt num_subrs; 678 FT_Int num_subrs;
679 FT_Byte** subrs; 679 FT_Byte** subrs;
680 FT_PtrDist* subrs_len; /* array of subrs length (optional) */ 680 FT_UInt* subrs_len; /* array of subrs length (optional) */
681 681
682 FT_Matrix font_matrix; 682 FT_Matrix font_matrix;
683 FT_Vector font_offset; 683 FT_Vector font_offset;
684 684
685 FT_Int flex_state; 685 FT_Int flex_state;
686 FT_Int num_flex_vectors; 686 FT_Int num_flex_vectors;
687 FT_Vector flex_vectors[7]; 687 FT_Vector flex_vectors[7];
688 688
689 PS_Blend blend; /* for multiple master support */ 689 PS_Blend blend; /* for multiple master support */
690 690
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 IS_PS_DELIM( (cur)[sizeof ( (token) ) - 1] ) ) ) && \ 868 IS_PS_DELIM( (cur)[sizeof ( (token) ) - 1] ) ) ) && \
869 ft_strncmp( (char*)(cur), (token), sizeof ( (token) ) - 1 ) == 0 ) 869 ft_strncmp( (char*)(cur), (token), sizeof ( (token) ) - 1 ) == 0 )
870 870
871 871
872 FT_END_HEADER 872 FT_END_HEADER
873 873
874 #endif /* __PSAUX_H__ */ 874 #endif /* __PSAUX_H__ */
875 875
876 876
877 /* END */ 877 /* END */
OLDNEW
« no previous file with comments | « third_party/freetype/include/freetype/internal/internal.h ('k') | third_party/freetype/include/freetype/internal/pshints.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698