Behdad Esfahbod
d1a3e40365
[util] Fix compiler warning
2025-10-02 18:58:40 -07:00
Garret Rieger
aa58b43de4
[subset] Introduce HB_SUBSET_FLAGS_RETAIN_NUM_GLYPHS. ( #5547 )
...
Used in conjunction with retain gids, when set the num glyphs from the input font will be preserved. Empty glyphs will be inserted as necessary to maintain the num glyphs value. Put under experimental for now.
2025-09-12 14:24:41 -06:00
Behdad Esfahbod
4a1d4fbf0d
harfbuzz.cc hb-shape ( #5474 )
...
* [util] Respect HB_NO_FEATURES_H macro
For builds using harfbuzz.cc and no features file.
* Kill PACKAGE_NAME and PACKAGE_VERSION
Remnants of autotools.
* [BUILD.md] Update
2025-08-17 17:12:22 -06:00
Behdad Esfahbod
68c7cfff43
[util] Don't specify helper-subset.hh ( #5473 )
...
Not needed I believe.
2025-08-17 16:57:32 -06:00
Behdad Esfahbod
2fa175ec74
[test] Fix compiler warning
2025-07-20 14:14:35 -06:00
Khaled Hosny
d054ebd5da
[cairo] Drop fallback code for versions we don’t support
...
We require cairo 1.10.0, so drop checks for older versions.
2025-07-02 20:14:51 +03:00
Khaled Hosny
af1b9acc27
[glib] Drop fallback code for versions we don’t support
...
We require Glib 2.30.0, so drop checks for older versions.
2025-07-02 20:14:51 +03:00
Behdad Esfahbod
7908e86e35
[util/test-shape] Only output one line per test
...
If a shape call was failing, perhaps because of --verify failing,
hb-shape was producing multiple lines possibly, making the test
runner get out of sync and fail all following tests.
https://github.com/harfbuzz/harfruzz/issues/60
2025-06-06 20:19:06 -06:00
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