Julien Nabet
18f1d9121e
missing-field-initializers in hb-draw.h
...
With clang build, I got:
FAILED: test/api/test-draw.p/test-draw.c.o
clang -Itest/api/test-draw.p -Itest/api -I../test/api -I. -I.. -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/freetype2 -I/usr/include/libpng16 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -DHAVE_CONFIG_H -Wall -Wextra -Werror -pthread -MD -MQ test/api/test-draw.p/test-draw.c.o -MF test/api/test-draw.p/test-draw.c.o.d -o test/api/test-draw.p/test-draw.c.o -c ../test/api/test-draw.c
../test/api/test-draw.c:920:26: error: missing field 'reserved4' initializer [-Werror,-Wmissing-field-initializers]
hb_draw_state_t st = HB_DRAW_STATE_DEFAULT;
^
../src/hb-draw.h:73:71: note: expanded from macro 'HB_DRAW_STATE_DEFAULT'
define HB_DRAW_STATE_DEFAULT {0, 0.f, 0.f, 0.f, 0.f, {0.}, {0.}, {0.}}
2024-10-01 11:11:10 -06:00
Behdad Esfahbod
c1c0e82e3f
Revert "Bump setuptools from 73.0.1 to 75.1.0 in /.ci"
...
This reverts commit a87fa89b4e
.
Build was failing in linux-ci.
2024-09-30 09:46:27 -06:00
dependabot[bot]
4aad43c826
Bump github/codeql-action from 3.26.8 to 3.26.9
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.26.8 to 3.26.9.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](294a9d9291...461ef6c76d
)
---
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>
2024-09-30 09:43:53 -06:00
dependabot[bot]
a891445449
Bump actions/checkout from 4.1.7 to 4.2.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](692973e3d9...d632683dd7
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-30 09:43:40 -06:00
dependabot[bot]
a87fa89b4e
Bump setuptools from 73.0.1 to 75.1.0 in /.ci
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 73.0.1 to 75.1.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/v73.0.1...v75.1.0 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-30 09:43:24 -06:00
dependabot[bot]
fa79b51d13
Bump fonttools from 4.53.1 to 4.54.1 in /.ci
...
Bumps [fonttools](https://github.com/fonttools/fonttools ) from 4.53.1 to 4.54.1.
- [Release notes](https://github.com/fonttools/fonttools/releases )
- [Changelog](https://github.com/fonttools/fonttools/blob/main/NEWS.rst )
- [Commits](https://github.com/fonttools/fonttools/compare/4.53.1...4.54.1 )
---
updated-dependencies:
- dependency-name: fonttools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-30 09:43:11 -06:00
Behdad Esfahbod
c7ef6a2ed5
Remove the hack re variation-selectors
...
Instead of abusing an unused Gen_Cat value, use existing facilities
to remember variation selectors.
Addresses
https://github.com/RazrFalcon/rustybuzz/pull/134#issuecomment-2374894164
2024-09-25 19:42:40 -06:00
Khaled Hosny
a1d9bfe628
10.0.1
2024-09-24 19:52:43 +03:00
Behdad Esfahbod
527e60b015
[morx] Relax sanitizing
...
Ignore claimed ChainSubtable length and only sanitize against
the whole table.
Works around what seems to be a broken LookupFormat0 in a
Noncontextual subtable in GeezaPro on MacOS 15.0
Fixes https://github.com/harfbuzz/harfbuzz/issues/4873
2024-09-24 09:40:44 -06:00
Behdad Esfahbod
867366ccf1
[test] Add GeezaPro tests for MacOS 15.0
2024-09-24 09:40:44 -06:00
Behdad Esfahbod
70ca19dff3
Use hb_barrier() instead of longer name
...
No functional change.
2024-09-24 08:42:44 -06:00
Khaled Hosny
d5261f7234
10.0.0
2024-09-23 23:07:55 +03:00
Khaled Hosny
667ce682a2
[hb-view] Support cairo script as output format
...
Can be handy for debugging the series of operations cairo performs.
2024-09-23 22:08:41 +03:00
Behdad Esfahbod
7a390b5095
[hb-view] Simplify background drawing
...
Works around a Firefox bug.
Fixes https://github.com/harfbuzz/harfbuzz/issues/4811
2024-09-23 12:16:05 -06:00
chitao1234
700ef11c9b
[meson] Add back with_libstdcxx build option
...
Building harfbuzz when targeting Android API<=20 would need libstdc++
due to lack of uselocale and freelocale in C library but present in
libstdc++.
This reverts commit 0151da23d6
.
2024-09-23 17:44:33 +03:00
David Corbett
242b584405
[USE] Update the data files
...
This uses the data files from
<1ffb9024b7/USE
>.
2024-09-23 08:39:50 -06:00
Behdad Esfahbod
7a890c2eb7
Add hb_barrier() to switches of unions
...
https://github.com/harfbuzz/harfbuzz/pull/4864#issuecomment-2366923736
2024-09-23 08:02:25 -06:00
Behdad Esfahbod
7aace3d3fc
Ignore CGJ and Mongolian Variation Selectors during GPOS
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4869
2024-09-23 08:00:06 -06:00
Behdad Esfahbod
540666b807
[paint] Err. Make previous commit actually work
2024-09-23 07:01:26 -06:00
Behdad Esfahbod
ed6362600d
[paint] Intersect clips
2024-09-23 07:00:41 -06:00
Behdad Esfahbod
b0cf3d81ea
[paint] Comment
2024-09-23 06:50:59 -06:00
Behdad Esfahbod
b95cb48f88
Revert "Bump setuptools from 73.0.1 to 75.1.0 in /.ci"
...
This reverts commit 25591a3a1d
.
2024-09-23 06:37:54 -06:00
Behdad Esfahbod
5e5cd10e10
Don't make variation-selectors default-ignorable if not-found set
...
https://github.com/harfbuzz/harfbuzz/pull/4863#issuecomment-2366908261
2024-09-23 06:30:59 -06:00
Behdad Esfahbod
b94a39d7f3
Follow up to variation-selector-not-found glyph
...
Addresses https://github.com/harfbuzz/harfbuzz/pull/4529#discussion_r1769638033
I'm not sure if this is an improvement. By leaving the var-selector
as default-ignorable, ligatures can form around it, and the resulting
cluster won't make it clear *which* base+var-selector could not be
resolved... That doesn't quite help font fallback the way we want.
Putting up for review.
2024-09-23 06:30:59 -06:00
dependabot[bot]
25591a3a1d
Bump setuptools from 73.0.1 to 75.1.0 in /.ci
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 73.0.1 to 75.1.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/v73.0.1...v75.1.0 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-23 06:15:02 -06:00
dependabot[bot]
29157e6a64
Bump meson from 1.5.1 to 1.5.2 in /.ci
...
Bumps [meson](https://github.com/mesonbuild/meson ) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/mesonbuild/meson/releases )
- [Commits](https://github.com/mesonbuild/meson/compare/1.5.1...1.5.2 )
---
updated-dependencies:
- dependency-name: meson
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-23 06:14:51 -06:00
dependabot[bot]
5807388b85
Bump github/codeql-action from 3.26.7 to 3.26.8
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.26.7 to 3.26.8.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](8214744c54...294a9d9291
)
---
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>
2024-09-23 06:14:38 -06:00
Behdad Esfahbod
0958929508
[post] Add a hb_barrier()
2024-09-22 13:01:18 -06:00
Behdad Esfahbod
4877405211
[GDEF] Sprinkle some hb_barrier()s
2024-09-22 13:01:14 -06:00
Behdad Esfahbod
e4e9f6a18f
[gsubgpos] Add a barrier
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4852
2024-09-22 11:17:48 -06:00
Behdad Esfahbod
0dace9f341
[PairPos] Forgo an optimization for the sake of compatibility
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4797
2024-09-21 12:38:16 -06:00
Behdad Esfahbod
287046f71a
[buffer] Hook up not-found-variation-selector-glyph
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4398
2024-09-21 12:21:56 -06:00
Behdad Esfahbod
a003890e84
[buffer] Add hb_buffer_[sg]et_not_found_variation_selector_glyph()
...
Unused.
2024-09-21 12:21:56 -06:00
Qunxin Liu
6fd76e1f67
[subset] offset format fix in gvar table
2024-09-17 15:23:43 -06:00
dependabot[bot]
63d09dbefc
Bump github/codeql-action from 3.26.6 to 3.26.7
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.26.6 to 3.26.7.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](4dd16135b6...8214744c54
)
---
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>
2024-09-16 04:39:42 -07:00
David Corbett
c500f2a1f4
Merge pull request #4859 from harfbuzz/unicode-16
...
Update to Unicode 16.0.0
2024-09-14 13:52:42 -04:00
David Corbett
e30dedbb42
[Unicode 16] Add tests
2024-09-14 12:06:08 -04:00
David Corbett
c66f25ef1d
[Unicode 16] Send the new scripts to USE
2024-09-14 11:47:56 -04:00
David Corbett
85a9ec8971
[Unicode 16] Update the USE table
2024-09-14 11:44:03 -04:00
David Corbett
87c685d370
[Unicode 16] Update the vowel constraint table
2024-09-14 11:20:16 -04:00
David Corbett
7f325b6c80
[Unicode 16] Update the Indic table
2024-09-14 11:19:04 -04:00
David Corbett
554658e3ae
[Unicode 16] Update the emoji table & cluster test
2024-09-14 11:08:37 -04:00
David Corbett
dc3e005d15
[Unicode 16] Update the Arabic joining script list
2024-09-14 11:03:26 -04:00
David Corbett
351e20c216
[Unicode 16] Update the Arabic table
2024-09-14 11:02:54 -04:00
David Corbett
42369b8439
[Unicode 16] Update the UCD table
2024-09-14 11:00:48 -04:00
David Corbett
f279e25812
[Unicode 16] Add new hb_script_t
values
2024-09-14 10:47:52 -04:00
David Corbett
a5c9cc4e22
[USE, Unicode 16] Update the data files
...
This uses the data files from
<0fbf022acc/USE
>
and closes #4858 .
2024-09-14 10:45:01 -04:00
Behdad Esfahbod
98353ecefe
[test] Run shape tests with C locale as well
...
https://github.com/harfbuzz/harfbuzz/pull/4857
2024-09-11 11:35:15 -07:00
Alexander Grund
70334d74dc
Run subset tests with C-locale
...
One problematic input is `--instance=wdth=112.5` which is parsed using
the users local (`strtof`).
So while in C or US locales it yields 112.5 in some European locales it
yields 112 as the dot is not valid in this position.
A European user might pass "112,5" instead but for the test the C locale
is assumed, so enforce it.
Fixes #4854
2024-09-11 12:07:04 -06:00
Behdad Esfahbod
0a82f43a61
[arabic] Remove non-sensical code
...
We were adding rclt after checking that the font doesn't have it!
2024-09-11 10:38:12 -07:00