Debian Codegraph @

texk/web2c/luatexdir/luaharfbuzz/scripts/generate_hb_shape_json.sh

raw symbols SCIP
1 #!/bin/sh
2
3 SHAPER_OPTS="--font-funcs=ot --shapers=ot"
4 CLUSTER_OPTS="--utf8-clusters"
5 FORMAT_OPTS="--show-flags --no-glyph-names --output-format=json"
6 STANDARD_OPTS="$SHAPER_OPTS $CLUSTER_OPTS $FORMAT_OPTS"
7
8 hb-shape $STANDARD_OPTS fonts/notonastaliq.ttf "یہ" > fixtures/notonastaliq_U06CC_U06C1.json
9 hb-shape $STANDARD_OPTS fonts/amiri-regular.ttf "123" > fixtures/amiri-regular_123.json
10 hb-shape $STANDARD_OPTS --features="+numr" fonts/amiri-regular.ttf "123" > fixtures/amiri-regular_123_numr.json
11 hb-shape $SHAPER_OPTS $FORMAT_OPTS /Library/Fonts/AppleGothic.ttf "가나다" > fixtures/AppleGothic_korean_issue_22.json