Line | Count | Source |
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. |
4 | | |
5 | | #ifndef OTS_HMTX_H_ |
6 | | #define OTS_HMTX_H_ |
7 | | |
8 | | #include "metrics.h" |
9 | | #include "hhea.h" |
10 | | #include "ots.h" |
11 | | |
12 | | namespace ots { |
13 | | |
14 | | class OpenTypeHMTX : public OpenTypeMetricsTable { |
15 | | public: |
16 | | explicit OpenTypeHMTX(Font *font, uint32_t tag) |
17 | 76.8k | : OpenTypeMetricsTable(font, tag, tag, OTS_TAG_HHEA) { } |
18 | | }; |
19 | | |
20 | | } // namespace ots |
21 | | |
22 | | #endif // OTS_HMTX_H_ |