tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

hhea.h (527B)


      1 // Copyright (c) 2009-2017 The OTS Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #ifndef OTS_HHEA_H_
      6 #define OTS_HHEA_H_
      7 
      8 #include "metrics.h"
      9 #include "ots.h"
     10 
     11 namespace ots {
     12 
     13 class OpenTypeHHEA : public OpenTypeMetricsHeader {
     14 public:
     15  explicit OpenTypeHHEA(Font *font, uint32_t tag)
     16      : OpenTypeMetricsHeader(font, tag, tag) { }
     17 
     18  bool Parse(const uint8_t *data, size_t length);
     19 };
     20 
     21 }  // namespace ots
     22 
     23 #endif  // OTS_HHEA_H_