michael@0: // Copyright (c) 2009 The Chromium Authors. All rights reserved. michael@0: // Use of this source code is governed by a BSD-style license that can be michael@0: // found in the LICENSE file. michael@0: michael@0: #ifndef OTS_VORG_H_ michael@0: #define OTS_VORG_H_ michael@0: michael@0: #include michael@0: michael@0: #include "ots.h" michael@0: michael@0: namespace ots { michael@0: michael@0: struct OpenTypeVORGMetrics { michael@0: uint16_t glyph_index; michael@0: int16_t vert_origin_y; michael@0: }; michael@0: michael@0: struct OpenTypeVORG { michael@0: uint16_t major_version; michael@0: uint16_t minor_version; michael@0: int16_t default_vert_origin_y; michael@0: std::vector metrics; michael@0: }; michael@0: michael@0: } // namespace ots michael@0: michael@0: #endif // OTS_VORG_H_