Bug 1601406 [wpt PR 20618] - Advertise DocumentPolicy & Network Err when receive...
[gecko.git] / gfx / ots / src / hhea.h
blob0405bd9d1ad6c4f8ccbec71e1968101f19618cc4
1 // Copyright (c) 2009-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.
5 #ifndef OTS_HHEA_H_
6 #define OTS_HHEA_H_
8 #include "metrics.h"
9 #include "ots.h"
11 namespace ots {
13 class OpenTypeHHEA : public OpenTypeMetricsHeader {
14 public:
15 explicit OpenTypeHHEA(Font *font, uint32_t tag)
16 : OpenTypeMetricsHeader(font, tag, tag) { }
18 bool Parse(const uint8_t *data, size_t length);
19 bool Serialize(OTSStream *out);
22 } // namespace ots
24 #endif // OTS_HHEA_H_