|
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
|
|
204e155a
|
2023-03-14T10:25:31
|
|
[subset] Add tests for collecting name_ids from STAT and FeatureParams
|
|
3d05b961
|
2023-03-13T21:34:26
|
|
[subset] track which glyphs have allocated memory so we can clean up correctly.
Fixes https://oss-fuzz.com/testcase-detail/5388270411579392
|
|
7a87b177
|
2023-03-13T19:50:28
|
|
Check for failed subset input creation in the fuzzer.
|
|
28b05e1c
|
2023-03-08T23:59:04
|
|
[subset] Fix memory leak in glyf subset.
Fixes fuzzer issue: https://oss-fuzz.com/testcase-detail/6525813890875392.
|
|
9286e125
|
2023-03-08T20:02:26
|
|
Don't subset a glyf table with an unknown format.
Fixes fuzzer issue: https://oss-fuzz.com/testcase-detail/4875306193518592
|
|
2d33a6b4
|
2023-02-28T15:31:45
|
|
[subset-fuzzer] Protect against overflow
Fixes
https://github.com/harfbuzz/harfbuzz/issues/4137#issuecomment-1448994447
|
|
a975ec48
|
2023-02-14T13:26:59
|
|
[instancer] apply cvar deltas
|
|
c0fac016
|
2023-02-22T20:54:20
|
|
[subset] update the subset fuzzer to be able to reach instancing code.
|
|
605aed05
|
2023-02-24T10:17:32
|
|
[instancer] bug fix in post table applying mvar deltas
|
|
918193eb
|
2023-02-22T23:11:29
|
|
[subset] fix a class of fuzzer timeouts caused by large shared coverage tables.
More acurately estimates the op count for CoverageFormat2 tables as the population size instead of the size in bytes.
|
|
ddd0f7f4
|
2023-02-22T20:23:34
|
|
[subset] Add a test for CFF2 instancing.
Adds option to disable the fonttools comparison check in the test. This is needed since CFF2 instancing is not yet supported in fonttools.
|
|
4a735b30
|
2023-02-19T19:51:03
|
|
[cff2-subset] Update test
|
|
af1e605b
|
2023-02-10T11:08:05
|
|
[instancer] bug fix
It's possible that length of all_points equals to 4 for non-empty
glyphs: a composite glyph which contains only one child glyph that is
empty.
|
|
219e2f12
|
2023-02-10T17:23:31
|
|
Clarify that those two test fonts are CC0-licensed
|
|
64fa5cd4
|
2023-02-07T15:50:36
|
|
[GPOS] Fix assert fail introduced recently
Was introduced in 8708b9e081192786c027bb7f5f23d76dbe5c19e8.
If these lookups are recursed to from (Chain)Context out-of-order,
it was possible that last_base > buffer->idx, in which case we
were attaching marks to a base after them... and an assertion
was failing fortunately.
Fixes https://oss-fuzz.com/testcase-detail/6377756666757120
|
|
474b99d1
|
2023-02-04T10:16:11
|
|
[test-paint] Fix build without FreeType
Fixes https://github.com/harfbuzz/harfbuzz/issues/4103
|
|
61559568
|
2023-01-27T11:05:13
|
|
[subset/COLR] add tests for copying varStore
|
|
6c46da77
|
2023-01-27T10:34:50
|
|
[test] Fix shell script quoting
|
|
e3778889
|
2023-01-26T13:26:47
|
|
[ft-colr] Conditionalize on (unreleased0 FreeType 2.13.0
That's the version that the color API is called stable, and
includes changes that we rely on.
|
|
8d80d1dd
|
2023-01-25T19:06:51
|
|
[paint] Update expected test results
These tests were affected by recent fixes.
|
|
5e868703
|
2023-01-25T12:27:16
|
|
[instancer] compute head/maxp values using only non-empty glyphs
|
|
0bbc9d52
|
2023-01-25T00:44:38
|
|
[fonts] move OFL-1.1 license to a higher directory
There's a bunch of font directories inside of test/ for which the vast
majority of fonts are licensed under the SIL open font license. We currently
have a COPYING file in test/shape/data/in-house/COPYING that says that most
of the fonts are OFL-1.1, but that doesn't apply to the fonts in, say,
test/api/fonts/ or test/fuzzing/fonts/. Since there are so many OFL-1.1
fonts all over test, let's move the COPYING file to the top-level test/
directory.
|
|
c622c6b8
|
2023-01-24T23:52:10
|
|
[font] update the license url for TestGVAREight.ttf
The url in the exif data incorrectly links to a proprietary license. However,
permission was granted for distribution under Apache-2 as part of another project,
so link to that project's license instead.
fixes #4062
|
|
eb0a025e
|
2023-01-24T20:40:32
|
|
Add a test for glyph names
This verifies that hb_font_get_glyph_name
returns false for nonexisting glyphs.
|
|
dd64266e
|
2023-01-24T19:26:20
|
|
Add a test for glyph extents
This verifies a recent fix for COLRv1 returning
0,0,-1,1 for extents of non-painting glyphs.
|
|
73e6f6cc
|
2023-01-24T16:14:11
|
|
[instancer] enable the missing test
|
|
27f72f0d
|
2023-01-24T16:08:32
|
|
[instancer] avoid double free for compiled glyph bytes
also increase the HB_GLYF_MAX_POINTS limit to 20000 cause the test file has a
.notdef glyph which is a composite glyph and has 10176 points after
get_points() call
|
|
e4fff64c
|
2023-01-24T00:52:26
|
|
[repacker] check duplicate() for success.
Fixes fuzzer testcase https://oss-fuzz.com/testcase-detail/5475787333828608.
|
|
b9879181
|
2023-01-22T09:08:51
|
|
Merge pull request #4052 from googlefonts/instancer_recalc_bounds
[instancer] recalc bounds by default when --instance option is enabled
|
|
e4cdaa1d
|
2023-01-22T08:36:51
|
|
[test] Fix build
|
|
9ba1e400
|
2023-01-22T08:31:39
|
|
[test] Remove non-free font and its test
Fixes https://github.com/harfbuzz/harfbuzz/issues/4059
|
|
b63159e8
|
2023-01-21T15:50:48
|
|
[PairPosFormat1] Fix stride
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=55287
and generally the lookup with MediumTypes.
|
|
c08e5d09
|
2023-01-21T03:40:09
|
|
[hb-draw] Fix MSVC warning
warning C4305: 'initializing': truncation from 'double' to 'float'
|
|
89d33255
|
2023-01-20T14:15:19
|
|
[instancer] add tests
|
|
910adc7e
|
2023-01-17T14:23:46
|
|
[test-paint] Update expectations
|
|
c86bab3f
|
2023-01-17T06:29:17
|
|
[test-paint] Use G_GNUC_PRINTF
|
|
f02c4ebb
|
2023-01-16T14:17:16
|
|
[test-paint] Adjust condition for enabling ft backend
|
|
7dfa672d
|
2023-01-16T19:49:53
|
|
test/threads/hb-subset-threads.cc: add missing <cstdio> include
This week's `gcc-13` snapshot cleaned further up it's standard headers
and exposed missing declaration as a build failure:
../test/threads/hb-subset-threads.cc: In function 'void test_operation(operation_t, const char*, const test_input_t&)':
../test/threads/hb-subset-threads.cc:127:3: error: 'printf' was not declared in this scope
../test/threads/hb-subset-threads.cc: In function 'int main(int, char**)':
../test/threads/hb-subset-threads.cc:157:19: error: 'atoi' was not declared in this scope
|
|
ea1ee0d4
|
2023-01-14T00:23:53
|
|
[instance] drop and don't collect lookups from feature variations when fully instancing.
This previously incorrectly collected lookups that could be reached via feature variations that are dropped and not activated by the current instance position.
|
|
d250148d
|
2023-01-12T21:26:24
|
|
Merge pull request #4024 from harfbuzz/test-paint-variable
test-paint: Add variable font tests
|
|
60a4f2e6
|
2023-01-12T19:12:46
|
|
[test-paint] Detect FreeType COLRv1 from struct size
|
|
b7839672
|
2023-01-12T18:58:07
|
|
[test] Minor save glyph_count
|
|
cca0ed9b
|
2023-01-11T06:44:25
|
|
test-paint: Add variable font tests
These needs freetype master to work.
|
|
c324d999
|
2023-01-12T18:15:07
|
|
[instancing] Add tests for MVAR instancing.
|
|
d675f0d4
|
2023-01-11T15:06:31
|
|
Merge pull request #4023 from harfbuzz/aat-features2
[aat] Support feature ranges
|
|
1cb5a87f
|
2023-01-10T22:13:44
|
|
test-pain: Print out extend for color lines
Update all expected results to include this value.
|
|
6648e6e3
|
2023-01-10T22:07:44
|
|
Add one more paint test
Add a test for the clip_box_top_left_glyph,
since we've seen broken rendering with it.
|
|
4ee60941
|
2023-01-10T11:52:12
|
|
[aat] Add test for feature range
|
|
8460909e
|
2023-01-10T17:43:10
|
|
[build] Fix make dist
|
|
0f01a836
|
2023-01-10T01:09:44
|
|
[subset] add basic test for CFF2 subsetting.
FontTools does not yet support CFF2 subsetting so we can't add a comparison test. Instead add a golden file test.
|
|
b2087132
|
2023-01-09T16:30:25
|
|
test-paint: Fix use of g_test_skip
|
|
eb0f0279
|
2023-01-09T15:33:34
|
|
test-paint: Avoid g_test_skip_printf
This is relatively recent api we don't need.
|
|
e61c2be4
|
2023-01-09T15:25:29
|
|
test-paint: Skip tests if ft COLRv1 is missing
|
|
1d662632
|
2023-01-09T15:01:59
|
|
test-paint: More output for failures
|
|
d0108d31
|
2023-01-08T11:20:21
|
|
Add more paint tests
These tests compare the output of the ft and ot
implementations for all the glyphs in the test_glyphs
font.
|
|
5f976d86
|
2023-01-09T13:42:22
|
|
test-paint: Use %.3g for results
This produces more readable output.
|
|
ec78a486
|
2023-01-09T13:38:19
|
|
Run paint tests at upem scale
This avoids problems with rouding.
|
|
a085efa6
|
2023-01-09T13:11:16
|
|
test-paint: Fix font setup for ft
We must call hb_ft_font_set_funcs after
setting the font scale.
|
|
26f713a7
|
2023-01-09T12:54:06
|
|
paint-test: Use larger scales
A scale of 20 is noise, so use 1000.
|
|
e886b6b8
|
2023-01-09T10:26:01
|
|
[test-draw] Use a larger scale
A scale of 20 is in the noise category for us. Using a larger
scale makes the test pass.
|
|
347910fd
|
2023-01-08T20:06:24
|
|
Add a draw test
This test compares output between ft and ot
font funcs.
|
|
42047070
|
2023-01-08T16:08:16
|
|
test-paint: More helpful output
No need to print ASCII chars as hex.
|
|
3fd6c0d9
|
2023-01-08T12:30:26
|
|
[test-paint] Remove unused FT_Library
|
|
28be4f88
|
2023-01-08T12:19:41
|
|
[test-paint] Actually run against hb-ft
|
|
ed7d0234
|
2023-01-08T11:47:19
|
|
test-paint: Limit the precision of clip boxes
Update expected test results.
|
|
10390ec5
|
2023-01-08T09:06:03
|
|
Update expected test results
|
|
f3ce1374
|
2023-01-08T09:01:31
|
|
test-paint: Be more flexible for expected results
When generating the expected output with GENERATE_DATA=1,
Glib's test framework puts out some comments at the top
of the file. Ignore them when comparing the expected
output. This makes it possible to directly use the output
of
GENERATE_DATA=1 ./test-paint -p TESTCASE
as expected result for TESTCASE.
|
|
d0aaea23
|
2023-01-07T16:27:13
|
|
Update test results for paint-test
These were affected by the PaintComposite optimization.
|
|
1eb5445e
|
2023-01-06T15:19:16
|
|
[subset] Fix issue in hb_subset_input_override_name_table()
If a nameRecord with provided name_id/platform_id/encoding_id/lang_id
is not retained after subsetting, create it and insert it to
the name table. So we need to check against retained name_records
rather than name_record in the original name table.
|
|
c54debc7
|
2023-01-05T11:54:06
|
|
[face] Add hb_face_collect_nominal_glyph_mapping
Fixes https://github.com/harfbuzz/harfbuzz/issues/3973
|
|
9f3b59fe
|
2022-12-31T16:19:20
|
|
Update expected test results
These need updates, because they record
every callback, and we've changed what
callbacks are happening.
|
|
313f74a6
|
2022-06-29T07:32:58
|
|
Add a basic test for hb-coretext api
This tests what would be my minimum assumption
about this api. It was written blindly.
|
|
661baf40
|
2022-06-29T07:31:46
|
|
Add a basic test for hb-ft api
This tests what would be my minimum assumption
about this api.
|
|
2a515679
|
2022-12-26T16:50:32
|
|
[paint] Add a test for recursion
|
|
1eb4d002
|
2022-12-26T12:56:33
|
|
Try to fix the build with msvc
|
|
00e93102
|
2022-12-26T08:31:22
|
|
Add a test for hb_ot_color_glyph_has_paint
|
|
e7b0947a
|
2022-12-26T08:24:39
|
|
Add a test for hb_ot_color_has_paint
|
|
a7a93b85
|
2022-12-24T14:05:12
|
|
Drop accidentally added ttx files
|
|
6ccbfabd
|
2022-12-24T10:44:25
|
|
[paint] Return bool from paint_image()
Fixes https://github.com/harfbuzz/harfbuzz/issues/3974
|
|
d00e97f1
|
2022-12-24T06:58:44
|
|
Add test-paint to the autotools build
|
|
3478728e
|
2022-12-24T08:51:23
|
|
Fix test-paint build without freetype
|
|
9b9d7c7b
|
2022-12-24T05:34:47
|
|
Plug a memory lek in paint tests
|
|
f9c865a8
|
2022-12-23T20:20:33
|
|
Update test results
These were changed by the introduction of
clip boxes.
|
|
55b7af6b
|
2022-12-23T18:01:45
|
|
Tweak paint-tests
|
|
44b48845
|
2022-12-23T16:26:05
|
|
Add tests for hb_color_line_t
Test a few things that were broken with the
ft implementation before.
|
|
a4a86c0e
|
2022-12-23T13:52:22
|
|
[test-paint] g_test_message
|
|
dcab5679
|
2022-12-23T13:47:37
|
|
[test-paint] Don't use g_test_fail_print() for older glib
|
|
8e197f50
|
2022-12-23T15:31:16
|
|
Add missing paint test results
|
|
3b021c55
|
2022-12-23T14:30:29
|
|
Run paint tests with ft font funcs
|
|
ca190aab
|
2022-12-23T14:03:03
|
|
Split off the hb-paint tests
They belong in their own file.
|
|
ee7bbdf3
|
2022-12-23T00:01:20
|
|
tests: Update expected results
These were changed by fixes for glyph transforms.
|
|
3993a407
|
2022-12-22T23:55:27
|
|
test: Add some verification hints
|