Name Description Size
buffer.h The parts of ots.h & opentype-sanitiser.h that we need, taken from the https://code.google.com/p/ots/ project. 4185
convert_woff2ttf_fuzzer.cc 322
convert_woff2ttf_fuzzer_new_entry.cc 441
file.h File IO helpers. 837
font.cc Font management utilities 12150
font.h Data model for a font file in sfnt format, reading and writing functions and accessors for the glyph data. 3509
glyph.cc Glyph manipulation 11642
glyph.h Data model and I/O for glyph data within sfnt format files for the purpose of performing the preprocessing step of the WOFF 2.0 conversion. 1875
normalize.cc Glyph normalization 9114
normalize.h Functions for normalizing fonts. Since the WOFF 2.0 decoder creates font files in normalized form, the WOFF 2.0 conversion is guaranteed to be lossless (in a bitwise sense) only for normalized font files. 1301
port.h Helper function for bit twiddling and macros for branch prediction. 1674
round.h Helper for rounding 587
store_bytes.h Helper functions for storing integer values into byte streams. No bounds checking is performed, that is the responsibility of the caller. 1864
table_tags.cc Font table tags 2558
table_tags.h Font table tags 807
transform.cc Library for preprocessing fonts as part of the WOFF 2.0 conversion. 13696
transform.h Library for preprocessing fonts as part of the WOFF 2.0 conversion. 768
variable_length.cc Helper functions for woff2 variable length types: 255UInt16 and UIntBase128 3176
variable_length.h Helper functions for woff2 variable length types: 255UInt16 and UIntBase128 811
woff2_common.cc Helpers common across multiple parts of woff2 1547
woff2_common.h Common definition for WOFF2 encoding/decoding 1439
woff2_compress.cc A commandline tool for compressing ttf format files to woff2. 1313
woff2_dec.cc Library for converting WOFF2 format font files to their TTF versions. 46525
woff2_decompress.cc A very simple commandline tool for decompressing woff2 format files to true type font files. 1202
woff2_enc.cc Library for converting TTF format font files to their WOFF2 versions. 15623
woff2_info.cc A commandline tool for dumping info about a woff2 file. 4932
woff2_out.cc Output buffer for WOFF2 decompression. 1543