aboutsummaryrefslogtreecommitdiff
path: root/src/hmtx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hmtx.h')
-rw-r--r--src/hmtx.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/hmtx.h b/src/hmtx.h
new file mode 100644
index 0000000..79a9cb6
--- /dev/null
+++ b/src/hmtx.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef OTS_HMTX_H_
+#define OTS_HMTX_H_
+
+#include <utility> // std::pair
+#include <vector>
+
+#include "ots.h"
+
+namespace ots {
+
+struct OpenTypeHMTX {
+ std::vector<std::pair<uint16_t, int16_t> > metrics;
+ std::vector<int16_t> lsbs;
+};
+
+} // namespace ots
+
+#endif // OTS_HMTX_H_