Garret Rieger
efcb7d3de1
[subset] close unicodes over bidi mirror variants during subsetting.
...
Fixes #5281 . Does the closure by default, but I've introduced a new flag and option to disable this behaviour since some users may want to get the minimal set if they know they don't need the mirrored variants.
2025-04-11 18:13:28 -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
00b4f86e5f
[hb-subset] In batch mode preprocess font once
...
Speeds up cmap.tests from 3s to under .5s.
2025-04-05 16:20:05 -06:00
Behdad Esfahbod
267de2bb90
[hb-view] Report success/failure in --batch mode
...
Otherwise client can't know when the job is done.
2025-04-05 16:14:24 -06:00
Behdad Esfahbod
fa737da022
[hb-subset] Speed up parsing glyphs-file
...
Cache the font used to load glyph names.
2025-04-05 16:02:09 -06:00
Behdad Esfahbod
54295ccf45
[hb-subset] Speed up parsing glyphs-file
...
Cache the font used to load glyph names.
2025-04-05 15:26:07 -06:00
Behdad Esfahbod
0fecd2ecc3
[hb-subset] Accept gidXXX-style glyph names
2025-04-05 15:20:49 -06:00
Behdad Esfahbod
a637c08d5a
[hb-subset] Fix leak
2025-04-05 15:02:28 -06:00
Behdad Esfahbod
3207575979
[subset] Allow options before --font-file
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4913
2025-04-04 18:13:36 -06:00
Behdad Esfahbod
ea08b04752
[util] Fix --glyphs output with negative numbers
2025-03-28 16:25:58 -06:00
Behdad Esfahbod
d47a47e20b
[util] Make --help less verbose again
...
Just the main page gets env-vars, exit-codes, and see-also.
2025-03-27 13:59:08 -06:00
Khaled Hosny
7ab42f9af3
[util] Build man pages only if docs are enabled
2025-03-27 21:31:29 +02:00
Khaled Hosny
9609f50bad
[util] Build man page only if the corresponding util is built
2025-03-27 21:31:29 +02:00
Khaled Hosny
9a80c0da84
[util] Install man pages
2025-03-27 21:16:12 +02:00
Behdad Esfahbod
7f10c0edfd
[util] Towards building manpages
...
TODO:
1. Only when docs are enabled?
2. Installdir
3. How to include in release?
Fixes https://github.com/harfbuzz/harfbuzz/issues/5208
2025-03-26 22:21:51 -06:00
Behdad Esfahbod
bd5b8a1feb
[util] Report exit codes in help
2025-03-26 21:35:32 -06:00
Behdad Esfahbod
e4410a85fa
[util] Simplify envvar reporting
2025-03-26 21:35:32 -06:00
Khaled Hosny
a6f563247e
[util] Fix Windows build
...
Windows headers define `environ`.
2025-03-27 03:26:20 +02:00
Behdad Esfahbod
93288a1ced
[util] Fix crasher
2025-03-27 03:26:20 +02: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
4d83b238ea
[util] Link to website for more info / reporting bugs
...
Part of https://github.com/harfbuzz/harfbuzz/issues/5208
2025-03-26 13:01:34 -06:00
Behdad Esfahbod
59001aa952
[util] Add brief --help descriptions
...
Part of https://github.com/harfbuzz/harfbuzz/issues/5208
2025-03-26 12:33:06 -06:00
Behdad Esfahbod
3d3f241941
[util] Improve help messages a bit
...
Part of https://github.com/harfbuzz/harfbuzz/issues/5208
2025-03-26 01:18:09 -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
2b5f244639
[util] Remove hb-ot-shape-closure
...
Not used...
2025-03-25 14:12:36 -06:00
Behdad Esfahbod
7612ec44dc
[util] Show glyph extents only if available
2025-03-23 13:11:23 -06:00
Behdad Esfahbod
4822cb7672
[hb-info] Report WebAssembly in technology
2025-03-19 15:14:58 -06:00
Behdad Esfahbod
60ce16f221
[CI] Fix build
2025-03-19 13:22:27 -06:00
Behdad Esfahbod
34b9100c67
[hb-info] Fix argument parsing vs default behavior
...
Default was if no args other than one font was provided, then
--show-all was enabled. This broke if eg. --face-loader=ft was
provided, then suddenly nothing was shown. Fix it to --show-all
if no "query" options are provided.
2025-03-19 13:15:44 -06:00
Behdad Esfahbod
38889c3ad6
[coretext] Fix loading named instances
...
Needs tests...
TTC indices > 0 can't be loaded with CoreText API it seems.
Fixes https://github.com/harfbuzz/harfbuzz/issues/5158
2025-03-18 03:28:44 -06:00
Behdad Esfahbod
b24a93c68e
[util] Reload face if face-loader changed
2025-03-17 21:05:21 -06:00
Behdad Esfahbod
f88fe4d403
[util] Update for new grapheme cluster level
2025-03-10 01:02:56 -06:00
Behdad Esfahbod
c88e819965
Fix compiler warning
2025-03-09 16:53:03 -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
437ce95059
[util] Add --list-font-funcs
2025-03-08 13:12:15 -07:00
Behdad Esfahbod
2a878b1b76
[font-funcs] Add two new API
...
+ hb_font_set_funcs_using()
+ hb_font_list_funcs()
Part of https://github.com/harfbuzz/harfbuzz/issues/5117
2025-03-08 11:50:53 -07:00
Behdad Esfahbod
395270e494
[fontations] Try folding into libharfbuzz
2025-03-06 04:23:24 +02:00
Behdad Esfahbod
f28daba53c
[fontations] I don't know...
2025-03-06 04:23:24 +02:00
Behdad Esfahbod
161b20f333
Try building with cargo
2025-03-06 04:23:24 +02:00
Behdad Esfahbod
f9b4706151
[fontations] Use as dependency, not library
...
Since it's optional.
2025-03-06 04:23:24 +02:00
Behdad Esfahbod
2abe54fc9c
Almost works!
2025-03-06 04:23:24 +02:00
Behdad Esfahbod
718542ef7a
[util] Space
2025-03-03 22:45:15 -07:00
Khaled Hosny
69e1c3c352
[ft] Add hb_ft_font_get_ft_face()
...
A new name for hb_ft_font_get_face(), which is now deprecated.
Fixes https://github.com/harfbuzz/harfbuzz/issues/5084
2025-02-28 23:56:03 +02:00
Behdad Esfahbod
e6eec3cc14
[test] Silence compiler warning
2025-02-18 00:48:49 -07:00
Behdad Esfahbod
ee19666c39
[hb-shape/view] Allow --unicodes and --text if at least one is empty
...
Useful for scripting.
2025-02-09 05:14:36 +00:00
Qunxin Liu
3bb89eebd6
[instancer] use hb_parse_double() for parsing axis positions
...
Added hb_subset_axis_range_from/to_string()
2024-11-25 09:38:13 -07:00
Behdad Esfahbod
2ddae77179
[util/cairo] Handle all null matrices
2024-11-17 00:02:03 -07:00
Behdad Esfahbod
52becf1c6d
[test] Fix a leak
2024-10-15 14:58:13 -06:00