aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar Bram Stein <blsteingmailcom>2018-05-19 11:37:50 +0200
committerLibravatarLarge Libravatar GitHub <noreplygithubcom>2018-05-19 11:37:50 +0200
commite50236af6bb19fa926d2fb4c6e5fbeb915c45391 (patch)
tree8e25957589270116128c31a805ac24fc18514ead
parentf9169716930e3513184e44f9fe6608673eb30171 (diff)
parent67513a643f6753d12ed3d7fb2fe2abeff912fce3 (diff)
downloadsfnt2woff-zopfli-e50236af6bb19fa926d2fb4c6e5fbeb915c45391.tar.gz
sfnt2woff-zopfli-e50236af6bb19fa926d2fb4c6e5fbeb915c45391.tar.bz2
sfnt2woff-zopfli-e50236af6bb19fa926d2fb4c6e5fbeb915c45391.tar.lz
sfnt2woff-zopfli-e50236af6bb19fa926d2fb4c6e5fbeb915c45391.zip

Merge pull request #6 from Leif-W/patch-1

v1.2.0

Update README.md: correct iterations option flag

-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.