diff -r 000000000000 -r 6474c204b198 gfx/ots/src/hdmx.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gfx/ots/src/hdmx.h Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,29 @@ +// 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_HDMX_H_ +#define OTS_HDMX_H_ + +#include + +#include "ots.h" + +namespace ots { + +struct OpenTypeHDMXDeviceRecord { + uint8_t pixel_size; + uint8_t max_width; + std::vector widths; +}; + +struct OpenTypeHDMX { + uint16_t version; + int32_t size_device_record; + int32_t pad_len; + std::vector records; +}; + +} // namespace ots + +#endif