Commit Graph
18549 Commits
Author SHA1 Message Date
Behdad Esfahbod 449752c57c [fontations] Fix get_v_advances() fallback
Was crashing without vmtx before.
2025-03-27 20:02:08 -06:00
Behdad Esfahbod b808d1746d [fontations] Move variable scope 2025-03-27 19:52:42 -06:00
Behdad Esfahbod 9d584c4d3d [fontations] Remove stale comment 2025-03-27 19:34:54 -06:00
Behdad Esfahbod 82d664519c [subset] Fix check-symbols test 2025-03-27 17:47:56 -06:00
Behdad Esfahbod 7ba0368200 [test] Enable aat-trak on all font funcs now 2025-03-27 17:14:22 -06:00
Garret Rieger 283ab21841 [subset] remove CFF/CFF2 table presence checks.
Not needed now that we are checking accelerator validity.
2025-03-27 16:35:35 -06:00
Behdad Esfahbod 0752e5852b Merge pull request #5219 from harfbuzz/gid_data
[subset] Add API for retrieving the raw per glyph outline data from CFF and CFF2.
2025-03-27 16:12:14 -06:00
Garret Rieger ae8b288db7 [subset] Correctly handle lifetime of charstrings data blob returned by hb_subset_cff_get_charstring_data. 2025-03-27 22:07:06 +00:00
Behdad Esfahbod c50c0a39e5 Merge pull request #5223 from harfbuzz/trak-back
Revert "[ot-font/trak] Move trak application to ot-font instead of ot…
2025-03-27 15:43:49 -06:00
Behdad Esfahbod b4fd777c23 [aat] Remove hb_aat_layout_get_tracking() again
https://github.com/harfbuzz/harfbuzz/pull/5223
2025-03-27 15:37:01 -06:00
Qunxin Liu 5ebe36e1ac [subset] bug fix for CaretValueFormat3
Don't return false in case of a Hinting Device table
2025-03-27 15:12:42 -06:00
Behdad Esfahbod 208ffb3f1f [coretext-font] Undo tracking in get_[hv]_advances()
Fixes https://github.com/harfbuzz/harfbuzz/issues/5221
2025-03-27 15:10:52 -06:00
Behdad Esfahbod dda1d95af2 Revert "[ot-font/trak] Move trak application to ot-font instead of ot-shape"
This reverts commits ffae5b040d and
17c11ec523.

Plus manual modifications.

See https://github.com/harfbuzz/harfbuzz/issues/5221
2025-03-27 14:44:52 -06:00
Garret Rieger 0d4053b11d [subset] Add hb-subset.h API for retrieving the raw per glyph outline data from CFF and CFF2. 2025-03-27 20:20:52 +00:00
Behdad Esfahbod 7c90f446c2 Merge pull request #5216 from harfbuzz/manpages
[util] Towards building manpages
2025-03-27 14:13:04 -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
John BamptonandMax Base ba6869848f src: fix spelling in code comments
Co-authored-by: Max Base <MaxBaseCode@gmail.com>
2025-03-27 12:18:07 -06: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
Qunxin Liu 192d264ae7 [subset] remove divisions when computing the cost of binary search 2025-03-25 15:37:14 -06:00
Behdad Esfahbod 4d2a362f84 [test/subset] Remove tempdir
Was creating a tempdir in /tmp for every single test item,
and not removing it.  Create one per test file, and remove
if test successful.
2025-03-25 15:36:39 -06:00
Behdad Esfahbod bed29d1cd3 Merge pull request #5211 from harfbuzz/aots-update
Aots update
2025-03-25 15:19:56 -06:00
Behdad Esfahbod e16a985798 [test/shape/aots] Add directive to run with ot shaper only 2025-03-25 15:17:23 -06:00
Behdad Esfahbod 851d3e33b5 [aots] Fix compile error
Also requires https://github.com/adobe-type-tools/aots/pull/5 to
be merged. Or if that repo is inactive, we can switch to my fork.
2025-03-25 15:06:24 -06:00
Behdad Esfahbod 2b5f244639 [util] Remove hb-ot-shape-closure
Not used...
2025-03-25 14:12:36 -06:00
Behdad Esfahbod eec9108416 [test/shape] Adjust uniscribe test 2025-03-25 13:56:12 -06:00
Behdad Esfahbod fea0c0df33 [fontations] More idiomatic 2025-03-25 12:34:00 -06:00
Behdad Esfahbod fe51e23738 Merge pull request #5206 from harfbuzz/tests-improvements
Some small test improvements
2025-03-25 12:20:02 -06:00
Khaled Hosny 188531b3ba [circleci] Drop minsize job
It is causing trouble again and it was never that useful.
2025-03-25 19:24:00 +02:00
Khaled Hosny d81d4dfbd3 [circleci] Lets see of using Ubuntu 24.04 fixes the minsize job 2025-03-25 19:24:00 +02:00
Khaled Hosny 614013940d [test/shape] Update comment 2025-03-25 19:24:00 +02:00
Khaled Hosny 190ad35f71 [test/shape] Don’t skip test if hb-shape --list-* fails
This can happen with Wine when, e.g., `WINEPATH` is not set, and we
would silently skip the tests because lists of supported shapers etc.
are empty.
2025-03-25 16:34:19 +02:00
Khaled Hosny 6cf308c857 [test/shape] Remove @font-funcs-=directwrite from directwrite test
The directwrite font functions support variations now, so this is no
longer needed.
2025-03-25 10:34:43 +02:00
Khaled Hosny 1402ecfecf [test/shape] Use @shapers directive in uniscribe test 2025-03-25 10:33:38 +02:00
Behdad Esfahbod 46a30fe390 [test/shape] Respect @shapers directive 2025-03-24 18:23:34 -06:00
Behdad Esfahbod bb3a55a61a [fontations] Add TODO 2025-03-24 17:05:58 -06:00
Behdad Esfahbod 0affe12785 [fontations] Apply variations to glyph_v_advances 2025-03-24 17:00:57 -06:00
Behdad Esfahbod 83d3ffc5d1 [fontations] Hook up variations to v_origin
Output matches ot backend, but not ft. Not gonna dig down there
right now. I *think* ft doesn't implement VORG table IIRC.
2025-03-24 16:58:12 -06:00