wxMaxima
Loading...
Searching...
No Matches
thirdparty
wxpdfdoc
thirdparty
woff2
src
transform.h
1
/* Copyright 2014 Google Inc. All Rights Reserved.
2
3
Distributed under MIT license.
4
See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
5
*/
6
7
/* Library for preprocessing fonts as part of the WOFF 2.0 conversion. */
8
9
#ifndef WOFF2_TRANSFORM_H_
10
#define WOFF2_TRANSFORM_H_
11
12
#include "./font.h"
13
14
namespace
woff2 {
15
16
// Adds the transformed versions of the glyf and loca tables to the font. The
17
// transformed loca table has zero length. The tag of the transformed tables is
18
// derived from the original tag by flipping the MSBs of every byte.
19
bool
TransformGlyfAndLocaTables(Font* font);
20
21
// Apply transformation to hmtx table if applicable for this font.
22
bool
TransformHmtxTable(Font* font);
23
24
}
// namespace woff2
25
26
#endif
// WOFF2_TRANSFORM_H_
Generated by
1.9.6