Garret Rieger
392581be01
[subest] get benchmark subset working again.
4 months ago
Qunxin Liu
e5139c51aa
bug fix in hashmap get_with_hash()
4 months ago
Behdad Esfahbod
825bc19643
[perf] Simplify meson.build
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4896
4 months ago
Behdad Esfahbod
35f67618e8
Merge pull request #4895 from harfbuzz/coretext-font
...
Coretext font
4 months ago
Behdad Esfahbod
de1a1e27d4
[coretext-font] Implement get_glyph_v_origin()
...
For a font without vertical metrics, I'm getting different
values from ot/ft. But that's expected, since in ot we just
implemented the same heuristics as ft.
4 months ago
Behdad Esfahbod
786097029e
[coretext-font] Implement get_glyph_v_advances
4 months ago
Behdad Esfahbod
e1026a2252
[coretext-font] Implement get_variation_glyph()
...
Not sure if I got it right, but *seems* to work.
4 months ago
Behdad Esfahbod
d44cc8a1fc
[coretext-font] Implement get_glyph_name()
4 months ago
Behdad Esfahbod
0ce67f56dd
[coretext-font] Implement font_get_h_metrics
4 months ago
Behdad Esfahbod
e31ea830c8
[ft] Try using a ref-counted ft_library
...
https://github.com/harfbuzz/harfbuzz/pull/4895#issuecomment-2412348792
4 months ago
Behdad Esfahbod
52becf1c6d
[test] Fix a leak
4 months ago
Behdad Esfahbod
a8360b7e95
[perf] Respect new envvar HB_FACE_LOADER
4 months ago
Behdad Esfahbod
c224178a09
[perf] Add hb-benchmark.hh
4 months ago
Behdad Esfahbod
2dc6334133
[tests] Remove invalid tests from collections.tests
...
Previously we silently returned the empty face if face_index
was out of range. With util/ now using the new API
hb_font_face_create_from_file_or_fail(), that returns a nullptr
face now. So, adjust tests.
4 months ago
Behdad Esfahbod
734ba5ab48
[hb-info] Fix font face number recording for .dfont
4 months ago
Behdad Esfahbod
67591f8511
[util] Add --face-loader
...
Currently crashes with ft. Investigating.
4 months ago
Behdad Esfahbod
75d168cbf4
[util] Rename a variable
4 months ago
Behdad Esfahbod
aa933abb76
[util] Use hb_face_create_from_file_or_fail()
4 months ago
Behdad Esfahbod
12fc715dd6
[ft] Add hb_ft_face_create_from_file_or_fail()
...
New API:
+hb_ft_face_create_from_file_or_fail()
4 months ago
Behdad Esfahbod
89c83b5b08
[coretext] Add hb_coretext_face_create_from_file_or_fail()
...
New API hb_coretext_face_create_from_file_or_fail()
4 months ago
dependabot[bot]
5f8b77d195
Bump github/codeql-action from 3.26.11 to 3.26.12
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.26.11 to 3.26.12.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](6db8d6351f...c36620d31a
)
---
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>
4 months ago
dependabot[bot]
bb5a8284e0
Bump actions/upload-artifact from 4.4.0 to 4.4.3
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.4.0 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](50769540e7...b4b15b8c7c
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
4 months ago
dependabot[bot]
ea3b6c60ba
Bump actions/checkout from 4.2.0 to 4.2.1
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](d632683dd7...eef61447b9
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
4 months ago
Behdad Esfahbod
b12acba494
[face] Add hb_face_create_from_file_or_fail()
...
New API:
+ hb_face_create_from_file_or_fail()
4 months ago
Behdad Esfahbod
2437fd883a
[face] Add hb_face_create_or_fail()
...
New API:
+ hb_face_create_or_fail()
4 months ago
Behdad Esfahbod
2166a46ad3
[coretext] Don't set CoreText funcs on new CoreText fonts
4 months ago
Behdad Esfahbod
62ae9fbd6a
[coretext-font] Implement get_glyph_from_name
4 months ago
Behdad Esfahbod
b5e9f2cb2b
[coretext-font] Implement get_glyph_extents
4 months ago
Behdad Esfahbod
8db2997e4e
[coretext] Configure hb_coretext_font_create() with CT font funcs
...
Not sure if this is a good idea...
4 months ago
Behdad Esfahbod
8a805271a1
[coretext] Start implementing CoreText font-funcs
...
Does nominal glyph mapping, horiz advances, and draw so far.
4 months ago
Behdad Esfahbod
064b24177b
[coretext] Rename hb-coretext.cc to hb-coretext-shape.cc
4 months ago
Behdad Esfahbod
e1269215f9
Revert "Fix a compiler warning"
...
This reverts commit 377e3c67a4
.
377e3c67a4 (commitcomment-147888850)
4 months ago
Behdad Esfahbod
755929c48d
Fix more compiler warnings
...
In case FreeType is not available.
4 months ago
Behdad Esfahbod
377e3c67a4
Fix a compiler warning
4 months ago
Behdad Esfahbod
ab36089924
[CFF] Increase max op num limit
...
This actually counts operands too, not just operators.
In a big variable-font design-space, each blend can easily take
a dozen ops or more. I was sent a font for which this limit
was hit. Increase by 20x for now.
4 months ago
Behdad Esfahbod
1a4bdd699a
[font] Change fallback y_advance sign
...
Ouch.
4 months ago
Khaled Hosny
9c00255b4a
[ci] Fix Codecov upload
...
Setup a repository token and use it, this seems to be required now.
4 months ago
Khaled Hosny
6a25df24b0
[COLR] Add and use get_clip_list ()
4 months ago
Khaled Hosny
5462978c90
[COLR] Lets see if this makes CIFUZZ any happier
4 months ago
Behdad Esfahbod
008505e1c4
[COLR] Pepper some hb_barrier()'s around
...
The version is a minor version (because uint16), as such
version > 1 should be considered as supporting version 1
data.
4 months ago
Khaled Hosny
cec95a2d26
Try to fix heap-buffer-overflow
4 months ago
Khaled Hosny
4d1f6e049c
[COLR] Enable COLRv0 support in get_extents()
...
paint_glyph() supports COLRv0 but this code is never reached because of
the early return if version is not 1. This early return seems to be from
before COLRv0 extents were supported.
4 months ago
Behdad Esfahbod
4587e08a46
[VarStoreInstancer] Fix null deref
...
Should fix this hopefully:
https://github.com/harfbuzz/harfbuzz/actions/runs/11203732283/job/31141330056?pr=4885
4 months ago
Behdad Esfahbod
e8de8d88df
[CONFIG] Remove unused HB_NDEBUG
4 months ago
dependabot[bot]
50d67b202a
Bump codecov/codecov-action from 4.5.0 to 4.6.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](e28ff129e5...b9fd7d16f6
)
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
4 months ago
dependabot[bot]
d9c029755c
Bump github/codeql-action from 3.26.9 to 3.26.11
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.26.9 to 3.26.11.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](461ef6c76d...6db8d6351f
)
---
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>
4 months ago
Julien Nabet
e157205499
unused-parameter in test/fuzzing/hb-draw-fuzzer.cc
...
../test/fuzzing/hb-draw-fuzzer.cc:19:28: error: unused parameter 'dfuncs' [-Werror,-Wunused-parameter]
_move_to (hb_draw_funcs_t *dfuncs, void *draw_data_,
^
../test/fuzzing/hb-draw-fuzzer.cc:22:10: error: unused parameter 'user_data' [-Werror,-Wunused-parameter]
void *user_data)
^
../test/fuzzing/hb-draw-fuzzer.cc:31:28: error: unused parameter 'dfuncs' [-Werror,-Wunused-parameter]
_line_to (hb_draw_funcs_t *dfuncs, void *draw_data_,
^
../test/fuzzing/hb-draw-fuzzer.cc:34:10: error: unused parameter 'user_data' [-Werror,-Wunused-parameter]
void *user_data)
^
../test/fuzzing/hb-draw-fuzzer.cc:44:33: error: unused parameter 'dfuncs' [-Werror,-Wunused-parameter]
_quadratic_to (hb_draw_funcs_t *dfuncs, void *draw_data_,
^
../test/fuzzing/hb-draw-fuzzer.cc:46:15: error: unused parameter 'control_x' [-Werror,-Wunused-parameter]
float control_x, float control_y,
^
../test/fuzzing/hb-draw-fuzzer.cc:46:32: error: unused parameter 'control_y' [-Werror,-Wunused-parameter]
float control_x, float control_y,
^
../test/fuzzing/hb-draw-fuzzer.cc:48:15: error: unused parameter 'user_data' [-Werror,-Wunused-parameter]
void *user_data)
^
../test/fuzzing/hb-draw-fuzzer.cc:58:29: error: unused parameter 'dfuncs' [-Werror,-Wunused-parameter]
_cubic_to (hb_draw_funcs_t *dfuncs, void *draw_data_,
^
../test/fuzzing/hb-draw-fuzzer.cc:60:11: error: unused parameter 'control1_x' [-Werror,-Wunused-parameter]
float control1_x, float control1_y,
^
../test/fuzzing/hb-draw-fuzzer.cc:60:29: error: unused parameter 'control1_y' [-Werror,-Wunused-parameter]
float control1_x, float control1_y,
^
../test/fuzzing/hb-draw-fuzzer.cc:61:11: error: unused parameter 'control2_x' [-Werror,-Wunused-parameter]
float control2_x, float control2_y,
^
../test/fuzzing/hb-draw-fuzzer.cc:61:29: error: unused parameter 'control2_y' [-Werror,-Wunused-parameter]
float control2_x, float control2_y,
^
../test/fuzzing/hb-draw-fuzzer.cc:63:11: error: unused parameter 'user_data' [-Werror,-Wunused-parameter]
void *user_data)
^
../test/fuzzing/hb-draw-fuzzer.cc:73:31: error: unused parameter 'dfuncs' [-Werror,-Wunused-parameter]
_close_path (hb_draw_funcs_t *dfuncs, void *draw_data_,
^
../test/fuzzing/hb-draw-fuzzer.cc:75:13: error: unused parameter 'user_data' [-Werror,-Wunused-parameter]
void *user_data)
^
16 errors generated.
5 months ago
Julien Nabet
8de0d91166
missing-field-initializers in test/api/test-ot-face.c
...
FAILED: test/fuzzing/hb-shape-fuzzer.p/hb-shape-fuzzer.cc.o clang++ -Itest/fuzzing/hb-shape-fuzzer.p -Itest/fuzzing -I../test/fuzzing -I. -I.. -Isrc -I../src -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -fno-exceptions -O3 -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -DHAVE_CONFIG_H -Wall -Wextra -Werror -MD -MQ test/fuzzing/hb-shape-fuzzer.p/hb-shape-fuzzer.cc.o -MF test/fuzzing/hb-shape-fuzzer.p/hb-shape-fuzzer.cc.o.d -o test/fuzzing/hb-shape-fuzzer.p/hb-shape-fuzzer.cc.o -c ../test/fuzzing/hb-shape-fuzzer.cc In file included from ../test/fuzzing/hb-shape-fuzzer.cc:9: ../test/fuzzing/../api/test-ot-face.c:47:34: error: missing field 'y_bearing' initializer [-Werror,-Wmissing-field-initializers]
hb_glyph_extents_t extents = {0};
^
../test/fuzzing/../api/test-ot-face.c:85:55: error: missing field 'enable' initializer [-Werror,-Wmissing-field-initializers]
hb_aat_layout_feature_selector_info_t setting = {0};
^
2 errors generated.
5 months ago
David Corbett
b6196986d7
[USE] Update the data files
...
This uses the data files from
<e00698c07a/USE
>.
5 months ago
David Corbett
31b22016a2
[ot-tags] Update IANA and OT language registries
5 months ago