|
6e874817
|
2024-03-27T17:47:57
|
|
[subset] add virtual links to keep the gdef varstore last.
|
|
71456071
|
2024-03-25T21:41:16
|
|
[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.
|
|
11f5dec7
|
2024-03-27T19:34:51
|
|
[subset] Move post apply mvar test intance position to avoid rounding diff.
|
|
975bd39b
|
2024-03-27T19:28:53
|
|
[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).
|
|
15a05b24
|
2024-03-27T18:26:09
|
|
[subset] Update generate-expected-outputs to drop BASE.
This matches the behaviour of the test runner.
|
|
ec46c4c2
|
2024-03-27T18:11:26
|
|
[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.
|
|
990fb14d
|
2024-03-28T22:32:55
|
|
[subset] Disable fonttools comparison in a few tests where rounding diffs show up.
Context: https://github.com/harfbuzz/harfbuzz/issues/4642
|
|
dbecddb4
|
2024-03-17T11:50:04
|
|
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
|
|
cfbb6a68
|
2024-03-14T17:33:34
|
|
[subset] support BASE table subsetting (#4618)
* [subset] support BASE table
* [subset] add tests for BASE table subsetting
|
|
2da79f70
|
2024-03-09T22:45:37
|
|
fix(test-ot-math.c): remove redundant lines
|
|
1ab8822b
|
2024-02-09T17:24:49
|
|
Fixed some errors in STAT table implementation
|
|
84771374
|
2024-01-26T15:45:32
|
|
[instancer] add tests for iup delta optimization
|
|
ef1f5c4e
|
2024-01-08T22:17:55
|
|
[subset] Re-use common Coverage subsetting function in PairPosFormat2.
Was using an identical but less efficient version. Fixes fuzzer test case: https://oss-fuzz.com/testcase-detail/6151390002806784
|
|
c17d6746
|
2024-01-07T22:10:10
|
|
[ot-math] Fix a bug in MathKern::get_value()
Fixes https://github.com/harfbuzz/harfbuzz/issues/4542
|
|
df735213
|
2023-12-06T09:50:29
|
|
[instancer-solver] port solver fix (#4519)
* [instancer-solver] port solver fix
from https://github.com/fonttools/fonttools/pull/3374
|
|
f1ac36ba
|
2023-11-15T11:38:41
|
|
[instancer] update hhea vertical metrics with OS/2 ones
|
|
2d001a0a
|
2023-11-08T11:11:51
|
|
[subset] OTS doesn't allow ligature attachment offset to be 0
|
|
9701b002
|
2023-11-06T22:14:31
|
|
[subset] Always place CFF1/2 char strings at the end of the packed table.
Makes the behaviour from HB_SUBSET_FLAGS_IFTB_REQUIREMENTS the default.
|
|
c6884377
|
2023-11-06T20:21:46
|
|
[subset] Add HB_SUBSET_FLAGS_IFTB_REQUIREMENTS flag.
When enabled the output subset conforms to the requirements for a base font to be patched by IFTB patches. IFTB is a proposed incremental font transfer patch. This new flag is set as experimental. Currently, setting this flag causes the output subset to also use long offsets for outline data in loca/glyf, gvar, CFF, and CFF2.
This change is a version of https://github.com/skef/harfbuzz/commit/3ae2fe2084d96f61d8ad1bbe42a6ef4e62ec830a rebased onto head w/ tests added.
|
|
d550e16a
|
2023-11-06T10:31:05
|
|
[instancer] Recalc avgcharwidth after instancing
|
|
6baf791e
|
2023-11-03T11:06:07
|
|
[instancer] add tests
|
|
31b5b2b1
|
2023-11-02T09:08:36
|
|
[instancer] add tests for valueformat
|
|
413af0a9
|
2023-11-02T11:14:48
|
|
[instancer] When partial instancing, subset LigCaretList after VarStore instantiation
|
|
f6f35f73
|
2023-10-27T09:31:07
|
|
[instancer] add tests for feature variations partial instancing
|
|
e595fe75
|
2023-10-18T16:00:06
|
|
fix bots
partial instancing tests are wrapped by experimenal_api, do not enable
them in Makefile
|
|
ce466989
|
2023-10-18T15:49:57
|
|
[subset] update tests
to reflect changes in GDEF.MarkGlyphSetsDef and Lookup.MarkFilteringSet
|
|
bde6fb83
|
2023-10-18T10:21:02
|
|
add missing file for test empty_region_vardata
|
|
57dac23d
|
2023-10-17T17:11:13
|
|
[instancer] add tests
Also update tests to gei rid of no-tables-with-item-variations profile
|
|
bbd53fcf
|
2023-10-10T21:41:42
|
|
Remove glyph_map test that uses retain gids.
We no longer allow the use of glyph map + retain gids (see: https://github.com/harfbuzz/harfbuzz/blob/main/src/hb-subset-plan.cc#L817). Also add the test to the meson file so it will be run by default.
|
|
fc563bb4
|
2023-10-05T11:07:17
|
|
Merge pull request #4421 from googlefonts/GDEF_GPOS
[instancer] support GDEF/GPOS tables
|
|
6e06a193
|
2023-09-30T01:12:16
|
|
Add some tests for hb_feature_[from|to]_string()
|
|
333946b0
|
2023-09-28T19:02:37
|
|
[subset] Fix fuzzer timeout.
Fixes https://oss-fuzz.com/testcase-detail/5458896606855168. Limit iteration over coverage in MarkLigPosFormat1 subsetting to the number of glyphs in the liga array.
|
|
9ceb800a
|
2023-09-28T10:37:48
|
|
fuzzer fix https://oss-fuzz.com/testcase-detail/5842152921628672
Access TupleVariationData through blob, because we don't sanitize
var_data
|
|
2415d5f2
|
2023-09-27T13:33:09
|
|
[instancer] update tests to include GDEF/GPOS tables
|
|
ef4ff1d6
|
2023-09-20T11:35:33
|
|
[instancer] make varstore items sorting method match fonttool's
Also update expected tests
|
|
2d2818c0
|
2023-09-20T10:30:47
|
|
[instancer] update expected tests to include HVAR/VVAR tables
|
|
6e49128a
|
2023-09-01T10:27:40
|
|
[instancer] always check and update default wght/width/slnt if necessary
Sometimes default values in original file are incorrect, and if default value for an axis is not changed, then these values won't be updated
|
|
7b5daff5
|
2023-08-31T17:50:34
|
|
[instancer] add tests for mvar partial instancing
|
|
c459b8a5
|
2023-09-16T10:27:07
|
|
[Unicode 15.1] Add tests
|
|
c03e4c10
|
2023-09-16T10:06:24
|
|
[Unicode 15.1] Update emoji table and cluster test
|
|
fd3eb2c6
|
2023-08-24T08:59:18
|
|
fuzzer fix: https://oss-fuzz.com/testcase-detail/6032126569742336
|
|
a1f034ea
|
2023-08-28T21:10:16
|
|
[repacker] fix fuzzer failure.
Fixes: https://oss-fuzz.com/testcase-detail/6490945267564544
|
|
2023384b
|
2023-08-22T13:09:26
|
|
Merge pull request #4368 from googlefonts/support_gvar
Initial implementation for gvar partial instancing
|
|
dd8d3576
|
2023-08-22T12:54:50
|
|
[instancer] enable partial instancing tests when experimental api is on
|
|
ca906e87
|
2023-08-16T23:37:03
|
|
[repacker] fix fuzzer timeout.
Corrects some mistakes in the handling of incoming_edges_ when memory allocation failures happen.
|
|
bea26446
|
2023-08-15T14:20:54
|
|
[instancer] reference all points for gvar
If a point is not referenced and delta is not inferred, set delta to 0
|
|
0c80aec1
|
2023-08-15T10:30:38
|
|
[COLR] Move cycle-detection to the renderer instead of cairo
Alternative fix for https://github.com/harfbuzz/harfbuzz/issues/4375
|
|
7d7541e3
|
2023-08-14T17:55:09
|
|
[test-paint] Print paint-color-glyph
|
|
47231bdc
|
2023-08-14T16:52:44
|
|
[COLR/cairo/ft] Fixups to paint-color-glyph and implement for hb-ft
|
|
58effbcc
|
2023-08-14T16:47:01
|
|
.
|
|
483bc0a3
|
2023-08-08T15:58:20
|
|
[arabic/stch] Center the stretched group over the digits
Mostly relevant when there's one digit only.
https://github.com/harfbuzz/harfbuzz/issues/4369#issuecomment-1670361856
|
|
9daef6ed
|
2023-08-08T13:33:11
|
|
[arabic] Add test for previous commit
|
|
0aa5dafe
|
2023-08-08T08:33:11
|
|
fix bots.
-Also disable partial instancing tests for now, cause the command option
is wrapped by experimental_api
|
|
77b158c7
|
2023-08-07T16:02:02
|
|
[instancer] add tests for gvar partial instancing
|
|
5b337130
|
2023-08-01T20:02:21
|
|
Add test for previous commit
|
|
94d4283b
|
2023-08-01T15:05:17
|
|
[graph] Handle a malloc fail
Fixes https://oss-fuzz.com/testcase-detail/4579249263345664
|
|
202888ec
|
2023-07-30T11:49:08
|
|
Fix mac bot
I think the new unsafe-to-concat is correct...
|
|
f19ca24a
|
2023-07-30T11:26:11
|
|
Revert "Revert "Require numerator and denominator in auto fraction""
This reverts commit 8fe506e153c530affd529e7175e813c3a878faed.
|
|
8fe506e1
|
2023-07-30T10:43:28
|
|
Revert "Require numerator and denominator in auto fraction"
This reverts commit f3e86937df345d7709de879af1d1a1502e84e1e9.
|
|
f3e86937
|
2023-07-30T08:28:23
|
|
Require numerator and denominator in auto fraction
|
|
997986ab
|
2023-07-09T15:15:33
|
|
[subset/hvar] Error handling
Fixes https://oss-fuzz.com/testcase-detail/5029952234586112
|
|
c8f6ae1d
|
2023-07-08T20:21:49
|
|
[subset/hvar/retaingids] Synthesize a DeltaSetIndexMap if needed
Before we were emitting the entire VarStore rows if advMap
was Null. Instead, synthesize an advMap.
20% speed up in subset_glyphs/SourceHanSans-VF.otf/retaingids benchmark.
|
|
afe09102
|
2023-07-09T02:45:52
|
|
[font] Actually deprecate get_glyph_shape()
We previously marked it as deprecated in the documentation but didn’t
actually deprecate it in code. Now the only known users have migrated to
draw_glyph(), lets deprecate o=it for good.
|
|
f60dbd90
|
2023-07-08T16:21:24
|
|
Fix thinko
Fixes https://oss-fuzz.com/testcase-detail/4787105656864768
|
|
25297408
|
2023-07-03T10:34:26
|
|
[COLR] Fix PaintComposite sanitize timeout
Was timing out after recent sanitize() change.
Fixes https://oss-fuzz.com/testcase-detail/5692635449524224
|
|
0cf759b0
|
2023-07-02T12:15:43
|
|
[Glyph] Don't shift anchored Composite if phantom_only
Fixes https://oss-fuzz.com/testcase-detail/5114131137822720
|
|
cc44b3bc
|
2023-06-29T16:12:10
|
|
[subset/cff1] Handle an error condition
Fixes https://oss-fuzz.com/testcase-detail/5191907895279616
|
|
62f5ed46
|
2023-06-28T12:02:52
|
|
[subset/cff] Fix an infinite loop
Fixes https://oss-fuzz.com/testcase-detail/5419002026131456
|
|
347b9448
|
2023-06-26T18:09:40
|
|
[null] Fix getting Crap(hb_bytes_t)
Fixes https://oss-fuzz.com/testcase-detail/6187272924692480
|
|
6c4f975d
|
2023-06-25T23:37:08
|
|
Add a fuzzer font
|
|
d8fba5c6
|
2023-06-22T19:25:54
|
|
[use] Add FM categories to `POST_BASE_FLAGS64`
|
|
db700b56
|
2023-06-12T23:38:26
|
|
[subset] fix fuzzer timeout.
Fixes: https://oss-fuzz.com/testcase-detail/6681253479579648. Limits iteration of coverage table during MATH subset to valid glyphs.
|
|
2e6919d5
|
2023-06-10T10:08:56
|
|
[subset/cff2] Error handling
Fixes https://oss-fuzz.com/testcase-detail/4916785942757376
|
|
d08aee5a
|
2023-06-08T13:20:28
|
|
Add fuzzing test
|
|
ada1e9a9
|
2023-06-06T14:46:06
|
|
[graph/serialize] Handle empty blob
Fixes https://oss-fuzz.com/testcase-detail/4877513265119232
|
|
a92b288e
|
2023-06-06T14:32:25
|
|
[serializer] Handle snapshotting when current is nullptr
Happens with memory failure / fuzzing.
Fixes https://oss-fuzz.com/testcase-detail/6292420615340032
|
|
c2eaedd2
|
2023-06-04T09:25:07
|
|
[fuzzing] Add a test font
From https://oss-fuzz.com/testcase-detail/5855710991482880
|
|
f3b4d35f
|
2023-05-29T22:38:40
|
|
[subset] Fix fuzzer crash.
https://oss-fuzz.com/testcase-detail/6608005089853440
|
|
20c564bc
|
2023-05-26T23:04:25
|
|
[repacker] Fix fuzzer memory leak.
https://oss-fuzz.com/testcase-detail/6419865171525632
|
|
a652281e
|
2023-05-26T19:47:50
|
|
[subset] Fix fuzzer timeout.
Fixes https://oss-fuzz.com/testcase-detail/5979721620652032. Timeout was caused by degenerate map insert behaviour due to poor integer hash function. Presize the map to avoid it. Also fixes collect_mapping() for cmap format 13.
|
|
0d354e04
|
2023-05-21T19:01:04
|
|
[layout] Add tests for baseline 2 APIs
|
|
132391ad
|
2023-05-19T15:01:49
|
|
[layout] Add test for font_extents
|
|
77a81554
|
2023-05-04T23:01:56
|
|
[subset] Add some basic tests for a provided glyph map.
|
|
db23be64
|
2023-05-02T00:06:08
|
|
[subset] clamp head *Min/*Max values to fit within 16 bit signed int.
Fixes fuzzer https://oss-fuzz.com/testcase-detail/4549472192692224.
|
|
b3fed4fa
|
2023-04-27T22:13:30
|
|
[repacker] fix fuzzer found memory leak.
Fixes https://oss-fuzz.com/testcase-detail/5196242811748352
|
|
1d31da91
|
2023-04-25T15:34:06
|
|
Merge pull request #4205 from harfbuzz/gvar-optimize
Gvar optimize
|
|
e41f3171
|
2023-04-25T20:54:27
|
|
[subset] Update expectation files for full_instance tests.
|
|
2175f5d0
|
2023-04-24T21:13:18
|
|
[subset] Fix inefficient ItemVariationStore subsetting w/ retain_gids.
ItemVariationStore is relying on the assumption that the inner_map is populated for all output glyphs, this is not true for subsetting operations with retain gids enabled. Fixes fuzzer timeout: https://oss-fuzz.com/testcase-detail/4575222591520768.
|
|
647b0247
|
2023-04-17T22:47:47
|
|
[subset] Fix fuzzer issue https://oss-fuzz.com/testcase-detail/6521393809588224
|
|
3db6baa2
|
2023-04-17T20:01:17
|
|
[subset] add test for lig glyph fix.
|
|
14b9d8d5
|
2023-04-14T20:44:15
|
|
[subset] add --no-layout-closure flag.
Disables layout glyph closure. Fixes #4192.
|
|
96ed2072
|
2023-04-04T10:33:58
|
|
[instancer] update bound metrics for CFF2 instancing
|
|
2cd81fdf
|
2023-03-30T22:11:43
|
|
[subset] fix memory leak.
Fixes fuzzer issue https://oss-fuzz.com/testcase-detail/6169920089227264
|
|
c1acfe99
|
2023-03-22T19:06:58
|
|
[instancer] bug fix in TupleVariationData get_size ()
We need to iterate TupleVariationHeader when calculating the total size
|
|
be872001
|
2023-03-24T17:30:53
|
|
[subset] fix buffer overflow fuzzer reported issue.
|
|
79ae6b65
|
2023-03-24T17:14:55
|
|
[subset] Fix fuzzer found memory leaks.
|
|
ab87d7d2
|
2023-03-20T12:24:22
|
|
[instance] add tests for colrv1 full instancing
|
|
f0f7f225
|
2023-03-20T18:39:49
|
|
[subset] fix fuzzer found null deref.
https://oss-fuzz.com/testcase-detail/5844352760152064
|
|
a84cae42
|
2023-03-15T02:39:57
|
|
[subset] Don't add invalid gids (-1) to the glyphset when loading glyph map from the accelerator.
|
|
09a26623
|
2023-03-14T12:48:12
|
|
Merge pull request #4168 from googlefonts/subset_name_collect
[subset] name_id closure
|