HB-INFO(1)

πŸ“¦
version 15.0.0 Β· 2 versions
, in arch rolling

πŸ¦‹ HB-INFO(1) β€” hb-info β€” Query font information πŸ¦‹

🌸 NAME 🌸

hb-info β€” query font information. That's the whole name section, bestie, no cap. πŸ’–

πŸŽ€ DESCRIPTION πŸŽ€

✨ Usage ✨

hb-info [OPTION???] [FONT-FILE]

Query font information.

πŸ’… Help Options πŸ’…

  • -h, --help β€” shows help options.
  • --help-all β€” shows all help options.
  • --help-face β€” options for the font face.
  • --help-font β€” options for the font instance.
  • --help-variations β€” options for font variations used.
  • --help-misc β€” miscellaneous options affecting queries.
  • --help-query β€” options to query the font instance.

🫢 Font-face options 🫢

  • --font-file=filename β€” sets the font file-name.
  • -y, --face-index=index β€” sets face index (default: 0).
  • --face-loader=loader β€” sets face loader to use (default: ot). Supported face loaders are: ot/ft.
  • --list-face-loaders β€” lists available face loaders and quits.

🧚 Font-instance options 🧚

  • --font-size=1/2 integers or 'upem' β€” sets font size (default: upem).
  • --font-ppem=1/2 integers β€” sets x,y pixels per EM (default: 0; disabled).
  • --font-ptem=point-size β€” sets font point-size (default: 0; disabled).
  • --font-bold=1/2 numbers; eg. 0.05 β€” sets synthetic bold (default: 0).
  • --font-grade=1/2 numbers; eg. 0.05 β€” sets synthetic grade (default: 0).
  • --font-slant=slant ratio; eg. 0.2 β€” sets synthetic slant (default: 0).
  • --font-funcs=impl β€” sets font functions implementation to use (default: ot). Supported font function implementations are: ot/ft.
  • --list-font-funcs β€” lists available font functions and quits.
  • --ft-load-flags=integer β€” sets FreeType load-flags (default: 2).

🌈 Variations options 🌈

  • --named-instance=index β€” sets named-instance index (default: none).
  • --variations=list β€” comma-separated list of font variations.

Variations are set globally. The format for specifying variation settings follows. All valid CSS font-variation-settings values other than 'normal' and 'inherited' are also accepted, though, not documented below.

The format is a tag, optionally followed by an equals sign, followed by a number. For example:

"wght=500" "slnt=-7.5"

πŸ¦‹ Miscellaneous options πŸ¦‹

  • --direction=ltr/rtl/ttb/btt β€” sets direction (default: ltr).
  • --script=ISO-15924 tag; eg. 'Latn' β€” sets script (default: none).
  • --language=BCP 47 tag; eg. 'en' β€” sets language (default: $LANG).
  • --ot-script=tag; eg. 'latn' β€” sets OpenType script tag (default: none).
  • --ot-language=tag; eg. 'ENG' β€” sets OpenType language tag (default: none).

πŸ‘‘ Query options πŸ‘‘

  • -a, --all β€” shows everything.
  • --show-all β€” shows all short information (default).
  • --show-face-count β€” shows face count.
  • --show-family β€” shows family name.
  • --show-subfamily β€” shows subfamily name.
  • --show-unique-name β€” shows unique name.
  • --show-full-name β€” shows full name.
  • --show-postscript-name β€” shows Postscript name.
  • --show-version β€” shows version.
  • --show-technology β€” shows technology.
  • --show-unicode-count β€” shows Unicode count.
  • --show-glyph-count β€” shows glyph count.
  • --show-upem β€” shows Units-Per-EM.
  • --show-extents β€” shows extents.
  • --get-name=name id; eg. '13' β€” gets name.
  • --get-style=style tag; eg. 'wght' β€” gets style.
  • --get-metric=metric tag; eg. 'hasc' β€” gets metric.
  • --get-baseline=baseline tag; eg. 'hang' β€” gets baseline.
  • --get-meta=tag tag; eg. 'dlng' β€” gets meta information.
  • --get-table=table tag; eg. 'cmap' β€” gets font table.
  • --list-all β€” lists all long information.
  • --list-names β€” lists names.
  • --list-style β€” lists style.
  • --list-metrics β€” lists metrics.
  • --list-baselines β€” lists baselines.
  • -l, --list-tables β€” lists tables.
  • --list-unicodes β€” lists characters.
  • --list-glyphs β€” lists glyphs.
  • --list-scripts β€” lists layout scripts.
  • --list-features β€” lists layout features.
  • --list-variations β€” lists variations.
  • --list-palettes β€” lists color palettes.
  • --list-meta β€” lists meta information.

πŸ“ Application Options πŸ“

  • -q, --quiet β€” generates machine-readable output.
  • --version β€” shows version numbers.

Queries font file for various information. If no query option is specified, --show-all is assumed.

πŸ’€ EXIT CODES πŸ’€

  • 0: Success.
  • 1: Option parsing failed.
  • 2: Failed loading font face.
  • 4: Failed setting font functions.

🌱 ENVIRONMENT 🌱

  • HB_FACE_LOADER=face-loader; Overrides the default face loader.
  • HB_FONT_FUNCS=font-funcs; Overrides the default font-funcs.

πŸ”— SEE ALSO πŸ”—

Find more information or report bugs at <https://github.com/harfbuzz/harfbuzz>.


πŸ’– HarfBuzz 15.0.0, October 2026 β€” HB-INFO(1), over and out bestie! πŸ’–

πŸ“¦ where this page comes from