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. 4 5 #ifndef OTS_VHEA_H_ 6 #define OTS_VHEA_H_ 7 8 #include "metrics.h" 9 #include "ots.h" 10 11 namespace ots { 12 13 class OpenTypeVHEA : public OpenTypeMetricsHeader { 14 public: OpenTypeVHEA(Font * font,uint32_t tag)15 explicit OpenTypeVHEA(Font *font, uint32_t tag) 16 : OpenTypeMetricsHeader(font, tag, tag) { } 17 18 bool Parse(const uint8_t *data, size_t length); 19 }; 20 21 } // namespace ots 22 23 #endif // OTS_VHEA_H_ 24 25