auto auto $: Utilities: HarfBuzz Manual

Utilities

Command-line tools
hb-shape
hb-view
hb-subset
Common data types and APIs
UCDN

HarfBuzz includes several auxiliary components in addition to the main APIs. These include a set of command-line tools, a set of lower-level APIs for common data types that may be of interest to client programs, and an embedded library for working with Unicode Character Database (UCD) data.

Command-line tools

HarfBuzz include three command-line tools: hb-shape, hb-view, and hb-subset. They can be used to examine HarfBuzz's functionality, debug font binaries, or explore the various shaping models and features from a terminal.

hb-shape

hb-shape allows you to run HarfBuzz's hb_shape() function on an input string and to examine the outcome, in human-readable form, as terminal output. hb-shape does not render the results of the shaping call into rendered text (you can use hb-view, below, for that). Instead, it prints out the final glyph indices and positions, taking all shaping operations into account, as if the input string were a HarfBuzz input buffer.

You can specify the font to be used for shaping and, with command-line options, you ca