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

Side by Side Diff: src/cff/cfftoken.h

Issue 23555005: Update freetype to the latest version of Android external/freetype (Closed) Base URL: https://chromium.googlesource.com/chromium/src/third_party/freetype.git@master
Patch Set: Created 7 years, 3 months 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 | « src/cff/cffpic.c ('k') | src/cff/cfftypes.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 /* cfftoken.h */ 3 /* cfftoken.h */
4 /* */ 4 /* */
5 /* CFF token definitions (specification only). */ 5 /* CFF token definitions (specification only). */
6 /* */ 6 /* */
7 /* Copyright 1996-2001, 2002, 2003 by */ 7 /* Copyright 1996-2003, 2011 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
18 18
19 #undef FT_STRUCTURE 19 #undef FT_STRUCTURE
20 #define FT_STRUCTURE CFF_FontRecDictRec 20 #define FT_STRUCTURE CFF_FontRecDictRec
21 21
22 #undef CFFCODE 22 #undef CFFCODE
23 #define CFFCODE CFFCODE_TOPDICT 23 #define CFFCODE CFFCODE_TOPDICT
24 24
25 CFF_FIELD_STRING ( 0, version ) 25 CFF_FIELD_STRING ( 0, version, "Version" )
26 CFF_FIELD_STRING ( 1, notice ) 26 CFF_FIELD_STRING ( 1, notice, "Notice" )
27 CFF_FIELD_STRING ( 0x100, copyright ) 27 CFF_FIELD_STRING ( 0x100, copyright, "Copyright" )
28 CFF_FIELD_STRING ( 2, full_name ) 28 CFF_FIELD_STRING ( 2, full_name, "FullName" )
29 CFF_FIELD_STRING ( 3, family_name ) 29 CFF_FIELD_STRING ( 3, family_name, "FamilyName" )
30 CFF_FIELD_STRING ( 4, weight ) 30 CFF_FIELD_STRING ( 4, weight, "Weight" )
31 CFF_FIELD_BOOL ( 0x101, is_fixed_pitch ) 31 CFF_FIELD_BOOL ( 0x101, is_fixed_pitch, "isFixedPitch" )
32 CFF_FIELD_FIXED ( 0x102, italic_angle ) 32 CFF_FIELD_FIXED ( 0x102, italic_angle, "ItalicAngle" )
33 CFF_FIELD_FIXED ( 0x103, underline_position ) 33 CFF_FIELD_FIXED ( 0x103, underline_position, "UnderlinePosition" )
34 CFF_FIELD_FIXED ( 0x104, underline_thickness ) 34 CFF_FIELD_FIXED ( 0x104, underline_thickness, "UnderlineThickness" )
35 CFF_FIELD_NUM ( 0x105, paint_type ) 35 CFF_FIELD_NUM ( 0x105, paint_type, "PaintType" )
36 CFF_FIELD_NUM ( 0x106, charstring_type ) 36 CFF_FIELD_NUM ( 0x106, charstring_type, "CharstringType" )
37 CFF_FIELD_CALLBACK( 0x107, font_matrix ) 37 CFF_FIELD_CALLBACK( 0x107, font_matrix, "FontMatrix" )
38 CFF_FIELD_NUM ( 13, unique_id ) 38 CFF_FIELD_NUM ( 13, unique_id, "UniqueID" )
39 CFF_FIELD_CALLBACK( 5, font_bbox ) 39 CFF_FIELD_CALLBACK( 5, font_bbox, "FontBBox" )
40 CFF_FIELD_NUM ( 0x108, stroke_width ) 40 CFF_FIELD_NUM ( 0x108, stroke_width, "StrokeWidth" )
41 CFF_FIELD_NUM ( 15, charset_offset ) 41 CFF_FIELD_NUM ( 15, charset_offset, "charset" )
42 CFF_FIELD_NUM ( 16, encoding_offset ) 42 CFF_FIELD_NUM ( 16, encoding_offset, "Encoding" )
43 CFF_FIELD_NUM ( 17, charstrings_offset ) 43 CFF_FIELD_NUM ( 17, charstrings_offset, "CharStrings" )
44 CFF_FIELD_CALLBACK( 18, private_dict ) 44 CFF_FIELD_CALLBACK( 18, private_dict, "Private" )
45 CFF_FIELD_NUM ( 0x114, synthetic_base ) 45 CFF_FIELD_NUM ( 0x114, synthetic_base, "SyntheticBase" )
46 CFF_FIELD_STRING ( 0x115, embedded_postscript ) 46 CFF_FIELD_STRING ( 0x115, embedded_postscript, "PostScript" )
47 47
48 #if 0 48 #if 0
49 CFF_FIELD_STRING ( 0x116, base_font_name ) 49 CFF_FIELD_STRING ( 0x116, base_font_name, "BaseFontName" )
50 CFF_FIELD_DELTA ( 0x117, base_font_blend, 16 ) 50 CFF_FIELD_DELTA ( 0x117, base_font_blend, 16, "BaseFontBlend" )
51 CFF_FIELD_CALLBACK( 0x118, multiple_master ) 51 CFF_FIELD_CALLBACK( 0x118, multiple_master, "MultipleMaster" )
52 CFF_FIELD_CALLBACK( 0x119, blend_axis_types ) 52 CFF_FIELD_CALLBACK( 0x119, blend_axis_types, "BlendAxisTypes" )
53 #endif 53 #endif
54 54
55 CFF_FIELD_CALLBACK( 0x11E, cid_ros ) 55 CFF_FIELD_CALLBACK( 0x11E, cid_ros, "ROS" )
56 CFF_FIELD_NUM ( 0x11F, cid_font_version ) 56 CFF_FIELD_NUM ( 0x11F, cid_font_version, "CIDFontVersion" )
57 CFF_FIELD_NUM ( 0x120, cid_font_revision ) 57 CFF_FIELD_NUM ( 0x120, cid_font_revision, "CIDFontRevision" )
58 CFF_FIELD_NUM ( 0x121, cid_font_type ) 58 CFF_FIELD_NUM ( 0x121, cid_font_type, "CIDFontType" )
59 CFF_FIELD_NUM ( 0x122, cid_count ) 59 CFF_FIELD_NUM ( 0x122, cid_count, "CIDCount" )
60 CFF_FIELD_NUM ( 0x123, cid_uid_base ) 60 CFF_FIELD_NUM ( 0x123, cid_uid_base, "UIDBase" )
61 CFF_FIELD_NUM ( 0x124, cid_fd_array_offset ) 61 CFF_FIELD_NUM ( 0x124, cid_fd_array_offset, "FDArray" )
62 CFF_FIELD_NUM ( 0x125, cid_fd_select_offset ) 62 CFF_FIELD_NUM ( 0x125, cid_fd_select_offset, "FDSelect" )
63 CFF_FIELD_STRING ( 0x126, cid_font_name ) 63 CFF_FIELD_STRING ( 0x126, cid_font_name, "FontName" )
64 64
65 #if 0 65 #if 0
66 CFF_FIELD_NUM ( 0x127, chameleon ) 66 CFF_FIELD_NUM ( 0x127, chameleon, "Chameleon" )
67 #endif 67 #endif
68 68
69 69
70 #undef FT_STRUCTURE 70 #undef FT_STRUCTURE
71 #define FT_STRUCTURE CFF_PrivateRec 71 #define FT_STRUCTURE CFF_PrivateRec
72 #undef CFFCODE 72 #undef CFFCODE
73 #define CFFCODE CFFCODE_PRIVATE 73 #define CFFCODE CFFCODE_PRIVATE
74 74
75 CFF_FIELD_DELTA ( 6, blue_values, 14 ) 75 CFF_FIELD_DELTA ( 6, blue_values, 14, "BlueValues" )
76 CFF_FIELD_DELTA ( 7, other_blues, 10 ) 76 CFF_FIELD_DELTA ( 7, other_blues, 10, "OtherBlues" )
77 CFF_FIELD_DELTA ( 8, family_blues, 14 ) 77 CFF_FIELD_DELTA ( 8, family_blues, 14, "FamilyBlues" )
78 CFF_FIELD_DELTA ( 9, family_other_blues, 10 ) 78 CFF_FIELD_DELTA ( 9, family_other_blues, 10, "FamilyOtherBlues" )
79 CFF_FIELD_FIXED_1000( 0x109, blue_scale ) 79 CFF_FIELD_FIXED_1000( 0x109, blue_scale, "BlueScale" )
80 CFF_FIELD_NUM ( 0x10A, blue_shift ) 80 CFF_FIELD_NUM ( 0x10A, blue_shift, "BlueShift" )
81 CFF_FIELD_NUM ( 0x10B, blue_fuzz ) 81 CFF_FIELD_NUM ( 0x10B, blue_fuzz, "BlueFuzz" )
82 CFF_FIELD_NUM ( 10, standard_width ) 82 CFF_FIELD_NUM ( 10, standard_width, "StdHW" )
83 CFF_FIELD_NUM ( 11, standard_height ) 83 CFF_FIELD_NUM ( 11, standard_height, "StdVW" )
84 CFF_FIELD_DELTA ( 0x10C, snap_widths, 13 ) 84 CFF_FIELD_DELTA ( 0x10C, snap_widths, 13, "StemSnapH" )
85 CFF_FIELD_DELTA ( 0x10D, snap_heights, 13 ) 85 CFF_FIELD_DELTA ( 0x10D, snap_heights, 13, "StemSnapV" )
86 CFF_FIELD_BOOL ( 0x10E, force_bold ) 86 CFF_FIELD_BOOL ( 0x10E, force_bold, "ForceBold" )
87 CFF_FIELD_FIXED ( 0x10F, force_bold_threshold ) 87 CFF_FIELD_FIXED ( 0x10F, force_bold_threshold, "ForceBoldThreshold" )
88 CFF_FIELD_NUM ( 0x110, lenIV ) 88 CFF_FIELD_NUM ( 0x110, lenIV, "lenIV" )
89 CFF_FIELD_NUM ( 0x111, language_group ) 89 CFF_FIELD_NUM ( 0x111, language_group, "LanguageGroup" )
90 CFF_FIELD_FIXED ( 0x112, expansion_factor ) 90 CFF_FIELD_FIXED ( 0x112, expansion_factor, "ExpansionFactor" )
91 CFF_FIELD_NUM ( 0x113, initial_random_seed ) 91 CFF_FIELD_NUM ( 0x113, initial_random_seed, "initialRandomSeed" )
92 CFF_FIELD_NUM ( 19, local_subrs_offset ) 92 CFF_FIELD_NUM ( 19, local_subrs_offset, "Subrs" )
93 CFF_FIELD_NUM ( 20, default_width ) 93 CFF_FIELD_NUM ( 20, default_width, "defaultWidthX" )
94 CFF_FIELD_NUM ( 21, nominal_width ) 94 CFF_FIELD_NUM ( 21, nominal_width, "nominalWidthX" )
95 95
96 96
97 /* END */ 97 /* END */
OLDNEW
« no previous file with comments | « src/cff/cffpic.c ('k') | src/cff/cfftypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698