diff options
author | 2018-05-19 11:37:50 +0200 | |
---|---|---|
committer | 2018-05-19 11:37:50 +0200 | |
commit | e50236af6bb19fa926d2fb4c6e5fbeb915c45391 (patch) | |
tree | 8e25957589270116128c31a805ac24fc18514ead | |
parent | f9169716930e3513184e44f9fe6608673eb30171 (diff) | |
parent | 67513a643f6753d12ed3d7fb2fe2abeff912fce3 (diff) | |
download | sfnt2woff-zopfli-1.2.0.tar.gz sfnt2woff-zopfli-1.2.0.tar.bz2 sfnt2woff-zopfli-1.2.0.tar.lz sfnt2woff-zopfli-1.2.0.zip |
Merge pull request #6 from Leif-W/patch-1
Update README.md: correct iterations option flag
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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. |