aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar Leif-W <Leif-Wusersnoreplygithubcom>2017-03-17 09:36:36 -0400
committerLibravatarLarge Libravatar GitHub <noreplygithubcom>2017-03-17 09:36:36 -0400
commit67513a643f6753d12ed3d7fb2fe2abeff912fce3 (patch)
tree8e25957589270116128c31a805ac24fc18514ead
parentf9169716930e3513184e44f9fe6608673eb30171 (diff)
downloadsfnt2woff-zopfli-67513a643f6753d12ed3d7fb2fe2abeff912fce3.tar.gz
sfnt2woff-zopfli-67513a643f6753d12ed3d7fb2fe2abeff912fce3.tar.bz2
sfnt2woff-zopfli-67513a643f6753d12ed3d7fb2fe2abeff912fce3.tar.lz
sfnt2woff-zopfli-67513a643f6753d12ed3d7fb2fe2abeff912fce3.zip

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.
-rw-r--r--README.md6
1 files 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 <maj>.<min>] [-m <metadata.xml>] [-p <private.dat>] <otffile>
+ > sfnt2woff-zopfli [-v <maj>.<min>] [-m <metadata.xml>] [-n <iterations>] [-p <private.dat>] <otffile>
Options:
-v <maj>.<min> set font version number (major and minor, both integers)
-m <metadata.xml> include metadata from <metadata.xml> (not validated)
- -i <iterations> number of zopfli iterations (default = 15)
+ -n <iterations> number of zopfli iterations (default = 15)
-p <private.dat> 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.