Coverage Report

Created: 2018-09-25 14:53

/src/mozilla-central/gfx/ots/src/vhea.h
Line
Count
Source (jump to first uncovered line)
1
// Copyright (c) 2011-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_VHEA_H_
6
#define OTS_VHEA_H_
7
8
#include "metrics.h"
9
#include "ots.h"
10
11
namespace ots {
12
13
class OpenTypeVHEA : public OpenTypeMetricsHeader {
14
 public:
15
  explicit OpenTypeVHEA(Font *font, uint32_t tag)
16
0
      : OpenTypeMetricsHeader(font, tag, tag) { }
17
18
  bool Parse(const uint8_t *data, size_t length);
19
  bool Serialize(OTSStream *out);
20
  bool ShouldSerialize();
21
};
22
23
}  // namespace ots
24
25
#endif  // OTS_VHEA_H_
26