harfbuzz

OpenType text shaping engine for complex scripts

brewmacoslinux
Try with needOr install directly
Source

About

OpenType text shaping engine

Commands

hb-shapehb-viewhb-subset

Examples

Shape text with a font and display glyph information$ hb-shape /path/to/font.ttf 'Hello World'
Create a subset of a font containing only specific characters$ hb-subset /path/to/font.ttf --unicodes=U+0041-U+005A -o subset.ttf
Visualize shaped text output with font rendering$ hb-view /path/to/font.ttf 'العربية' --output-file=output.png