1
1
mirror of https://github.com/rsms/inter.git synced 2024-12-25 00:21:40 +03:00
inter/misc/fontsample
2018-09-01 12:57:55 -07:00
..
.gitignore Adds fontsample tool for rendering PDF and PNG font samples on macOS 2018-09-01 12:57:55 -07:00
fontsample Adds fontsample tool for rendering PDF and PNG font samples on macOS 2018-09-01 12:57:55 -07:00
fontsample.mm Adds fontsample tool for rendering PDF and PNG font samples on macOS 2018-09-01 12:57:55 -07:00
Makefile Adds fontsample tool for rendering PDF and PNG font samples on macOS 2018-09-01 12:57:55 -07:00
README.md Adds fontsample tool for rendering PDF and PNG font samples on macOS 2018-09-01 12:57:55 -07:00

fontsample

A macOS-specific program for generating a PDF with text sample of a specific font file.

$ make
$ ./fontsample -h
usage: ./fontsample [options] <fontfile>

options:
  -h, -help         Show usage and exit.
  -z, -size <size>  Font size to render. Defaults to 96.
  -t, -text <text>  Text line to render. Defaults to "Rags78 **A**".
  -o <file>         Write output to <file> instead of default filename.
                    Defaults to <fontfile>.pdf. If the provided filename
                    ends with ".png" a PNG is written instead of a PDF.

<fontfile>
  Any font file that macOS can read.