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

Side by Side Diff: include/freetype/internal/psaux.h

Issue 89753003: Update freetype to latest version of ASOP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src/third_party/freetype.git@master
Patch Set: Created 7 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 | « include/freetype/internal/ftvalid.h ('k') | include/freetype/internal/pshints.h » ('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 /* 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-2001, 2002, 2003, 2004, 2006, 2008, 2009 by */ 8 /* Copyright 1996-2004, 2006, 2008, 2009, 2012 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 /* <Fields> */ 94 /* <Fields> */
95 /* block :: The address in memory of the growheap's block. This */ 95 /* block :: The address in memory of the growheap's block. This */
96 /* can change between two object adds, due to */ 96 /* can change between two object adds, due to */
97 /* reallocation. */ 97 /* reallocation. */
98 /* */ 98 /* */
99 /* cursor :: The current top of the grow heap within its block. */ 99 /* cursor :: The current top of the grow heap within its block. */
100 /* */ 100 /* */
101 /* capacity :: The current size of the heap block. Increments by */ 101 /* capacity :: The current size of the heap block. Increments by */
102 /* 1kByte chunks. */ 102 /* 1kByte chunks. */
103 /* */ 103 /* */
104 /* init :: Set to 0xDEADBEEF if `elements' and `lengths' have */
105 /* been allocated. */
106 /* */
104 /* max_elems :: The maximum number of elements in table. */ 107 /* max_elems :: The maximum number of elements in table. */
105 /* */ 108 /* */
106 /* num_elems :: The current number of elements in table. */ 109 /* num_elems :: The current number of elements in table. */
107 /* */ 110 /* */
108 /* elements :: A table of element addresses within the block. */ 111 /* elements :: A table of element addresses within the block. */
109 /* */ 112 /* */
110 /* lengths :: A table of element sizes within the block. */ 113 /* lengths :: A table of element sizes within the block. */
111 /* */ 114 /* */
112 /* memory :: The object used for memory operations */ 115 /* memory :: The object used for memory operations */
113 /* (alloc/realloc). */ 116 /* (alloc/realloc). */
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 typedef enum T1_FieldType_ 179 typedef enum T1_FieldType_
177 { 180 {
178 T1_FIELD_TYPE_NONE = 0, 181 T1_FIELD_TYPE_NONE = 0,
179 T1_FIELD_TYPE_BOOL, 182 T1_FIELD_TYPE_BOOL,
180 T1_FIELD_TYPE_INTEGER, 183 T1_FIELD_TYPE_INTEGER,
181 T1_FIELD_TYPE_FIXED, 184 T1_FIELD_TYPE_FIXED,
182 T1_FIELD_TYPE_FIXED_1000, 185 T1_FIELD_TYPE_FIXED_1000,
183 T1_FIELD_TYPE_STRING, 186 T1_FIELD_TYPE_STRING,
184 T1_FIELD_TYPE_KEY, 187 T1_FIELD_TYPE_KEY,
185 T1_FIELD_TYPE_BBOX, 188 T1_FIELD_TYPE_BBOX,
189 T1_FIELD_TYPE_MM_BBOX,
186 T1_FIELD_TYPE_INTEGER_ARRAY, 190 T1_FIELD_TYPE_INTEGER_ARRAY,
187 T1_FIELD_TYPE_FIXED_ARRAY, 191 T1_FIELD_TYPE_FIXED_ARRAY,
188 T1_FIELD_TYPE_CALLBACK, 192 T1_FIELD_TYPE_CALLBACK,
189 193
190 /* do not remove */ 194 /* do not remove */
191 T1_FIELD_TYPE_MAX 195 T1_FIELD_TYPE_MAX
192 196
193 } T1_FieldType; 197 } T1_FieldType;
194 198
195 199
(...skipping 22 matching lines...) Expand all
218 222
219 /* structure type used to model object fields */ 223 /* structure type used to model object fields */
220 typedef struct T1_FieldRec_ 224 typedef struct T1_FieldRec_
221 { 225 {
222 const char* ident; /* field identifier */ 226 const char* ident; /* field identifier */
223 T1_FieldLocation location; 227 T1_FieldLocation location;
224 T1_FieldType type; /* type of field */ 228 T1_FieldType type; /* type of field */
225 T1_Field_ParseFunc reader; 229 T1_Field_ParseFunc reader;
226 FT_UInt offset; /* offset of field in object */ 230 FT_UInt offset; /* offset of field in object */
227 FT_Byte size; /* size of field in bytes */ 231 FT_Byte size; /* size of field in bytes */
228 FT_UInt array_max; /* maximal number of elements for */ 232 FT_UInt array_max; /* maximum number of elements for */
229 /* array */ 233 /* array */
230 FT_UInt count_offset; /* offset of element count for */ 234 FT_UInt count_offset; /* offset of element count for */
231 /* arrays; must not be zero if in */ 235 /* arrays; must not be zero if in */
232 /* use -- in other words, a */ 236 /* use -- in other words, a */
233 /* `num_FOO' element must not */ 237 /* `num_FOO' element must not */
234 /* start the used structure if we */ 238 /* start the used structure if we */
235 /* parse a `FOO' array */ 239 /* parse a `FOO' array */
236 FT_UInt dict; /* where we expect it */ 240 FT_UInt dict; /* where we expect it */
237 } T1_FieldRec; 241 } T1_FieldRec;
238 242
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 /* glyph :: The current glyph slot. */ 528 /* glyph :: The current glyph slot. */
525 /* */ 529 /* */
526 /* loader :: XXX */ 530 /* loader :: XXX */
527 /* */ 531 /* */
528 /* base :: The base glyph outline. */ 532 /* base :: The base glyph outline. */
529 /* */ 533 /* */
530 /* current :: The current glyph outline. */ 534 /* current :: The current glyph outline. */
531 /* */ 535 /* */
532 /* max_points :: maximum points in builder outline */ 536 /* max_points :: maximum points in builder outline */
533 /* */ 537 /* */
534 /* max_contours :: Maximal number of contours in builder outline. */ 538 /* max_contours :: Maximum number of contours in builder outline. */
535 /* */ 539 /* */
536 /* pos_x :: The horizontal translation (if composite glyph). */ 540 /* pos_x :: The horizontal translation (if composite glyph). */
537 /* */ 541 /* */
538 /* pos_y :: The vertical translation (if composite glyph). */ 542 /* pos_y :: The vertical translation (if composite glyph). */
539 /* */ 543 /* */
540 /* left_bearing :: The left side bearing point. */ 544 /* left_bearing :: The left side bearing point. */
541 /* */ 545 /* */
542 /* advance :: The horizontal advance vector. */ 546 /* advance :: The horizontal advance vector. */
543 /* */ 547 /* */
544 /* bbox :: Unused. */ 548 /* bbox :: Unused. */
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 IS_PS_DELIM( (cur)[sizeof ( (token) ) - 1] ) ) ) && \ 868 IS_PS_DELIM( (cur)[sizeof ( (token) ) - 1] ) ) ) && \
865 ft_strncmp( (char*)(cur), (token), sizeof ( (token) ) - 1 ) == 0 ) 869 ft_strncmp( (char*)(cur), (token), sizeof ( (token) ) - 1 ) == 0 )
866 870
867 871
868 FT_END_HEADER 872 FT_END_HEADER
869 873
870 #endif /* __PSAUX_H__ */ 874 #endif /* __PSAUX_H__ */
871 875
872 876
873 /* END */ 877 /* END */
OLDNEW
« no previous file with comments | « include/freetype/internal/ftvalid.h ('k') | include/freetype/internal/pshints.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698