gfx/ots/src/head.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/ots/src/head.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +// Copyright (c) 2009 The Chromium Authors. All rights reserved.
     1.5 +// Use of this source code is governed by a BSD-style license that can be
     1.6 +// found in the LICENSE file.
     1.7 +
     1.8 +#ifndef OTS_HEAD_H_
     1.9 +#define OTS_HEAD_H_
    1.10 +
    1.11 +#include "ots.h"
    1.12 +
    1.13 +namespace ots {
    1.14 +
    1.15 +struct OpenTypeHEAD {
    1.16 +  uint32_t revision;
    1.17 +  uint16_t flags;
    1.18 +  uint16_t ppem;
    1.19 +  uint64_t created;
    1.20 +  uint64_t modified;
    1.21 +
    1.22 +  int16_t xmin, xmax;
    1.23 +  int16_t ymin, ymax;
    1.24 +
    1.25 +  uint16_t mac_style;
    1.26 +  uint16_t min_ppem;
    1.27 +  int16_t index_to_loc_format;
    1.28 +};
    1.29 +
    1.30 +}  // namespace ots
    1.31 +
    1.32 +#endif  // OTS_HEAD_H_

mercurial