]>
Commit | Line | Data |
---|---|---|
cabec872 RR |
1 | /***************************************************************************/ |
2 | /* */ | |
3 | /* t2tokens.h */ | |
4 | /* */ | |
5 | /* OpenType token definitions (specification only). */ | |
6 | /* */ | |
7 | /* Copyright 1996-2000 by */ | |
8 | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ | |
9 | /* */ | |
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 */ | |
12 | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | |
13 | /* this file you indicate that you have read the license and */ | |
14 | /* understand and accept it fully. */ | |
15 | /* */ | |
16 | /***************************************************************************/ | |
17 | ||
18 | ||
19 | #undef T2TYPE | |
20 | #undef T2CODE | |
21 | #define T2TYPE CFF_Font_Dict | |
22 | #define T2CODE T2CODE_TOPDICT | |
23 | ||
24 | T2_FIELD_STRING ( 0, version ) | |
25 | T2_FIELD_STRING ( 1, notice ) | |
26 | T2_FIELD_STRING ( 0x100, copyright ) | |
27 | T2_FIELD_STRING ( 2, full_name ) | |
28 | T2_FIELD_STRING ( 3, family_name ) | |
29 | T2_FIELD_STRING ( 4, weight ) | |
30 | T2_FIELD_BOOL ( 0x101, is_fixed_pitch ) | |
31 | T2_FIELD_FIXED ( 0x102, italic_angle ) | |
32 | T2_FIELD_NUM ( 0x103, underline_position ) | |
33 | T2_FIELD_NUM ( 0x104, underline_thickness ) | |
34 | T2_FIELD_NUM ( 0x105, paint_type ) | |
35 | T2_FIELD_NUM ( 0x106, charstring_type ) | |
36 | T2_FIELD_CALLBACK( 0x107, font_matrix ) | |
37 | T2_FIELD_NUM ( 13, unique_id ) | |
38 | T2_FIELD_CALLBACK( 5, font_bbox ) | |
39 | T2_FIELD_NUM ( 0x108, stroke_width ) | |
40 | T2_FIELD_NUM ( 15, charset_offset ) | |
41 | T2_FIELD_NUM ( 16, encoding_offset ) | |
42 | T2_FIELD_NUM ( 17, charstrings_offset ) | |
43 | T2_FIELD_CALLBACK( 18, private_dict ) | |
44 | T2_FIELD_NUM ( 0x114, synthetic_base ) | |
45 | T2_FIELD_STRING ( 0x115, postscript ) | |
46 | T2_FIELD_STRING ( 0x116, base_font_name ) | |
47 | ||
48 | #if 0 | |
49 | T2_FIELD_DELTA ( 0x117, base_font_blend, 16 ) | |
50 | T2_FIELD_CALLBACK( 0x118, multiple_master ) | |
51 | T2_FIELD_CALLBACK( 0x119, blend_axit_types ) | |
52 | #endif | |
53 | ||
54 | T2_FIELD_CALLBACK( 0x11E, cid_ros ) | |
55 | T2_FIELD_NUM ( 0x11F, cid_font_version ) | |
56 | T2_FIELD_NUM ( 0x120, cid_font_revision ) | |
57 | T2_FIELD_NUM ( 0x121, cid_font_type ) | |
58 | T2_FIELD_NUM ( 0x122, cid_count ) | |
59 | T2_FIELD_NUM ( 0x123, cid_uid_base ) | |
60 | T2_FIELD_NUM ( 0x124, cid_fd_array_offset ) | |
61 | T2_FIELD_NUM ( 0x125, cid_fd_select_offset ) | |
62 | T2_FIELD_STRING ( 0x126, cid_font_name ) | |
63 | ||
64 | #if 0 | |
65 | T2_FIELD_NUM ( 0x127, chameleon ) | |
66 | #endif | |
67 | ||
68 | ||
69 | #undef T2TYPE | |
70 | #undef T2CODE | |
71 | #define T2TYPE CFF_Private | |
72 | #define T2CODE T2CODE_PRIVATE | |
73 | ||
74 | T2_FIELD_DELTA( 6, blue_values, 14 ) | |
75 | T2_FIELD_DELTA( 7, other_blues, 10 ) | |
76 | T2_FIELD_DELTA( 8, family_blues, 14 ) | |
77 | T2_FIELD_DELTA( 9, family_other_blues, 10 ) | |
78 | T2_FIELD_FIXED( 0x109, blue_scale ) | |
79 | T2_FIELD_NUM ( 0x10A, blue_shift ) | |
80 | T2_FIELD_NUM ( 0x10B, blue_fuzz ) | |
81 | T2_FIELD_NUM ( 10, standard_width ) | |
82 | T2_FIELD_NUM ( 11, standard_height ) | |
83 | T2_FIELD_DELTA( 0x10C, snap_widths, 13 ) | |
84 | T2_FIELD_DELTA( 0x10D, snap_heights, 13 ) | |
85 | T2_FIELD_BOOL ( 0x10E, force_bold ) | |
86 | T2_FIELD_FIXED( 0x10F, force_bold_threshold ) | |
87 | T2_FIELD_NUM ( 0x110, lenIV ) | |
88 | T2_FIELD_NUM ( 0x111, language_group ) | |
89 | T2_FIELD_FIXED( 0x112, expansion_factor ) | |
90 | T2_FIELD_NUM ( 0x113, initial_random_seed ) | |
91 | T2_FIELD_NUM ( 19, local_subrs_offset ) | |
92 | T2_FIELD_NUM ( 20, default_width ) | |
93 | T2_FIELD_NUM ( 21, nominal_width ) | |
94 | ||
95 | ||
96 | /* END */ |