gfx/ots/src/hmtx.cc
author Jonathan Kew <jkew@mozilla.com>
Thu, 27 Jul 2017 09:03:10 +0100
changeset 371199 de7d3afbe971ea3e26d019d855d6d74d38f5d9ca
parent 267698 67084d8fe8860db544eb9435f0600f88039c00fd
permissions -rw-r--r--
Bug 1348788 - Update OTS to release 5.2.0 + latest upstream fixes, prior to addition of Graphite support. r=milan

// Copyright (c) 2009-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 "hmtx.h"

#include "hhea.h"
#include "maxp.h"

// hmtx - Horizontal Metrics
// http://www.microsoft.com/typography/otspec/hmtx.htm

namespace ots {

bool OpenTypeHMTX::Parse(const uint8_t *data, size_t length) {
  return OpenTypeMetricsTable::Parse(data, length);
}

bool OpenTypeHMTX::Serialize(OTSStream *out) {
  return OpenTypeMetricsTable::Serialize(out);
}

}  // namespace ots