Behdad Esfahbod
4f3b7b7035
[util] Remove unused usage
3 years ago
Behdad Esfahbod
1cb621d35d
[util/hb-subset] Minor move parsing
3 years ago
Behdad Esfahbod
3f94177ee8
[util] Use g_set_error() in one more place
3 years ago
Behdad Esfahbod
4d73b3d9b1
[util] Add --batch to hb-view / hb-ot-shape-closure
3 years ago
Behdad Esfahbod
302bde0bfb
Merge pull request #3135 from harfbuzz/post-parse
...
[util] Clean up option parsing some more and implement missing featuress
3 years ago
Behdad Esfahbod
23282c9c9d
[util/hb-subset] Support ranges in --unicodes / --unicodes-file
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3109
3 years ago
Behdad Esfahbod
f60f005b1f
[util/hb-subset] Remove wrong hb_set_destroy() in error paths
3 years ago
Behdad Esfahbod
49cf36027c
[util/hb-subset] Parse --gids-file, --glyphs-file, --text-file, --unicodes-file
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2455
Fixes https://github.com/harfbuzz/harfbuzz/issues/3002
3 years ago
Behdad Esfahbod
bf80b7ea45
[util/hb-subset] Add --glyphs for passing glyph names
...
Part of https://github.com/harfbuzz/harfbuzz/issues/2455
3 years ago
Behdad Esfahbod
5b07c3c7d0
[util/hb-subset] Parse --text & --unicodes
3 years ago
Behdad Esfahbod
4ec727e55f
[util] Minor edit of failure messages
3 years ago
Behdad Esfahbod
b83f25c749
[util/hb-subset] Revamp option groups
3 years ago
Behdad Esfahbod
9a6055caa8
[util/hb-ot-shape-closure] Remove unnecessary include
3 years ago
Behdad Esfahbod
c98773ebb0
[util/hb-subset] Move output-file validation code into post_parse
3 years ago
Behdad Esfahbod
58bfe40794
[util] Move hb-subset away from main-font-text
3 years ago
Behdad Esfahbod
3147e081da
Merge branch 'main' into post-parse
3 years ago
Khaled Hosny
43722cc9f4
[test] Add some real reverse sub tests
3 years ago
Behdad Esfahbod
ba418cfc52
[util] Use automatic casts
3 years ago
Behdad Esfahbod
97a9e4e41e
[util] Separate shape_text_options_t from text_options_t
3 years ago
Behdad Esfahbod
6ba7ddafed
[util] Move text-file opening to post_parse
3 years ago
Behdad Esfahbod
23298bc846
[util] Remove unnecessary check
3 years ago
Behdad Esfahbod
fd0778aa2a
[util] Use post_parse in output_options_t
3 years ago
Behdad Esfahbod
24a9d8c78d
[util] Use post_parse in font_options_t
3 years ago
Behdad Esfahbod
e0d7060f80
[test] Rename shaping/ to shape/
3 years ago
Behdad Esfahbod
e4b33d9d36
[util] Use post_parse in face_options_t
3 years ago
Behdad Esfahbod
c0ea4e2d33
[util] Use post_parse to validate
3 years ago
Khaled Hosny
f122698810
[test] Improve generate-expected-outputs.py diff output
3 years ago
Behdad Esfahbod
9468e46998
[util] Rename main_font_text back to main_font_text_t
3 years ago
Khaled Hosny
6ac6a2b27b
[test] hb_ot_layout_language_get_feature_tags()
3 years ago
Khaled Hosny
e9b743b26d
[test] hb_ot_layout_script_get_language_tags()
3 years ago
Khaled Hosny
bf438b815f
[test] hb_ot_layout_table_get_feature_tags()
3 years ago
Khaled Hosny
2f88ea5a20
[test] hb_ot_layout_table_find_script()
3 years ago
Khaled Hosny
f60caad7ff
[test] hb_ot_layout_table_get_script_tags()
3 years ago
Behdad Esfahbod
7e4fcf1be8
[util] Rename add_main_options
3 years ago
Behdad Esfahbod
62fb102184
[util] Move add_main_options() invocation
3 years ago
Behdad Esfahbod
9d8bbe3e53
[util] Make main_font_text a struct again
...
Going to move to G_OPTION_REMAINING.
3 years ago
Behdad Esfahbod
5bd463f130
[util/hb-subset] Access input directly
3 years ago
Behdad Esfahbod
6905f6fa60
[util/hb-subset] Use templated function to parse flags directly
3 years ago
Behdad Esfahbod
3e3e1801a5
[util] Small tweaks in --help output
3 years ago
Garret Rieger
c08f1b8903
[map] fix incorrect population count in hash map.
...
If the same key was set twice the population was being incorrectly incremented.
3 years ago
Garret Rieger
e39c3bde7b
[subset] fix bug in parsing glyf flags.
...
the bytes of the flag stream were being treated as signed integers instead of unsigned as specified in the spec.
3 years ago
Behdad Esfahbod
f5a8f747ff
Merge pull request #3132 from harfbuzz/semicolon
...
Use semicolon in shaping test suite
3 years ago
Behdad Esfahbod
f3acb977ec
[test/shaping;util] Use ';' instead of ':' to separate test fields
...
Accept that in --batch mode. Also in batch mode don't send the 0th arg.
Related discussion: https://github.com/harfbuzz/harfbuzz/pull/3102
3 years ago
Behdad Esfahbod
b83fd3a564
[util] Refactor batch-processing code into batch.hh
3 years ago
Behdad Esfahbod
d92ee726ce
[util/hb-shape] Treat as single-paragraph text other than provided by a file
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3129
3 years ago
Behdad Esfahbod
8940409e3c
Merge pull request #3121 from harfbuzz/subset-args
...
Fix up `hb-subset --help-all`
3 years ago
Ben Wagner
f5ba1fabce
Fix documentation of hb_subset_flags_t defaults
...
HB_SUBSET_FLAGS_DEFAULT is 0, and hb_subset_input_create_or_fail
initializes its flags to HB_SUBSET_FLAGS_DEFAULT, so currently all flags
are set to false by default. It has been decided that future flags will
also be false by default for simplicity (using NO_ in the name if
needed). Correct and simplify the documentation for hb_subset_flags_t to
reflect this.
3 years ago
Behdad Esfahbod
7d2e9164ab
[util] Move text options into text_options_t
...
Remove now empty options.cc.
3 years ago
Behdad Esfahbod
93bc62e9b2
[util] Move output options into output-options.hh
3 years ago
Behdad Esfahbod
af9d2495dc
[util] Use inheritance for output_options_t
3 years ago