Files
harfbuzz/util/gpu/hexify
Behdad EsfahbodandClaude Opus 4.6 03c2688436 [gpu] Add GPU demo app in util/gpu
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>
2026-03-26 18:30:13 -06:00

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 '};';