mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-19 14:01:10 +01:00
Port the glyphy-demo to use the hb-gpu API. Builds as util/hb-gpu and requires GLEW, GLFW3, and OpenGL 3.3. Includes default text and embedded font for quick testing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
13 lines
206 B
Bash
Executable File
13 lines
206 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if test "$#" = 0; then
|
|
echo "Usage: $0 DECL-SPEC FILE..."
|
|
exit 1
|
|
fi
|
|
decl="$1"
|
|
shift
|
|
|
|
echo "$decl = {";
|
|
hexdump -v -e '"x" 1/1 "%02X" " "' $1 | fmt | sed 's/ *x/\\x/g;s/^/"/;s/$/"/';
|
|
echo '};';
|