Commit Graph

178 Commits

Author SHA1 Message Date
Roderick Sheeter 437bbad370 Added Brotli compress/decompress utilities and makefiles 2013-11-19 14:32:56 -08:00
Zoltan Szabadka 1571db36a9 Updates to Brotli compression format, decoder and encoder
This commit contains a batch of changes that were made to the Brotli
compression algorithm in the last three weeks. Most important changes:

  * Added UTF8 context model for good text compression.
  * Simplified context modeling by having only 4 context modes.
  * Per-block context mode selection.
  * Faster backward copying and bit reading functions.
  * More efficient histogram coding.
  * Streaming support for the decoder and encoder.
2013-11-15 19:02:17 +01:00
Zoltan Szabadka 79e99afe46 Add brotli compressor
This commit is for the encoder for brotli compression format.
Brotli is a generic byte-level compression algorithm.
2013-10-23 13:06:13 +02:00
Zoltan Szabadka b35077ca42 Make the brotli decoder more C90-compatible.
(1) Move all variable declarations to the beginning of the block.
(2) Remove 'z' printf modifiers.
(3) Fix 'comma at the end of enumeration list' warning.
2013-10-22 15:02:54 +02:00
Zoltan Szabadka 9c62eb3e1e Fix name collisions with libwebp.
Prefix all externally visible function names with Brotli and
make all other functions static.
2013-10-17 12:41:36 +02:00
Raph Levien 7efdf8e114 Cleanup of README
Refer to brotli/ subdirectory (explicitly naming the license) and clean
up a few other things in the README text.
2013-10-11 10:33:29 +02:00
Zoltan Szabadka 04163a87d0 Add brotli decompressor
This commit is for the decoder for brotli compression format.
Brotli is a generic byte-level compression algorithm.
2013-10-11 10:26:07 +02:00
David Kuettel 5ce8fad3ab Write the converted and compressed files (.woff2) to disk 2013-06-11 12:52:53 -07:00
David Kuettel 76b55053e7 Compare WOFF 2.0 vs. WOFF 1.0 (instead of GZIP) 2013-05-28 16:22:52 -07:00
David Kuettel c34a8fce98 Add early support for CFF 2013-05-28 15:49:04 -07:00
David Kuettel ade3f14974 Emit a warning message for .otf files, which are not supported yet 2013-04-19 16:24:19 -07:00
David Kuettel 0cffdd1e74 Catch, log and continue upon encountering an exception 2013-04-18 10:34:18 -07:00
David Kuettel c3f8753bee Remove stale references to /usr/bin/lzma, etc 2013-04-12 15:37:36 -07:00
David Kuettel f932d9cbf5 Record the WOFF 2.0 compression improvement (%) in the CSV file 2013-04-11 18:18:50 -07:00
David Kuettel 42726b6c1f Add a simplified runner which outputs a CSV report 2013-04-11 17:40:54 -07:00
David Kuettel 19411b7e95 Cleanup: remove email addresses 2013-04-11 14:49:57 -07:00
David Kuettel b3776ee481 Cleanup: remove build artifacts from git 2013-04-11 13:44:09 -07:00
David Kuettel 6966b2c40d Comment debug output 2013-04-10 18:48:32 -07:00
David Kuettel c0d9d606d2 Ensure LZMA compression is used by default 2013-04-10 18:44:14 -07:00
David Kuettel e617737810 Cleanup: minor style, Javadoc and code changes 2013-04-10 18:25:12 -07:00
David Kuettel a9ce166190 Cleanup: remove unused Command abstractions (cont.) 2013-04-10 15:21:35 -07:00
David Kuettel ac7ebc90da Cleanup: remove unused Command abstractions 2013-04-10 15:16:04 -07:00
Raph Levien bd9d6ce3ae Security fixes to woff2 decompression
This patch addresses the security and other problems found by agl in
his review of a previous version of the code.
2013-04-05 17:01:50 -07:00
David Kuettel 1fec2c0a61 Use SevenZip Java LZMA compression library 2013-02-06 17:46:04 -08:00
David Kuettel 0c3b13964f Compile with debug information 2013-02-06 09:31:23 -08:00
Kenichi Ishibashi c779de7e99 Adding checks (part 2/2) and minor changes
- Added further checks
- Removed commenting-out code
- Fixed style ("type &variable" -> "type& variable")
- In RecunstructTransformed(), the 6th argument of RecunstructGlyf()
  call should be |loca_table->dst_length|, not |loca_table->dst_offset|.

BUG=none
TEST=compiled

Review URL: https://codereview.appspot.com/6160043
2012-06-04 14:29:42 +09:00
Kenichi Ishibashi 029e5f75f0 This CL adds some validation checks. Following CLs will add further checks.
This CL also changes pointer declarations from "type *variable" to "type* variable" to follow other OTS code.

BUG=none
TEST=compiled

Review URL: https://codereview.appspot.com/6139064
2012-05-02 09:05:08 +09:00
Raph Levien dcecdd883a Initial commit of font compression code into public project. 2012-03-23 11:21:16 -07:00