From 67513a643f6753d12ed3d7fb2fe2abeff912fce3 Mon Sep 17 00:00:00 2001 From: Leif-W Date: Fri, 17 Mar 2017 09:36:36 -0400 Subject: Update README.md: correct iterations option flag 1) Update the 1-line usage string to include the iterations option. 2) Update the options block to correct the iterations flag (was -i, now -n). 3) Add text to the Alternative description, highlighting this key feature difference. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5252cc0..b8d4722 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,13 @@ This is a modified version of the [sfnt2woff utility](https://people.mozilla.org To create a WOFF file from an OpenType files: - > sfnt2woff-zopfli [-v .] [-m ] [-p ] + > sfnt2woff-zopfli [-v .] [-m ] [-n ] [-p ] Options: -v . set font version number (major and minor, both integers) -m include metadata from (not validated) - -i number of zopfli iterations (default = 15) + -n number of zopfli iterations (default = 15) -p include private data block To decompress a WOFF file and write the OpenType file to stdout: @@ -39,4 +39,4 @@ The WOFF portion of the code is taken from [sfnt2woff](https://people.mozilla.or ## Alternative -You can also use the [ttf2woff tool](http://wizard.ae.krakow.pl/~jb/ttf2woff/), which also converts OpenType files to WOFF using Zopfli, but is exclusively licensed under the GPL. +You can also use the [ttf2woff tool](http://wizard.ae.krakow.pl/~jb/ttf2woff/), which also converts OpenType files to WOFF using Zopfli, but is exclusively licensed under the GPL. However it doesn't have a command line option for the number of Zopfli iterations and thus can't create files as small as sfnt2woff-zopfli. -- cgit v1.2.3