Initial commit
This commit is contained in:
commit
ca93f7224c
52 changed files with 7770 additions and 0 deletions
2
luaharfbuzz/scripts/generate_harfbuzz_api_list.sh
Executable file
2
luaharfbuzz/scripts/generate_harfbuzz_api_list.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
grep -e "^hb_" /usr/local/include/harfbuzz/hb*.h | grep "(" | sed -e 's/ .*$//' | awk -F: '{print $2}' | sort > status/full_api.txt
|
11
luaharfbuzz/scripts/generate_hb_shape_json.sh
Executable file
11
luaharfbuzz/scripts/generate_hb_shape_json.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
SHAPER_OPTS="--font-funcs=ot --shapers=ot"
|
||||
CLUSTER_OPTS="--utf8-clusters"
|
||||
FORMAT_OPTS="--show-flags --no-glyph-names --output-format=json"
|
||||
STANDARD_OPTS="$SHAPER_OPTS $CLUSTER_OPTS $FORMAT_OPTS"
|
||||
|
||||
hb-shape $STANDARD_OPTS fonts/notonastaliq.ttf "یہ" > fixtures/notonastaliq_U06CC_U06C1.json
|
||||
hb-shape $STANDARD_OPTS fonts/amiri-regular.ttf "123" > fixtures/amiri-regular_123.json
|
||||
hb-shape $STANDARD_OPTS --features="+numr" fonts/amiri-regular.ttf "123" > fixtures/amiri-regular_123_numr.json
|
||||
hb-shape $SHAPER_OPTS $FORMAT_OPTS /Library/Fonts/AppleGothic.ttf "가나다" > fixtures/AppleGothic_korean_issue_22.json
|
Loading…
Add table
Add a link
Reference in a new issue