Behdad Esfahbod and Claude Opus 4.6
25e69d9b96
[gpu] Port hb-gpu-demo to options.hh infrastructure
...
Replace the manual getopt-based demo main with the standard
main_font_text_t / shape_consumer_t composition, getting all
harfbuzz options for free: --variations, --features, --script,
--direction, --face-index, --font-funcs, etc.
New gpu_output_t (in util/gpu-output.hh) implements the output
interface, feeding shaped glyphs to the demo's GL renderer.
Add demo_buffer_add_glyph() and demo_buffer_current_line() to
demo-buffer for glyph-at-a-time insertion (vs the old batch
add_text which did its own shaping).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-27 16:34:04 -06:00
Behdad Esfahbod
fd9903fc4e
[hb-subset] Try to fix leak
2025-04-06 16:20:23 -06:00
Behdad Esfahbod
03f4230188
[mac] Add tests for --face-loader
...
https://github.com/harfbuzz/harfbuzz/issues/5142
2025-04-06 13:32:28 -06:00
Behdad Esfahbod
bd5b8a1feb
[util] Report exit codes in help
2025-03-26 21:35:32 -06:00
Behdad Esfahbod
a410a042c7
[util] Add environment and see also sections
...
Part of https://github.com/harfbuzz/harfbuzz/issues/5208
2025-03-26 18:09:07 -06:00
Behdad Esfahbod
75643768de
[util] List available shapers in --help-all
...
Remove it from --version.
Part of https://github.com/harfbuzz/harfbuzz/issues/5208
2025-03-26 01:00:38 -06:00
Behdad Esfahbod
29c800bd8d
[util] Return diff values for diff failures
...
Need documentation in the help output...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5164
2025-03-25 16:55:03 -06:00
Behdad Esfahbod
b24a93c68e
[util] Reload face if face-loader changed
2025-03-17 21:05:21 -06:00
Behdad Esfahbod
39ade99d47
[face] Two new APIs:
...
+ hb_face_create_from_file_or_fail_using()
+ hb_face_list_loaders()
2025-03-09 01:25:52 -07:00
Behdad Esfahbod
718542ef7a
[util] Space
2025-03-03 22:45:15 -07:00
Behdad Esfahbod
67591f8511
[util] Add --face-loader
...
Currently crashes with ft. Investigating.
2024-10-15 14:58:13 -06:00
Behdad Esfahbod
aa933abb76
[util] Use hb_face_create_from_file_or_fail()
2024-10-15 14:58:13 -06:00
Behdad Esfahbod
c05230256d
[util] Add -y for --face-index
...
Ala ttx.
2023-01-20 12:08:31 -07:00
Behdad Esfahbod
1816d3664d
[hb-info] Flesh out
2023-01-19 12:59:26 -07:00
Behdad Esfahbod
cc6a9bfa6f
[hb-shape/view] Print table length in --list-tables
2023-01-15 18:16:19 -07:00
Behdad Esfahbod
880d65c905
[hb-shape/view] Add --list-tables
2023-01-15 18:14:14 -07:00
Behdad Esfahbod
11b0b68853
[util/hb-subset] Pre-parse font-face so we can use it during main parsing
2021-08-12 13:00:28 -06:00
Behdad Esfahbod
58bfe40794
[util] Move hb-subset away from main-font-text
2021-08-11 20:12:36 -06:00
Behdad Esfahbod
e4b33d9d36
[util] Use post_parse in face_options_t
2021-08-11 18:49:58 -06:00
Behdad Esfahbod
c0ea4e2d33
[util] Use post_parse to validate
2021-08-11 18:30:08 -06:00
Behdad Esfahbod
58c223357b
[util] Move face/font options into face/font-options.hh
2021-08-06 23:47:48 -06:00