1 // Copyright (c) 2011-2017 The OTS 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.
12 class OpenTypeGDEF
: public Table
{
14 explicit OpenTypeGDEF(Font
*font
, uint32_t tag
)
15 : Table(font
, tag
, tag
),
16 num_mark_glyph_sets(0),
22 bool Parse(const uint8_t *data
, size_t length
);
23 bool Serialize(OTSStream
*out
);
25 uint16_t num_mark_glyph_sets
;
28 bool ParseAttachListTable(const uint8_t *data
, size_t length
);
29 bool ParseLigCaretListTable(const uint8_t *data
, size_t length
);
30 bool ParseMarkGlyphSetsDefTable(const uint8_t *data
, size_t length
);
32 const uint8_t *m_data
;
34 uint16_t m_num_glyphs
;