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

Side by Side Diff: third_party/ots/src/os2.h

Issue 775893002: Updating OTS repo from https://github.com/khaledhosny/ots.git (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updating with 4800 warning fix Created 6 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 | « third_party/ots/src/name.cc ('k') | third_party/ots/src/os2.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef OTS_OS2_H_
6 #define OTS_OS2_H_
7
8 #include "ots.h"
9
10 namespace ots {
11
12 struct OpenTypeOS2 {
13 uint16_t version;
14 int16_t avg_char_width;
15 uint16_t weight_class;
16 uint16_t width_class;
17 uint16_t type;
18 int16_t subscript_x_size;
19 int16_t subscript_y_size;
20 int16_t subscript_x_offset;
21 int16_t subscript_y_offset;
22 int16_t superscript_x_size;
23 int16_t superscript_y_size;
24 int16_t superscript_x_offset;
25 int16_t superscript_y_offset;
26 int16_t strikeout_size;
27 int16_t strikeout_position;
28 int16_t family_class;
29 uint8_t panose[10];
30 uint32_t unicode_range_1;
31 uint32_t unicode_range_2;
32 uint32_t unicode_range_3;
33 uint32_t unicode_range_4;
34 uint32_t vendor_id;
35 uint16_t selection;
36 uint16_t first_char_index;
37 uint16_t last_char_index;
38 int16_t typo_ascender;
39 int16_t typo_descender;
40 int16_t typo_linegap;
41 uint16_t win_ascent;
42 uint16_t win_descent;
43 uint32_t code_page_range_1;
44 uint32_t code_page_range_2;
45 int16_t x_height;
46 int16_t cap_height;
47 uint16_t default_char;
48 uint16_t break_char;
49 uint16_t max_context;
50 };
51
52 } // namespace ots
53
54 #endif // OTS_OS2_H_
OLDNEW
« no previous file with comments | « third_party/ots/src/name.cc ('k') | third_party/ots/src/os2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698