gfx/ots/src/hmtx.cc
author Jeff Walden <jwalden@mit.edu>
Tue, 19 Nov 2019 04:55:39 +0000
changeset 502538 b5c5ba07d3dbd0d07b66fa42a103f4df2c27d3a2
parent 371199 de7d3afbe971ea3e26d019d855d6d74d38f5d9ca
permissions -rw-r--r--
Bug 1596544 - intl_ValidateAndCanonicalizeUnicodeExtensionType should ignore the second |option| argument until it's needed to report an error. r=anba Differential Revision: https://phabricator.services.mozilla.com/D53145

// 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