Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: third_party/woff2/README.md

Issue 954163002: Add woff2 to src/third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase as third_party/ots/src/woff2.cc has changed Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/woff2/README.chromium ('k') | third_party/woff2/src/buffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/woff2/README.md
diff --git a/third_party/woff2/README.md b/third_party/woff2/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..ea55a36df3863bc4c9c4f24c7edc95680ea2e363
--- /dev/null
+++ b/third_party/woff2/README.md
@@ -0,0 +1,46 @@
+This is a README for the font compression reference code. There are several
+compression related modules in this repository.
+
+brotli/ contains reference code for the Brotli byte-level compression
+algorithm. Note that it is licensed under an Apache 2 license.
+
+src/ contains the C++ code for compressing and decompressing fonts.
+
+# Build & Run
+
+This document documents how to run the compression reference code. At this
+writing, the code, while it is intended to produce a bytestream that can be
+reconstructed into a working font, the reference decompression code is not
+done, and the exact format of that bytestream is subject to change.
+
+## Build
+
+On a standard Unix-style environment:
+
+```
+git clone https://github.com/google/woff2.git
+cd woff2
+git submodule init
+git submodule update
+make clean all
+```
+
+## Run
+
+```
+woff2_compress myfont.ttf
+woff2_decompress myfont.woff2
+```
+
+# References
+
+http://www.w3.org/TR/WOFF2/
+http://www.w3.org/Submission/MTX/
+
+Also please refer to documents (currently Google Docs):
+
+WOFF Ultra Condensed file format: proposals and discussion of wire format
+issues (PDF is in docs/ directory)
+
+WIFF Ultra Condensed: more discussion of results and compression techniques.
+This tool was used to prepare the data in that document.
« no previous file with comments | « third_party/woff2/README.chromium ('k') | third_party/woff2/src/buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698