// Copyright (c) 2011-2017 The OTS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "metrics.h" #include "head.h" #include "maxp.h" // OpenType horizontal and vertical common header format // http://www.microsoft.com/typography/otspec/hhea.htm // http://www.microsoft.com/typography/otspec/vhea.htm namespace ots { bool OpenTypeMetricsHeader::Parse(const uint8_t *data, size_t length) { … } bool OpenTypeMetricsHeader::Serialize(OTSStream *out) { … } bool OpenTypeMetricsTable::Parse(const uint8_t *data, size_t length) { … } bool OpenTypeMetricsTable::Serialize(OTSStream *out) { … } } // namespace ots