Behdad Esfahbod
64bcc95ce5
Comment
2025-06-12 10:08:20 -06:00
Behdad Esfahbod
1eca1f31c7
[HVF] Fix drawing
2025-06-12 09:20:33 -06:00
Behdad Esfahbod
12475fc9df
Merge branch 'main' into HVF
2025-06-11 16:33:15 -06:00
Behdad Esfahbod
5060ccf4aa
[rust] Ignore one more compiler symbol
2025-06-11 16:01:54 -06:00
Behdad Esfahbod
2617e89df1
[rust] Finish renaming HarfRuzz to HarfRust
2025-06-11 15:52:47 -06:00
Behdad Esfahbod
fc6231726e
[gen-ucd] Make clippy happy
2025-06-10 16:44:24 -06:00
Behdad Esfahbod
c936b22937
[rust] Update to HarfRuzz->HarfRust rename
2025-06-10 08:22:47 -06:00
Behdad Esfahbod
dcf50ca6fe
[rust] Roll forward
2025-06-10 03:10:06 -06:00
Behdad Esfahbod
47089fe7a3
Big misc changes
...
- Make geometry types into templates taking float or double.
- Changes to paint() transform elimination.
- Add font->has_nonzero_coords and use it across.
- Extensions to avar processing for otherwise invalid mappings.
2025-06-08 13:43:27 +03:00
Khaled Hosny
332995643f
Revert "See if fixes fedora-valgrind bot"
...
This reverts commit e2569e6a29a8559dc0887733d76c1754b4be287f.
2025-06-08 13:43:27 +03:00
Behdad Esfahbod
a9b1045163
See if fixes fedora-valgrind bot
2025-06-08 13:43:27 +03:00
Behdad Esfahbod
c124252df5
[algs] Add support for little-endian int types
...
As well as 64bit-int, and float types.
Add Align type.
2025-06-08 13:43:27 +03:00
Behdad Esfahbod
48d224e786
[algs] Make hb_sincos() generic to both float and double
2025-06-08 13:43:27 +03:00
Behdad Esfahbod
e860b8d180
[harfruzz] Set point_size
2025-06-07 11:26:00 -06:00
Behdad Esfahbod
e5becebf2c
[harfRuzz] Roll forward
2025-06-06 21:02:07 -06:00
Behdad Esfahbod
d5dd5ac819
[harfruzz] Clear mask before setting
2025-06-06 18:29:40 -06:00
Behdad Esfahbod
4ab5130e4a
[harfruzz] More glyph flags
2025-06-06 18:16:31 -06:00
Behdad Esfahbod
74e99dbe63
[harfruzz] Apply review feedback
2025-06-06 18:15:20 -06:00
Behdad Esfahbod
80b73a1109
[harfruzz] Track main again
2025-06-06 18:13:05 -06:00
Behdad Esfahbod
e670b729f7
[harfruzz] Enable new cluster level GRAPHEMES
2025-06-06 18:12:27 -06:00
Behdad Esfahbod
f92809fcdc
[harfruzz] Update to new API
...
From https://github.com/harfbuzz/harfruzz/pull/57
2025-06-06 17:43:32 -06:00
Behdad Esfahbod
4d7d54e380
[coretext] Bump a required version
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5354
2025-06-06 09:32:49 -06:00
Behdad Esfahbod
a9c2c63518
[sanitize] Fix pointer math
...
Should fix https://github.com/harfbuzz/harfbuzz/issues/5347
2025-06-04 11:58:20 -06:00
Behdad Esfahbod
5a73e018b8
[algs] Avoid C++14'ism
2025-05-31 16:26:31 -06:00
Behdad Esfahbod
6fb10ded54
[ft] Reject loading of font directory
2025-05-29 12:29:34 -06:00
Behdad Esfahbod
4adeb6a01e
[paint] Move float stability test to the paint layer from the test
2025-05-29 12:28:31 -06:00
Behdad Esfahbod
16c71077f5
Merge branch 'main' into HVF
2025-05-28 16:58:37 -06:00
Behdad Esfahbod
5cebdd670c
[ft] Handle another memory failure
2025-05-28 16:22:23 -06:00
Behdad Esfahbod
4b573b52d8
[ft] Fix a crash if setting font funcs had failed
...
https://github.com/harfbuzz/harfbuzz/security/advisories/GHSA-8x8c-6xcc-pqmj
2025-05-28 15:28:09 -06:00
Behdad Esfahbod
83cf7d109f
[rust] cargo update
2025-05-27 07:43:55 -06:00
Behdad Esfahbod
9f5d803871
[font] Refuse immutable fonts in set_funcs_using()
...
Return early.
2025-05-26 16:07:51 -06:00
Behdad Esfahbod
8eb2f07cc8
Merge branch 'main' into HVF
2025-05-26 13:23:08 -06:00
Behdad Esfahbod
df111468b0
[ft] Fix crash on some old versions of freetype
2025-05-26 13:16:29 -06:00
Khaled Hosny
2cd19d4b45
[meson] Fix build with -Dfuzzer_ldflags on meson >= 1.4.0
...
The failing-alloc.c file is appended to various hb_sources_* as a
string, but on >= 1.4.0 we call full_path() on the sources, and this
works only with file objects.
Fixes https://github.com/harfbuzz/harfbuzz/pull/5340
2025-05-26 13:30:47 +03:00
Behdad Esfahbod
ff7c1e483d
[ft] Make it work with FreeType < 2.8
2025-05-25 14:54:51 -06:00
Behdad Esfahbod
31653e6bc1
Revert "[ItemVariationStore] Rewrite the main loop"
...
This reverts commit 57b636fb13c7ef55d6f435b8f560df653f02612e.
2025-05-25 14:54:51 -06:00
Behdad Esfahbod
8e0243c492
[ItemVariationStore] Rewrite the main loop
...
Slows down slightly. Going to revert.
2025-05-25 14:54:51 -06:00
Behdad Esfahbod
1744743a48
[ot-font] Remove comment
...
We do NOT want to pass gvar_cache to VARC, since VARC uses
different coordinates for different glyphs, so the cache
values will be wrong.
2025-05-23 19:21:04 -06:00
Garret Rieger
cb53f4b5aa
[instancer] fix tsb calculation for CFF2 fonts.
...
tsb was being set equal to the y max of each glyph, which is not correct. Instead calculate tsb as vorg.y - ymax.
2025-05-23 12:47:23 -06:00
Behdad Esfahbod
e69b3c4159
[ItemVariationStore] Speed up get_delta
...
Another 15% in the same benchmark.
2025-05-22 20:41:36 -06:00
Behdad Esfahbod
227a5e11ee
[VarRegionList] Inline evaluate() cache lookup
...
Seeing 45% speedup in benchmark-font glyph_h_advances benchmark
on a mega variable font!
2025-05-22 20:12:01 -06:00
Behdad Esfahbod
e1dcc454f1
[gvar] Use cached scratch in get_extents
...
Makes it alloc-free.
15% faster on benchmark-font glyph_extents RobotoFlex var benchmark.
2025-05-21 16:01:44 -06:00
Behdad Esfahbod
3e93786cc4
[ot-layout] More (nullable) instead of (optional)
...
Honestly I don't know why we should ever use (optional).
Looks like (nullable) applies to all (optional) and some more
places.
https://gi.readthedocs.io/en/latest/annotations/giannotations.html
2025-05-21 14:50:35 -06:00
Behdad Esfahbod
4a8a3e12cf
[ot-layout] Docs
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5335
2025-05-21 14:45:42 -06:00
Behdad Esfahbod
87f2f9b5e0
[ft] Reset some FT properties properly
2025-05-21 14:43:20 -06:00
Behdad Esfahbod
443ef5f02c
[ft] Regain some performance
2025-05-21 14:29:01 -06:00
Behdad Esfahbod
a13fd9ae68
Merge branch 'main' into HVF
2025-05-21 12:23:19 -06:00
Behdad Esfahbod
7165f1171d
[var] Micro-optimize
2025-05-20 17:09:58 -06:00
Behdad Esfahbod
7357f6e559
[rust] Update deps
2025-05-20 15:19:13 -06:00
Behdad Esfahbod
19fd08f0ae
[TupleVariation] Inline the hot methods
2025-05-18 11:31:41 -07:00