|
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
|
|
47dbebff
|
2022-12-22T16:06:51
|
|
[paint] Add COLRv0 tests
|
|
3c972867
|
2022-12-22T11:40:06
|
|
More s/hb_font_get_glyph_shape/hb_font_draw_glyph/
|
|
c2219339
|
2022-12-21T18:39:27
|
|
[paint] Preserve foreground information
|
|
6387004c
|
2022-12-21T16:43:19
|
|
[paint] Simplify api
Drop the hb_paint_context_t struct from the API, and
only pass the font where we need it.
|
|
71bd5a0d
|
2022-12-21T16:18:46
|
|
[paint] Resolve colors
We don't need to pass the index/alpha pairs to
client callbacks, and can just resolve the colors
internally.
Update test results.
|
|
9be01b6b
|
2022-12-21T14:04:32
|
|
[paint] Pass hb_paint_context_t along
Replace the font argument with a hb_paint_context_t
that carries the font, the palette index and the
foreground color.
The hb_font_paint_glyph() api now takes the palette
index and the foreground color as extra arguments.
Update all callers and regenerate test results.
|
|
97224f3b
|
2022-12-21T02:11:36
|
|
[paint] Pass font to all callbacks
This will lead to easier implementations.
At the same time, we change the push_clip_glyph
callback to use the font as-is, no unscaling needed.
Update all callers and expected test results.
|
|
b0fa40b2
|
2022-12-19T13:16:10
|
|
tests: More diagnostics
|
|
290bb338
|
2022-12-19T02:39:14
|
|
Dist test result files
|
|
74ccc1e7
|
2022-12-19T00:49:02
|
|
tests: Produce useful output on failure
|
|
08429110
|
2022-12-19T01:08:41
|
|
Tests: Fix memleak pointed out by valgrind
|
|
d8cb7cee
|
2022-12-18T14:35:36
|
|
[test] Try fixing bots with old glib
|
|
2d4678b6
|
2022-12-17T22:30:31
|
|
Add a comment
|
|
30a6fd04
|
2022-12-17T18:20:00
|
|
[colr] Add some tests
|
|
4622be7f
|
2022-12-22T12:05:11
|
|
test/fuzzing: Fix dist
We need to dist the repacker fuzzer test items into the tarball, along
with the items in graphs/ and sets/.
|
|
40342c94
|
2022-12-21T21:52:28
|
|
[subset] check for addition overflow in hdmx size calculation.
Fixes https://oss-fuzz.com/testcase-detail/4877336988483584.
|
|
b5acde43
|
2022-12-13T22:04:19
|
|
[subset] check pending/subsetted tag sets for alloc failure.
|
|
9fbe52b8
|
2022-12-12T20:24:24
|
|
[subset] enable instancing tests by default.
|
|
eda02c2e
|
2022-12-05T20:18:41
|
|
[subset] Move hb_subset_preprocess to be non-experimental.
|
|
35233d25
|
2022-12-07T00:47:28
|
|
[repacker] fix fuzzer reported stack overflow.
Fixes https://oss-fuzz.com/testcase-detail/6014493291577344.
|
|
b17fbc20
|
2022-12-05T20:34:51
|
|
[repacker] use memcpy to avoid alignment issues.
|
|
f1d34893
|
2022-12-05T19:33:15
|
|
[repacker] bail on failure to alloc assigned_bytes set.
Fixes fuzzer issue https://oss-fuzz.com/testcase-detail/5390364397928448.
|
|
239a5aca
|
2022-12-05T19:15:36
|
|
[repacker] don't allow references to the null object in graph.
Fixes fuzzer issue https://oss-fuzz.com/testcase-detail/6714085985353728
|
|
260df1fa
|
2022-12-04T12:25:22
|
|
[indic] Support <U+0A02, U+0A40>
|
|
8eadb836
|
2022-11-10T10:33:26
|
|
[subset] Update hb_subset_input_override_name_table API
Override the name string for the NameRecord identified by name_id,
platform_id, encoding_id and language_ids specified by the user.
If a record with specified name_id does not exist, this API will create
a new NameRecord with provided info and insert it to the name table.
|
|
16f61a1c
|
2022-12-01T23:57:30
|
|
[repacker] only build repacker fuzzer when experimental api is enabled.
|
|
de5a6213
|
2022-12-01T23:37:16
|
|
[repacker] enforce root node having no incoming edges.
|
|
30e405e4
|
2022-12-01T22:12:59
|
|
[repacker] ensure link obj indices are valid.
|
|
554ed06f
|
2022-12-01T21:51:17
|
|
[repacker] add cycle detection to the graph sort.
This allows us to bail early if the graph is not acyclic.
|
|
9e99d084
|
2022-09-08T23:19:02
|
|
[repacker] validate link widths during repacker setup.
|
|
edf7a295
|
2022-09-08T22:59:34
|
|
[repacker] Validate link positions before running the repacker.
|
|
88d43752
|
2022-09-08T21:19:25
|
|
[repacker] add test for repacker fuzzer.
|
|
6627a1ab
|
2022-09-08T21:11:39
|
|
[repacker] Add a initial seed for the fuzzer repacker.
|
|
deca30b2
|
2022-09-08T21:10:06
|
|
[repacker] get repacker fuzzer working.
Additionally add helper method that allows a graph to be saved as a fuzzer seed.
|
|
261a605f
|
2022-09-07T22:43:06
|
|
[repacker] verify graph is a dag before using the fuzzer input.
|
|
985b19f6
|
2022-09-07T22:21:16
|
|
[repacker] begin implementing a fuzzer for the repacker api.
|
|
64e8707e
|
2022-11-24T18:24:50
|
|
[subset] don't use hb repacker when generating test files from fonttools.
|
|
ff3cac0c
|
2022-11-23T23:50:49
|
|
[subset] Fix unecessary trailing 0 bytes left by ContextFormat2 pruning.
Uneeded rules where beind removed from the count by the bytes for them was being left in the font.
|
|
dd1ba328
|
2022-11-21T23:20:59
|
|
[repacker] fix fuzzer timeout.
For https://oss-fuzz.com/testcase-detail/5845846876356608. Only process the set of unique overflows.
|
|
527823cc
|
2022-11-19T15:19:08
|
|
[unicode] Destroy user_data in set_funcs fail paths
This is what the font_funcs / draw_funcs do.
|
|
6314aa7d
|
2022-10-28T10:44:48
|
|
[subset] add an experimental API that can override name strings for specified name_id
|
|
f53ef69d
|
2022-11-04T16:00:34
|
|
[indic] Order left-matras inside-out
Fixes https://github.com/harfbuzz/harfbuzz/issues/3863
|
|
2822b589
|
2022-11-03T19:49:49
|
|
[subset] Include instancing tests in distribution.
Automatically enable them when the experimental api is enabled.
|
|
8a552483
|
2022-10-27T09:43:07
|
|
[instance] update OS2/.usWeightClass and .usWidthClass when
no-prune-unicode-ranges option is enabled
|
|
e854739b
|
2022-10-26T13:12:56
|
|
[fuzzing] Add test font for previous commit
|
|
db22bfb3
|
2022-10-17T18:37:07
|
|
[subset] Remove Franklin from the tests which is not an open source font.
|
|
3394ec70
|
2022-10-13T23:02:54
|
|
[subset] use subset accelerator in tests.
This ensures it produces equivalent subsets as without the accelerator.
|
|
d5fc4a73
|
2022-09-14T14:43:20
|
|
[instance] add tests for featureVariations
Also updated the script that is used to generate tests.With fonttools,
we now do instancing first and then subsetting.
With different order of subsetting and instancing operations on the same
VF file, fonttools seems to generate 2 different font files with different
glyph set.
1. do subsetting and then instancing: this seems result in a larger glyph
set in the font file. Lookups are collected from both retained features
and all possible alternate featurevariations, this leads to a larger
glyph set after glyph closurei. And instancer doesn't redo glyph
closure, it does lookups pruning only.
2. do instancing and then subsetting: lookups are collected from
features that are replaced already and possible alternate feature
variations
|
|
21b0e594
|
2022-09-20T12:03:08
|
|
[aat] Add test for rlig-to-aat feature mapping in Geeza Pro.
|
|
09b9a1ff
|
2022-09-01T20:20:44
|
|
[USE] Allow ZWNJ at the end of a cluster
|
|
47094490
|
2022-08-31T12:01:32
|
|
[instance] add benchmarks for instancing
|
|
88c02e00
|
2022-08-26T08:34:12
|
|
[instance] add tests for full instancing
Also update previous tests with GDEF/GPOS tables
|
|
ade87e15
|
2022-08-27T18:34:28
|
|
[Unicode 15] Add tests
|
|
e93c2d13
|
2022-08-27T16:10:10
|
|
[Unicode 15] Update the emoji table & cluster test
|
|
d0c32c5a
|
2022-08-27T15:54:27
|
|
[Unicode 15] Update the UCD table
|
|
f887ee0c
|
2022-07-27T13:18:21
|
|
[instance] update post.italicAngle
Add tests for instancing glyf/hmtx
|