ot2kpx - Man Page

extract kerning information from OpenType fonts

Synopsis

ot2kpx [ -afm | -kpx | -lua ] <fontfile>

Description

ot2kpx extract the kerning data from OpenType fonts and prints it to stdout, either in Adobe's KPX format (for adding to an afm file) or as a Luatex custom feature, for use with the \directlua command.

Options and Arguments

-help

Print a short help text and exit.

-version

Print ot2kpx's version and exit.

-afm,  -kpx

Output the kerning data in Adobe's KPX format, as used in afm files. This is the default output format.

-lua

Output the kerning data as a Luatex custom font feature, to be included in a \directlua command.

<fontfile>

The OpenType font (both otf and ttf format are supported).

Restrictions

Author

Marc Penninga <marcpenninga@gmail.com>

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. A copy of the GNU General Public License is included with ot2kpx; see the file GPLv2.txt.

Disclaimer

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Version

This document describes ot2kpx version 20230201.

Recent Changes

(See the source code for the rest of the story.)

2019-05-20

Added the -version option.

2019-04-15

Added the -lua command-line option to get output in Luatex's custom feature format.

Info

2023-02-01 fontools Marc Penninga