Behdad Esfahbod
5f9cd1dd3a
[kern/kerx] Use a bit-vector instead of bit-set for left/right filtering
...
Shows ~2% speedup shaping of HelveticaNeue.ttc.
2025-03-12 18:46:52 -06:00
Behdad Esfahbod
469502c99b
[test-paint] Test fontations too
...
Luckily it passes!
2025-03-12 11:02:43 -06:00
Behdad Esfahbod
fbb81e344b
[fontations] Adjust alignment requirement
2025-03-12 00:52:12 -06:00
Behdad Esfahbod
8d300049f5
[fontations] Assert layout alignment
2025-03-12 00:43:10 -06:00
Behdad Esfahbod
05cfdb9105
[fontations] link_with instead of link_whole
...
Now that the hb-fontations symbol is called from libharfbuzz,
it gets pulled in properly.
2025-03-12 00:08:42 -06:00
Behdad Esfahbod
0b2a0bac47
Merge pull request #5130 from harfbuzz/malloc-rust
...
[fontations] Make fontations use hb_malloc et al
2025-03-11 23:04:11 -06:00
Behdad Esfahbod
5bf81c3758
[common] Make hb_malloc() et al public
...
New API:
+hb_malloc()
+hb_calloc()
+hb_realloc()
+hb_free()
2025-03-11 22:52:34 -06:00
Behdad Esfahbod
a2c7dc0669
Merge pull request #5133 from harfbuzz/hb-coretext.cc
...
[coretext] Split common code into hb-coretext.cc
2025-03-11 20:43:32 -06:00
Behdad Esfahbod
f0a67e9948
[coretext] Split common code into hb-coretext.cc
2025-03-11 20:37:30 -06:00
Behdad Esfahbod
d014efd03d
Merge pull request #5131 from harfbuzz/using2
...
Add hb_ft_face_create_from_blob_or_fail() et al
2025-03-11 13:37:48 -06:00
Behdad Esfahbod
759e1881e8
[coretext] Fix loading TTC files
2025-03-11 12:46:27 -06:00
Behdad Esfahbod
15fcfcb606
Merge pull request #5129 from harfbuzz/buffer-deserialize
...
Fix buffer deserialize
2025-03-11 12:01:20 -06:00
Behdad Esfahbod
5e6da54166
[test] Minor, accept absolute font paths
2025-03-11 12:00:18 -06:00
Behdad Esfahbod
8687f5c38e
[face] Add tests for new constructors
2025-03-11 11:56:00 -06:00
Behdad Esfahbod
8e8a9f6f40
[face] Add hb_face_create_or_fail_using()
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5117
Untested.
New API:
+hb_face_create_or_fail_using
2025-03-11 11:56:00 -06:00
Behdad Esfahbod
cbc205c2f0
[font/face] Refactor some code
2025-03-11 11:56:00 -06:00
Behdad Esfahbod
b1c50eb938
[face] Rename a variable
2025-03-11 11:56:00 -06:00
Behdad Esfahbod
f98c203e7a
[coretext] Add hb_coretext_face_create_from_blob_or_fail()
...
Part of https://github.com/harfbuzz/harfbuzz/issues/5117
Untested.
New API:
+hb_coretext_face_create_from_blob_or_fail()
2025-03-11 11:56:00 -06:00
Behdad Esfahbod
8ca9fe7617
[face] Avoid edit-sanitizing in hb_face_count()
2025-03-11 11:56:00 -06:00
Behdad Esfahbod
e4fe8bf95e
[ft] Add hb_ft_face_create_from_blob_or_fail()
...
Part of https://github.com/harfbuzz/harfbuzz/issues/5117
Untested.
New API:
+hb_ft_face_create_from_blob_or_fail()
2025-03-11 11:56:00 -06:00
Behdad Esfahbod
3c30562dc7
Merge pull request #5132 from harfbuzz/cplusplus-more
...
[test-cplusplus] Add more headers
2025-03-11 11:55:46 -06:00
Behdad Esfahbod
756668d35c
[directwrite] Drop dependency again as per review
...
https://github.com/harfbuzz/harfbuzz/pull/5132#issuecomment-2714186460
2025-03-11 11:27:02 -06:00
Behdad Esfahbod
6b2f859232
[test-c] Disable gobject include
...
It can't find its dependent headers since not installed.
2025-03-11 00:37:11 -06:00
Behdad Esfahbod
8ca892b0e2
[directwrite] Simplify headers
2025-03-11 00:24:11 -06:00
Behdad Esfahbod
d247c116fb
[test-draw] Test all font funcs
2025-03-11 00:15:40 -06:00
Behdad Esfahbod
d2ccf595bd
Directwrite is a C++ header?
2025-03-11 00:15:19 -06:00
Behdad Esfahbod
41dcc493e5
[test-cplusplus] Simplify
2025-03-10 23:49:05 -06:00
Behdad Esfahbod
57deae5fd4
[meson] Check correct dependency
...
Ouch!
2025-03-10 23:40:22 -06:00
Behdad Esfahbod
dbad6cdfec
[test-c(plusplus)] Add more headers
2025-03-10 23:23:16 -06:00
Behdad Esfahbod
3c02fcd0e8
[test-multithread] Simplify
2025-03-10 23:16:30 -06:00
Behdad Esfahbod
4323c6643b
[fontations] Make fontations use hb_malloc et al
2025-03-10 20:09:34 -06:00
Behdad Esfahbod
7a912c4746
[buffer-deserialize] Fix return value and parsing
...
I think I got it right.
Alternative to https://github.com/harfbuzz/harfbuzz/pull/5028
2025-03-10 16:20:16 -06:00
Behdad Esfahbod
c2e92b6f7b
[ragel] Update output files
2025-03-10 16:18:48 -06:00
Behdad Esfahbod
5a03844914
[gen-ragel-artifacts] Fail if ragel failed
2025-03-10 14:54:13 -06:00
dependabot[bot]
2edab536bd
Bump setuptools from 75.8.2 to 76.0.0 in /.ci
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 75.8.2 to 76.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v75.8.2...v76.0.0 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-10 14:57:08 +02:00
dependabot[bot]
18e9550579
Bump github/codeql-action from 3.28.10 to 3.28.11
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.28.10 to 3.28.11.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](b56ba49b26...6bb031afdd
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-10 14:56:55 +02:00
Behdad Esfahbod
9c0ac9aec4
Merge pull request #5069 from harfbuzz/cluster-level-graphemes
...
[buffer] Add HB_BUFFER_CLUSTER_LEVEL_GRAPHEMES
2025-03-10 02:52:26 -06:00
Khaled Hosny
8ee8e0a213
[ci] Enable doc_tests on linux-ci only
...
One workflow is enough.
2025-03-10 10:36:55 +02:00
Khaled Hosny
885eef8ea5
[buffer/doc] Add docs for the new cluster level macros
2025-03-10 10:34:43 +02:00
Behdad Esfahbod
d8a774c011
[test] Add test for new grapheme cluster level
2025-03-10 01:04:35 -06:00
Behdad Esfahbod
f88fe4d403
[util] Update for new grapheme cluster level
2025-03-10 01:02:56 -06:00
Behdad Esfahbod
1531be8a1d
[buffer] Add docs for the new cluster level
2025-03-10 01:02:11 -06:00
Behdad Esfahbod
9305aae476
[ot-layout] Revert back logic
2025-03-10 00:52:00 -06:00
Behdad Esfahbod
7518718671
[buffer] Add HB_BUFFER_CLUSTER_LEVEL_GRAPHEMES
...
https://github.com/harfbuzz/harfbuzz/discussions/5026#discussioncomment-12168668
2025-03-10 00:52:00 -06:00
Behdad Esfahbod
62c320a2d6
Merge pull request #5126 from harfbuzz/aat-deleted-glyph-more
...
[aat/morx] Use a separate bit for deleted-glyphs
2025-03-09 21:02:48 -06:00
Behdad Esfahbod
0b62666ece
[aat/morx] Use a separate bit for deleted-glyphs
...
Should address:
https://github.com/harfbuzz/harfbuzz/pull/5119#issuecomment-2709170388
2025-03-09 19:38:32 -06:00
Behdad Esfahbod
bcbd1df3dd
Merge pull request #5125 from harfbuzz/fontations-serial
...
[fontations] Check for font serial change automatically
2025-03-09 19:03:05 -06:00
Behdad Esfahbod
e77fb46335
[fontations] Do double-checked locking
...
See if tsan likes this. It liked the previous version.
2025-03-09 18:53:36 -06:00
Behdad Esfahbod
780809fb0c
[fontations] Check for font serial change automatically
...
Let's see what tsan thinks... I also have not profiled this.
It also doesn't hold the mutex for the whole use time. It
probably should or bad things might happen.
2025-03-09 18:43:47 -06:00
Behdad Esfahbod
9f8e7ebf24
Merge pull request #5119 from harfbuzz/aat-deleted-glyph
...
[AAT] Clean up deleted-glyph handling
2025-03-09 18:09:58 -06:00