Garret Rieger
992953fd3e
[subset] updated comment.
11 months ago
Garret Rieger
96f0038e39
[subset] cast.
11 months ago
Garret Rieger
6e87481731
[subset] add virtual links to keep the gdef varstore last.
11 months ago
Garret Rieger
7145607149
[subset] place the gdef var store at the end of the GDEF table.
...
It appears that some font processors assume it is the last sub table.
11 months ago
Garret Rieger
990fb14d78
[subset] Disable fonttools comparison in a few tests where rounding diffs show up.
...
Context: https://github.com/harfbuzz/harfbuzz/issues/4642
11 months ago
Garret Rieger
11f5dec75f
[subset] Move post apply mvar test intance position to avoid rounding diff.
11 months ago
Garret Rieger
975bd39b15
[subset] Match hb rounding to fonttools for avg char width.
...
Update Muli and Roboto input test fonts to recalc class values. FontTools recalcs class values during instancing while harfbuzz does not (like the ft subsetter).
11 months ago
Garret Rieger
15a05b2432
[subset] Update generate-expected-outputs to drop BASE.
...
This matches the behaviour of the test runner.
11 months ago
Garret Rieger
ec46c4c2e6
[subset] Update subset test suite to match some changes made to fonttools.
...
FontTools has added pruning functionality for code pages which we don't yet have in harfbuzz. Update our test runner to disable that for now. Also match fonttools and always recalc usFirst/LastCharIndex even if no prune unicode ranges is set.
11 months ago
Behdad Esfahbod
c3fed775d7
Update README.md
11 months ago
dependabot[bot]
31e2d12d43
Bump github/codeql-action from 3.24.7 to 3.24.9
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.24.7 to 3.24.9.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](3ab4101902...1b1aada464
)
---
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>
11 months ago
Behdad Esfahbod
cc67579c8e
[wasm] Update to latest wasm-micro-runtime API
11 months ago
Behdad Esfahbod
3d86b36054
[shape] Fix syntax error under some configs
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4635
11 months ago
Khaled Hosny
3c8d448fa1
[meson] Check minimum dependency versions like with autotools
11 months ago
Khaled Hosny
1e5597bf85
[autotools] Check for minimum ICU version as well
...
We use unorm2_* APIs introduced in 49.0.
11 months ago
Ozkan Sezer
957049066e
configure.ac: bump minimum required versions for glib and cairo.
...
glib2 >= 2.30 is needed for g_unicode_script_from_iso15924() and
g_unicode_script_to_iso15924()
cairo >= 1.10 is needed for the new cairo_operator_t members like
CAIRO_OPERATOR_SCREEN
Reference issue: https://github.com/harfbuzz/harfbuzz/issues/4577
Reference issue: https://github.com/harfbuzz/harfbuzz/issues/4624
11 months ago
Ozkan Sezer
dbecddb41c
tests, hb-test.h: define g_assert_false && g_assert_nonnull for old glib
...
Reference issue: https://github.com/harfbuzz/harfbuzz/issues/4577
Reference issue: https://github.com/harfbuzz/harfbuzz/issues/4624
11 months ago
Ozkan Sezer
98747fdec8
hb-common.h: restore including stdint.h for VS2010/2012.
11 months ago
Behdad Esfahbod
f1ac867dee
[buffer] Add API for random state
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4620
New API:
+hb_buffer_set_random_state()
+hb_buffer_get_random_state()
11 months ago
璀境石
3d455998bf
fixed: hb-subset.cc -- compile error C1128: number of sections exceeded object file format limit
11 months ago
dependabot[bot]
51b775d38d
Bump github/codeql-action from 3.24.6 to 3.24.7
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.24.6 to 3.24.7.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](8a470fddaf...3ab4101902
)
---
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>
11 months ago
dependabot[bot]
80208d3a2b
Bump actions/checkout from 4.1.1 to 4.1.2
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](b4ffde65f4...9bb56186c3
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
11 months ago
dependabot[bot]
a0154418eb
Bump meson from 1.3.2 to 1.4.0 in /.ci
...
Bumps [meson](https://github.com/mesonbuild/meson ) from 1.3.2 to 1.4.0.
- [Release notes](https://github.com/mesonbuild/meson/releases )
- [Commits](https://github.com/mesonbuild/meson/compare/1.3.2...1.4.0 )
---
updated-dependencies:
- dependency-name: meson
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
11 months ago
dependabot[bot]
a91d2edc7a
Bump setuptools from 69.1.1 to 69.2.0 in /.ci
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 69.1.1 to 69.2.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/v69.1.1...v69.2.0 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
11 months ago
dependabot[bot]
ddc9b42684
Bump fonttools from 4.49.0 to 4.50.0 in /.ci
...
Bumps [fonttools](https://github.com/fonttools/fonttools ) from 4.49.0 to 4.50.0.
- [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.49.0...4.50.0 )
---
updated-dependencies:
- dependency-name: fonttools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
11 months ago
Khaled Hosny
2b3631a866
8.3.1
11 months ago
Ozkan Sezer
c2f8f35a6c
Use inttypes.h PRI?32 macros in format strings for [u]int32_t args.
...
This is a modified and cleaned-up version of PR #4619 by @jpcomito :
hb-common.h now expects 'inttypes.h' presence with MSVC exceptions,
defines __STDC_FORMAT_MACROS in there (if not already defined) and
undoes c930ae2
(PR #1974 ) and 902ab86
.
Co-authored-by: jcomito <jcomito@google.com>
12 months ago
Qunxin Liu
cfbb6a6872
[subset] support BASE table subsetting ( #4618 )
...
* [subset] support BASE table
* [subset] add tests for BASE table subsetting
12 months ago
Behdad Esfahbod
e18565875a
Merge pull request #4616 from googlefonts/repacker
...
[repacker] Rework how ClassDef sizes are estimated during splitting.
12 months ago
Garret Rieger
79eaa217ac
[repacker] remove unused include.
12 months ago
Behdad Esfahbod
595def8fb8
Revert "Fixing compiler warnings"
...
This reverts commit 61a1ba2ff0
.
12 months ago
jcomito
61a1ba2ff0
Fixing compiler warnings
...
All warning are for format specifiers (-WFormat) in sprintf().
12 months ago
Lie Yan
2da79f70a1
fix(test-ot-math.c): remove redundant lines
12 months ago
Garret Rieger
025f52769f
[repacker] fix mem leak in test-classdef-graph test.
12 months ago
Garret Rieger
01fc4a162f
[repacker] Fix repacker test.
...
With class def size estimation changes this test is now able to pack closer to the limit.
12 months ago
Garret Rieger
8e1beefe05
[repacker] small fixes.
12 months ago
Garret Rieger
17b37f10d5
[repacker] add classdef size est. test that you can add the same class multiple times.
12 months ago
Garret Rieger
0ac9e7da39
[repacker] in classdef estimator tests compare results to actual class def serialization.
...
Fix the estimator to actually match real serialization sizes.
12 months ago
David Corbett
0692d23ccc
Update IANA Language Subtag Registry to 2024-03-07
12 months ago
Garret Rieger
8129b21dea
Update classdef size estimator to pick the min coverage format.
...
Previously this just assumed a worst case format 1.
12 months ago
Garret Rieger
252a926fbf
[repacker] Rework how ClassDef sizes are estimated during splitting.
...
The old approach considered only one class at a time, which in some cases can generate the wrong answer. This change updates the estimation to consider how all classes in the current split would end up encoded in a single ClassDef table. Additionally compute whether glyphs are consecutive only for the current split (instead of the fully mapping).
12 months ago
Qunxin Liu
d6431dc7e6
[instancer] support *=drop, which would pin all axis to default location
12 months ago
Behdad Esfahbod
06749fa481
[icu] Use uscript_getCode()
12 months ago
dependabot[bot]
f1464efb78
Bump codecov/codecov-action from 4.0.1 to 4.1.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](e0b68c6749...54bcd8715e
)
---
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>
12 months ago
dependabot[bot]
cbc3c539cc
Bump github/codeql-action from 3.24.5 to 3.24.6
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.24.5 to 3.24.6.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](47b3d888fe...8a470fddaf
)
---
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>
12 months ago
L. E. Segovia
6864769c4d
[meson] Block uses of hb-static throughout Microsoft compilers
...
PE-COFF cannot export extern, non-dllexport symbols.
1 year ago
خالد حسني (Khaled Hosny)
61d57be176
Revert "Bump gcovr from 5.0 to 7.2 in /.ci"
...
This reverts commit 58c6dba9cd
.
1 year ago
Behdad Esfahbod
05d43963fa
Revert "Bump codecov/codecov-action from 4.0.1 to 4.0.2"
...
This reverts commit 52ecdd269c
.
1 year ago
dependabot[bot]
52ecdd269c
Bump codecov/codecov-action from 4.0.1 to 4.0.2
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](e0b68c6749...0cfda1dd0a
)
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
dependabot[bot]
49dbf4eaf9
Bump github/codeql-action from 3.24.3 to 3.24.5
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.24.3 to 3.24.5.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](379614612a...47b3d888fe
)
---
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>
1 year ago