Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
SkOTTable_OS_2_VA.h
Go to the documentation of this file.
1/*
2 * Copyright 2012 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef SkOTTable_OS_2_VA_DEFINED
9#define SkOTTable_OS_2_VA_DEFINED
10
11#include "src/base/SkEndian.h"
14#include "src/sfnt/SkPanose.h"
15
16#pragma pack(push, 1)
17
18//Original V0 TT
21 //SkOTTableOS2_VA::VERSION and SkOTTableOS2_V0::VERSION are both 0.
22 //The only way to differentiate these two versions is by the size of the table.
24
54 union Type {
55 struct Field {
56 //8-15
58 Reserved08,
59 Reserved09,
60 Reserved10,
61 Reserved11,
62 Reserved12,
63 Reserved13,
64 Reserved14,
65 Reserved15)
66 //0-7
68 Reserved00,
75 Reserved07)
99 union Selection {
100 struct Field {
101 //8-15
103 Reserved08,
104 Reserved09,
105 Reserved10,
106 Reserved11,
107 Reserved12,
108 Reserved13,
109 Reserved14,
110 Reserved15)
111 //0-7
113 Italic,
120 Reserved07)
134};
135
136#pragma pack(pop)
137
138
139static_assert(sizeof(SkOTTableOS2_VA) == 68, "sizeof_SkOTTableOS2_VA_not_68");
140
141#endif
#define SkTEndian_SwapBE16(n)
Definition SkEndian.h:142
uint16_t SK_OT_USHORT
uint32_t SK_OT_ULONG
int8_t SK_OT_CHAR
uint16_t SK_OT_SHORT
#define SK_OT_BYTE_BITFIELD
SK_OT_BYTE_BITFIELD(Reserved08, Reserved09, Reserved10, Reserved11, Reserved12, Reserved13, Reserved14, Reserved15) SK_OT_BYTE_BITFIELD(Italic
static const SK_OT_USHORT BoldMask
static const SK_OT_USHORT UnderscoreMask
static const SK_OT_USHORT OutlinedMask
static const SK_OT_USHORT ItalicMask
static const SK_OT_USHORT StrikeoutMask
static const SK_OT_USHORT NegativeMask
SK_OT_BYTE_BITFIELD(Reserved08, Reserved09, Reserved10, Reserved11, Reserved12, Reserved13, Reserved14, Reserved15) SK_OT_BYTE_BITFIELD(Reserved00
static const SK_OT_USHORT PreviewPrintMask
static const SK_OT_USHORT Installable
static const SK_OT_USHORT RestrictedMask
static const SK_OT_USHORT EditableMask
enum SkOTTableOS2_VA::WeightClass::Value value
enum SkOTTableOS2_VA::WidthClass::Value value
SK_OT_USHORT usLastCharIndex
struct SkOTTableOS2_VA::WeightClass usWeightClass
SK_OT_SHORT ySuperscriptXSize
SK_OT_SHORT yStrikeoutPosition
static const SK_OT_USHORT VERSION
struct SkOTTableOS2_VA::WidthClass usWidthClass
union SkOTTableOS2_VA::Type fsType
SkIBMFamilyClass sFamilyClass
SK_OT_SHORT ySubscriptXSize
SK_OT_SHORT ySuperscriptXOffset
SK_OT_CHAR achVendID[4]
SK_OT_ULONG ulCharRange[4]
SK_OT_SHORT ySubscriptYSize
SK_OT_USHORT usFirstCharIndex
SK_OT_SHORT ySubscriptYOffset
SK_OT_SHORT ySubscriptXOffset
SK_OT_SHORT xAvgCharWidth
SK_OT_SHORT ySuperscriptYOffset
SK_OT_USHORT version
union SkOTTableOS2_VA::Selection fsSelection
SK_OT_SHORT yStrikeoutSize
SK_OT_SHORT ySuperscriptYSize
struct SkOTTableOS2_VA::Selection::Field field
struct SkOTTableOS2_VA::Selection::Raw raw
struct SkOTTableOS2_VA::Type::Raw raw
struct SkOTTableOS2_VA::Type::Field field