aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar Benjamin A Beasley <codemusicinmybrainnet>2022-05-20 14:17:04 -0400
committerLibravatarLarge Libravatar Benjamin A Beasley <codemusicinmybrainnet>2022-05-20 14:18:10 -0400
commit9d5f06939319dfbe67452e4715357b93a6422fe0 (patch)
tree4a61616aaad969a9ff0a3538f3337985a2bd6b06
parent40aabcc4b88868cb5c0744025c8a85685bba383f (diff)
downloadsfnt2woff-zopfli-9d5f06939319dfbe67452e4715357b93a6422fe0.tar.gz
sfnt2woff-zopfli-9d5f06939319dfbe67452e4715357b93a6422fe0.tar.bz2
sfnt2woff-zopfli-9d5f06939319dfbe67452e4715357b93a6422fe0.tar.lz
sfnt2woff-zopfli-9d5f06939319dfbe67452e4715357b93a6422fe0.zip

Add simple man pages

These are hand-written in groff_man(7) format based on --help output.

Fixes #12.

-rw-r--r--sfnt2woff-zopfli.146
-rw-r--r--woff2sfnt-zopfli.139
2 files changed, 85 insertions, 0 deletions
diff --git a/sfnt2woff-zopfli.1 b/sfnt2woff-zopfli.1
new file mode 100644
index 0000000..d94152d
--- /dev/null
+++ b/sfnt2woff-zopfli.1
@@ -0,0 +1,46 @@
+.TH sfnt2woff\-zopfli "1" "November 2020" "sfnt2woff-zopfli" "User Commands"
+.SH NAME
+sfnt2woff\-zopfli \- package OpenType
+.I otffile
+as WOFF, creating
+.IR otffile .woff
+.SH SYNOPSIS
+sfnt2woff\-zopfli
+.RB [ \-v
+.IR maj . min ]
+.RB [ \-m
+.IR metadata.xml ]
+.RB [ \-p
+.IR private.dat ]
+.I otffile
+.SH DESCRIPTION
+.PP
+Packages OpenType
+.I otffile
+as WOFF, creating
+.IR otffile .woff.
+.PP
+This is a modified version of the
+.BR sfnt2woff (1)
+utility that uses Zopfli
+as a compression algorithm instead of
+.BR zlib (3).
+.SH OPTIONS
+.TP
+\fB\-v\fR \fImaj\fR.\fImin
+set font version number (major and minor, both integers)
+.TP
+\fB\-m\fR \fImetadata.xml
+include metadata from
+.I metadata.xml
+(not validated)
+.TP
+\fB\-n\fR \fIiterations
+number of zopfli iterations (default = 15)
+.TP
+\fB\-p\fR \fIprivate.dat
+include private data block
+.SH "SEE ALSO"
+.BR woff2sfnt-zopfli (1),
+.BR sfnt2woff (1),
+.BR woff2sfnt (1)
diff --git a/woff2sfnt-zopfli.1 b/woff2sfnt-zopfli.1
new file mode 100644
index 0000000..8d9618e
--- /dev/null
+++ b/woff2sfnt-zopfli.1
@@ -0,0 +1,39 @@
+.TH woff2sfnt\-zopfli "1" "November 2020" "woff2sfnt-zopfli" "User Commands"
+.SH NAME
+woff2sfnt\-zopfli \- decode WOFF file
+.IR woff ,
+writing OpenType data to stdout
+.SH SYNOPSIS
+woff2sfnt\-zopfli
+.RB [ \-v \ |\ \-m \ |\ \-p ]
+.I woff
+.SH DESCRIPTION
+.PP
+Decodes WOFF file
+.IR woff ,
+writing OpenType data to
+.BR stdout .
+.PP
+This is a modified version of the
+.BR woff2sfnt (1)
+utility that uses Zopfli as a compression algorithm instead of
+.BR zlib (3).
+.SH OPTIONS
+.TP
+.B \-v
+write font version to
+.B stdout
+.TP
+.B \-m
+write WOFF metadata block to
+.B stdout
+.TP
+.B \-p
+write private data block to
+.B stdout
+.SH NOTES
+Only one of \fB\-v\fR, \fB\-m\fR, \fB\-p\fR may be used at a time.
+.SH "SEE ALSO"
+.BR sfnt2woff-zopfli (1),
+.BR woff2sfnt (1),
+.BR sfnt2woff (1)