jfkthame
4e7b178f3c
Avoid unannotated-fallthrough in hb-ot-layout-base-table.hh
2025-04-17 11:57:15 -06:00
jfkthame
2602f7292c
Avoid unannotated-fallthrough warning in COLR.hh
2025-04-17 11:56:46 -06:00
Khaled Hosny
416e6b6921
11.1.0
2025-04-16 20:35:58 +02:00
Behdad Esfahbod
32b36fa84c
[atexit] Fix extra semicolon
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5290
2025-04-15 12:37:43 -06:00
Behdad Esfahbod
bc15ebdea1
[font] Fix abs of int value
2025-04-15 12:37:11 -06:00
Behdad Esfahbod
8f413a533c
[layout] Docs
2025-04-15 10:03:16 -06:00
Behdad Esfahbod
7bb3000a31
[font] Allow negative emboldening strength to enlighten
2025-04-15 09:58:42 -06:00
Khaled Hosny
e192a584a8
[check-symbols] Ignore another rust symbol
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5287
2025-04-15 16:59:46 +02:00
robxnano
cf7bffb690
meson: Use full path in HBSOURCES
...
Using the file object directly in a format string is broken
and now deprecated.
2025-04-13 02:59:31 +02:00
robxnano
9def626d4a
meson: Fix warnings about features in later versions
...
By using the fs.relative_to() function inside version_compare
blocks, Meson can suppress warning messages about it being used
in a project with a lower minimum version.
2025-04-13 02:59:31 +02:00
robxnano
e2a865f024
meson: Only check for _MSC_FULL_VER once
...
Prevents the log from filling with repeated calls to check the
value of the define.
2025-04-13 02:59:31 +02: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
Garret Rieger
5afbd187b6
[subset] Split subset plan variations function into separate file.
...
Compile times for hb-subset-plan.cc go from 16s -> 13s.
2025-04-09 17:08:06 -06:00
Garret Rieger
d3ccdcdd80
[subset] Move GDEF subset planning into hb-subset-plan-layout.cc
2025-04-09 16:45:07 -06:00
Garret Rieger
b33f2e26ee
[subset] Start splitting layout specific subset plan functionality.
...
The aim is to reduce the compiled time of hb-subset-plan.cc which on my machine takes almost 30s to compile.
2025-04-09 16:45:07 -06:00
Behdad Esfahbod
ab3235150d
[common] Move hb_script_t enum to a separate file
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5271
2025-04-09 10:43:02 -06:00
Behdad Esfahbod
5f80cc1600
[directwrite] Fix build
2025-04-08 02:13:39 -06:00
Behdad Esfahbod
6b0124284b
[mutex] Delete copy constructors
2025-04-08 01:58:10 -06:00
Behdad Esfahbod
caa9cf2e85
[atomic] Remove unnecessary macro
...
Had typo in it as well.
2025-04-08 01:50:51 -06:00
Behdad Esfahbod
c7f980907f
[GPOS] Short-circuit variations if no axis set
2025-04-07 16:37:00 -06:00
Garret Rieger
b1a0a4c228
In OT::VarData::Serialize don't attempt to serialize an empty set of rows.
...
Protects against incorrectly accessing rows[0] when rows is empty.
2025-04-07 13:11:39 -06:00
Khaled Hosny
2c4bc83244
[ot-math] Fix build with HB_NO_MATH
2025-04-07 13:43:16 +02:00
Behdad Esfahbod
a3d626b4b9
[test-object] Hopefully last ubsan fix
...
API change:
- hb_face_is_immutable() now takes `hb_face_t *` instead of previous
`const hb_face_t *`. This should not pose any problem for any
clients in our belief.
2025-04-06 19:16:43 -06:00
Behdad Esfahbod
cc065cf2e5
[test/subset] Better report passed tests
2025-04-06 15:33:08 -06:00
Behdad Esfahbod
1f1cbb64ee
Merge pull request #5260 from harfbuzz/tap
...
Use TAP protocol for tests
2025-04-06 14:30:07 -06:00
Behdad Esfahbod
5a46872853
Add test for https://github.com/harfbuzz/harfbuzz/issues/5232
2025-04-06 13:32:28 -06:00
Khaled Hosny
9718681c99
[meson] Require 0.60.0
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5261
2025-04-06 13:23:43 -06:00
Behdad Esfahbod
628a9ee28a
[check-static-inits] objdump all objects together
...
We won't see which object has the bad initializers anymore.
We can later adapt to objdump each object one by one if
any error was found.
Changes test runtime from 1s down to 0.15s.
2025-04-06 02:34:48 -06:00
Behdad Esfahbod
6acb2942e8
[ft] Fix compiler warnings
2025-04-06 02:34:34 -06:00
Behdad Esfahbod
a46b93208a
[subset] Remove printf from library!
2025-04-05 23:27:15 -06:00
Behdad Esfahbod
d9304b69e0
[subset] Fix i686 oss-fuzz build hopefully
2025-04-05 20:04:10 -06:00
Khaled Hosny
f57b43c980
[ot-math] Workaround bad displayOperatorMinHeight in Cambria Math
...
See https://github.com/harfbuzz/harfbuzz/issues/4653 for details
2025-04-06 02:48:49 +02:00
Behdad Esfahbod
0457d3d734
[buffer-deserialize] Ignore glyph extents
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5169
2025-04-04 16:17:32 -06:00
Khaled Hosny
43a7784922
11.0.1
2025-04-04 22:41:26 +02:00
Behdad Esfahbod
13752124d7
Fix compiler warnings
2025-04-04 14:00:25 -06:00
Behdad Esfahbod
623a7a4198
Whitespace
2025-04-04 13:25:06 -06:00
Behdad Esfahbod
7ba4e87934
[VarStore] Fix storage shift
...
Use all bits. That's what I meant.
2025-04-04 12:41:38 -06:00
Khaled Hosny
a55305038c
[coretext] Fix -Wformat warning
...
../src/hb-coretext.cc:202:62: warning: format specifies type 'int' but the argument has type 'unsigned int' [-Wformat]
202 | DEBUG_MSG (CORETEXT, blob, "TTC index %d not supported", ttc_index);
| ~~ ^~~~~~~~~
| %u
../src/hb-coretext.cc:417:65: warning: format specifies type 'int' but the argument has type 'unsigned int' [-Wformat]
417 | DEBUG_MSG (CORETEXT, nullptr, "TTC index %d not supported", ttc_index);
| ~~ ^~~~~~~~~
| %u
2025-04-04 13:27:31 +02:00
Behdad Esfahbod
d515630f6b
[shape-font] Simplify logic
2025-04-03 22:31:13 -06:00
Behdad Esfahbod
d30d7f6b2b
[ItemVariationStore] Use atomic int for cache
2025-04-03 22:25:34 -06:00
Behdad Esfahbod
9cae040bb4
[ItemVariationStore] Make cache atomic floats
...
Doesn't work with intrinsic atomic implementations. Disabled that.
Going through the C++11 atomics path now.
Will fix in next commit.
2025-04-03 22:18:14 -06:00
Behdad Esfahbod
810fbedf27
[shape] Use font-data for GDEF varStore cache
...
Last remaining alloc during shaping is gone!
Fixes https://github.com/harfbuzz/harfbuzz/issues/5237
2025-04-03 22:13:10 -06:00
Behdad Esfahbod
e10d647a73
[atomic] Re-enable intrinsics implementation
2025-04-03 22:01:37 -06:00
Behdad Esfahbod
e404cf0860
[atomic] Fix C++11 implementation
...
Surprised no one has been using it.
2025-04-03 21:57:15 -06:00
Behdad Esfahbod
e480d9de96
Do our C++11 atomics build anywhere??
2025-04-03 21:44:23 -06:00
Behdad Esfahbod
18ab0f5522
[font] Fix serial_coords
2025-04-03 04:04:40 -06:00
Behdad Esfahbod
6f5b8d59c7
[ot-font] Streamline advance cache management
2025-04-03 02:57:48 -06:00
Behdad Esfahbod
7da049ed42
[varStore] Add clear_cache()
2025-04-02 15:22:13 -06:00
Behdad Esfahbod
da0c459dd4
[ot-font] Use helpers to acquire/release varStore cache
2025-04-02 15:22:13 -06:00
Behdad Esfahbod
37989fb4cd
[ot-font] Adjust cache creation criteria for v_advances
2025-04-02 15:03:07 -06:00