summaryrefslogtreecommitdiffstats
path: root/gfx/ots/src/vmtx.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/ots/src/vmtx.h')
-rw-r--r--gfx/ots/src/vmtx.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/gfx/ots/src/vmtx.h b/gfx/ots/src/vmtx.h
new file mode 100644
index 0000000000..a26d775420
--- /dev/null
+++ b/gfx/ots/src/vmtx.h
@@ -0,0 +1,23 @@
+// 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.
+
+#ifndef OTS_VMTX_H_
+#define OTS_VMTX_H_
+
+#include "metrics.h"
+#include "vhea.h"
+#include "ots.h"
+
+namespace ots {
+
+struct OpenTypeVMTX : public OpenTypeMetricsTable {
+ public:
+ explicit OpenTypeVMTX(Font *font, uint32_t tag)
+ : OpenTypeMetricsTable(font, tag, tag, OTS_TAG_VHEA) { }
+};
+
+} // namespace ots
+
+#endif // OTS_VMTX_H_
+