Behdad Esfahbod
|
7115af23eb
|
[util] Fix glib deprecation warning re g_memdup()
|
2021-08-19 15:55:21 -06:00 |
Behdad Esfahbod
|
ccc2a1921a
|
[util/hb-subset] Whitespace
|
2021-08-12 13:00:28 -06:00 |
Behdad Esfahbod
|
4dfc668e0a
|
[util/hb-subset] Move glyph name parsing inline instead of post_parse
Now that we have face around we can just do it as it happens.
|
2021-08-12 13:00:28 -06:00 |
Behdad Esfahbod
|
08d43d1ba1
|
[util/hb-subset] Move add_all_unicodes inline, instead of post_parse
Now that we have the font loaded, we can do it as it happens.
|
2021-08-12 13:00:28 -06: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
|
c45d2a9c9d
|
[util] Allow setting cli summary / description
|
2021-08-12 11:19:59 -06:00 |
Behdad Esfahbod
|
4f3b7b7035
|
[util] Remove unused usage
|
2021-08-12 11:05:31 -06:00 |
Behdad Esfahbod
|
1cb621d35d
|
[util/hb-subset] Minor move parsing
|
2021-08-12 10:58:19 -06:00 |
Behdad Esfahbod
|
3f94177ee8
|
[util] Use g_set_error() in one more place
|
2021-08-12 10:43:31 -06:00 |
Behdad Esfahbod
|
4d73b3d9b1
|
[util] Add --batch to hb-view / hb-ot-shape-closure
|
2021-08-12 10:39:46 -06:00 |
Behdad Esfahbod
|
23282c9c9d
|
[util/hb-subset] Support ranges in --unicodes / --unicodes-file
Fixes https://github.com/harfbuzz/harfbuzz/issues/3109
|
2021-08-11 22:49:47 -06:00 |
Behdad Esfahbod
|
f60f005b1f
|
[util/hb-subset] Remove wrong hb_set_destroy() in error paths
|
2021-08-11 22:36:00 -06:00 |
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
|
2021-08-11 22:34:14 -06:00 |
Behdad Esfahbod
|
bf80b7ea45
|
[util/hb-subset] Add --glyphs for passing glyph names
Part of https://github.com/harfbuzz/harfbuzz/issues/2455
|
2021-08-11 22:07:45 -06:00 |
Behdad Esfahbod
|
5b07c3c7d0
|
[util/hb-subset] Parse --text & --unicodes
|
2021-08-11 21:32:28 -06:00 |
Behdad Esfahbod
|
4ec727e55f
|
[util] Minor edit of failure messages
|
2021-08-11 20:46:16 -06:00 |
Behdad Esfahbod
|
b83f25c749
|
[util/hb-subset] Revamp option groups
|
2021-08-11 20:42:20 -06:00 |
Behdad Esfahbod
|
9a6055caa8
|
[util/hb-ot-shape-closure] Remove unnecessary include
|
2021-08-11 20:30:25 -06:00 |
Behdad Esfahbod
|
c98773ebb0
|
[util/hb-subset] Move output-file validation code into post_parse
|
2021-08-11 20:22:03 -06:00 |
Behdad Esfahbod
|
58bfe40794
|
[util] Move hb-subset away from main-font-text
|
2021-08-11 20:12:36 -06:00 |
Behdad Esfahbod
|
ba418cfc52
|
[util] Use automatic casts
|
2021-08-11 19:29:07 -06:00 |
Behdad Esfahbod
|
97a9e4e41e
|
[util] Separate shape_text_options_t from text_options_t
|
2021-08-11 19:28:16 -06:00 |
Behdad Esfahbod
|
6ba7ddafed
|
[util] Move text-file opening to post_parse
|
2021-08-11 19:06:57 -06:00 |
Behdad Esfahbod
|
23298bc846
|
[util] Remove unnecessary check
|
2021-08-11 18:58:25 -06:00 |
Behdad Esfahbod
|
fd0778aa2a
|
[util] Use post_parse in output_options_t
|
2021-08-11 18:54:46 -06:00 |
Behdad Esfahbod
|
24a9d8c78d
|
[util] Use post_parse in font_options_t
|
2021-08-11 18:49:59 -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
|
9468e46998
|
[util] Rename main_font_text back to main_font_text_t
|
2021-08-11 16:46:04 -06:00 |
Behdad Esfahbod
|
7e4fcf1be8
|
[util] Rename add_main_options
|
2021-08-11 12:12:49 -06:00 |
Behdad Esfahbod
|
62fb102184
|
[util] Move add_main_options() invocation
|
2021-08-11 12:03:07 -06:00 |
Behdad Esfahbod
|
9d8bbe3e53
|
[util] Make main_font_text a struct again
Going to move to G_OPTION_REMAINING.
|
2021-08-11 11:53:32 -06:00 |
Behdad Esfahbod
|
5bd463f130
|
[util/hb-subset] Access input directly
|
2021-08-10 14:26:48 -06:00 |
Behdad Esfahbod
|
6905f6fa60
|
[util/hb-subset] Use templated function to parse flags directly
|
2021-08-10 14:24:42 -06:00 |
Behdad Esfahbod
|
3e3e1801a5
|
[util] Small tweaks in --help output
|
2021-08-10 14:24:42 -06:00 |
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
|
2021-08-10 11:08:36 -06:00 |
Behdad Esfahbod
|
b83fd3a564
|
[util] Refactor batch-processing code into batch.hh
|
2021-08-10 02:32:55 -06:00 |
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
|
2021-08-09 19:16:13 -06:00 |
Behdad Esfahbod
|
7d2e9164ab
|
[util] Move text options into text_options_t
Remove now empty options.cc.
|
2021-08-07 13:38:19 -06:00 |
Behdad Esfahbod
|
93bc62e9b2
|
[util] Move output options into output-options.hh
|
2021-08-07 13:13:58 -06:00 |
Behdad Esfahbod
|
af9d2495dc
|
[util] Use inheritance for output_options_t
|
2021-08-07 13:09:56 -06:00 |
Behdad Esfahbod
|
9db0fd4821
|
[util] Don't show --output-format if no supported formats provided
|
2021-08-07 12:22:17 -06:00 |
Behdad Esfahbod
|
5545eea7e5
|
[util] Remove main_font_text_t class, use bare function
|
2021-08-07 11:04:46 -06:00 |
Behdad Esfahbod
|
58c223357b
|
[util] Move face/font options into face/font-options.hh
|
2021-08-06 23:47:48 -06:00 |
Behdad Esfahbod
|
6edd50ae7f
|
[util] Move option_parser_t code into options.hh
|
2021-08-06 23:36:45 -06:00 |
Behdad Esfahbod
|
798bb89c96
|
[util] Move shape format options into shape-format.hh
|
2021-08-06 23:30:55 -06:00 |
Behdad Esfahbod
|
c3599fded7
|
[util] Move shape options into shape-options.hh
|
2021-08-06 23:24:28 -06:00 |
Behdad Esfahbod
|
cfb2d6ad9e
|
[util] Move view options into view-options.hh
|
2021-08-06 23:14:30 -06:00 |
Behdad Esfahbod
|
167f58a2ca
|
[util] Move subset options into subset-options.hh
|
2021-08-06 23:10:49 -06:00 |
Behdad Esfahbod
|
370e961faf
|
[util/hb-subset] Use hb-subset.h public API instead of poking inside
Oops.
|
2021-08-06 22:59:50 -06:00 |