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

Side by Side Diff: third_party/freetype/src/psaux/afmparse.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/psaux/Jamfile ('k') | third_party/freetype/src/psaux/afmparse.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 /* afmparse.h */ 3 /* afmparse.h */
4 /* */ 4 /* */
5 /* AFM parser (specification). */ 5 /* AFM parser (specification). */
6 /* */ 6 /* */
7 /* Copyright 2006 by */ 7 /* Copyright 2006-2015 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
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
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 55
56 typedef struct AFM_ValueRec_ 56 typedef struct AFM_ValueRec_
57 { 57 {
58 enum AFM_ValueType_ type; 58 enum AFM_ValueType_ type;
59 union 59 union
60 { 60 {
61 char* s; 61 char* s;
62 FT_Fixed f; 62 FT_Fixed f;
63 FT_Int i; 63 FT_Int i;
64 FT_UInt u;
64 FT_Bool b; 65 FT_Bool b;
65 66
66 } u; 67 } u;
67 68
68 } AFM_ValueRec, *AFM_Value; 69 } AFM_ValueRec, *AFM_Value;
69 70
70 #define AFM_MAX_ARGUMENTS 5 71 #define AFM_MAX_ARGUMENTS 5
71 72
72 FT_LOCAL( FT_Int ) 73 FT_LOCAL( FT_Int )
73 afm_parser_read_vals( AFM_Parser parser, 74 afm_parser_read_vals( AFM_Parser parser,
74 AFM_Value vals, 75 AFM_Value vals,
75 FT_UInt n ); 76 FT_Int n );
76 77
77 /* read the next key from the next line or column */ 78 /* read the next key from the next line or column */
78 FT_LOCAL( char* ) 79 FT_LOCAL( char* )
79 afm_parser_next_key( AFM_Parser parser, 80 afm_parser_next_key( AFM_Parser parser,
80 FT_Bool line, 81 FT_Bool line,
81 FT_Offset* len ); 82 FT_Offset* len );
82 83
83 FT_END_HEADER 84 FT_END_HEADER
84 85
85 #endif /* __AFMPARSE_H__ */ 86 #endif /* __AFMPARSE_H__ */
86 87
87 88
88 /* END */ 89 /* END */
OLDNEW
« no previous file with comments | « third_party/freetype/src/psaux/Jamfile ('k') | third_party/freetype/src/psaux/afmparse.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698