test


Log

Author Commit Date CI Message
Khaled Hosny 910adc7e 2023-01-17T14:23:46 [test-paint] Update expectations
Behdad Esfahbod c86bab3f 2023-01-17T06:29:17 [test-paint] Use G_GNUC_PRINTF
Behdad Esfahbod f02c4ebb 2023-01-16T14:17:16 [test-paint] Adjust condition for enabling ft backend
Sergei Trofimovich 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
Garret Rieger 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.
Matthias Clasen d250148d 2023-01-12T21:26:24 Merge pull request #4024 from harfbuzz/test-paint-variable test-paint: Add variable font tests
Behdad Esfahbod 60a4f2e6 2023-01-12T19:12:46 [test-paint] Detect FreeType COLRv1 from struct size
Behdad Esfahbod b7839672 2023-01-12T18:58:07 [test] Minor save glyph_count
Matthias Clasen cca0ed9b 2023-01-11T06:44:25 test-paint: Add variable font tests These needs freetype master to work.
Garret Rieger c324d999 2023-01-12T18:15:07 [instancing] Add tests for MVAR instancing.
Behdad Esfahbod d675f0d4 2023-01-11T15:06:31 Merge pull request #4023 from harfbuzz/aat-features2 [aat] Support feature ranges
Matthias Clasen 1cb5a87f 2023-01-10T22:13:44 test-pain: Print out extend for color lines Update all expected results to include this value.
Matthias Clasen 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.
Behdad Esfahbod 4ee60941 2023-01-10T11:52:12 [aat] Add test for feature range
Khaled Hosny 8460909e 2023-01-10T17:43:10 [build] Fix make dist
Garret Rieger 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.
Matthias Clasen b2087132 2023-01-09T16:30:25 test-paint: Fix use of g_test_skip
Matthias Clasen eb0f0279 2023-01-09T15:33:34 test-paint: Avoid g_test_skip_printf This is relatively recent api we don't need.
Matthias Clasen e61c2be4 2023-01-09T15:25:29 test-paint: Skip tests if ft COLRv1 is missing
Matthias Clasen 1d662632 2023-01-09T15:01:59 test-paint: More output for failures
Matthias Clasen 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.
Matthias Clasen 5f976d86 2023-01-09T13:42:22 test-paint: Use %.3g for results This produces more readable output.
Matthias Clasen ec78a486 2023-01-09T13:38:19 Run paint tests at upem scale This avoids problems with rouding.
Matthias Clasen 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.
Matthias Clasen 26f713a7 2023-01-09T12:54:06 paint-test: Use larger scales A scale of 20 is noise, so use 1000.
Behdad Esfahbod 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.
Matthias Clasen 347910fd 2023-01-08T20:06:24 Add a draw test This test compares output between ft and ot font funcs.
Matthias Clasen 42047070 2023-01-08T16:08:16 test-paint: More helpful output No need to print ASCII chars as hex.
Behdad Esfahbod 3fd6c0d9 2023-01-08T12:30:26 [test-paint] Remove unused FT_Library
Behdad Esfahbod 28be4f88 2023-01-08T12:19:41 [test-paint] Actually run against hb-ft
Matthias Clasen ed7d0234 2023-01-08T11:47:19 test-paint: Limit the precision of clip boxes Update expected test results.
Matthias Clasen 10390ec5 2023-01-08T09:06:03 Update expected test results
Matthias Clasen 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.
Matthias Clasen d0aaea23 2023-01-07T16:27:13 Update test results for paint-test These were affected by the PaintComposite optimization.
Qunxin Liu 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.
Behdad Esfahbod c54debc7 2023-01-05T11:54:06 [face] Add hb_face_collect_nominal_glyph_mapping Fixes https://github.com/harfbuzz/harfbuzz/issues/3973
Matthias Clasen 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.
Matthias Clasen 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.
Matthias Clasen 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.
Matthias Clasen 2a515679 2022-12-26T16:50:32 [paint] Add a test for recursion
Matthias Clasen 1eb4d002 2022-12-26T12:56:33 Try to fix the build with msvc
Matthias Clasen 00e93102 2022-12-26T08:31:22 Add a test for hb_ot_color_glyph_has_paint
Matthias Clasen e7b0947a 2022-12-26T08:24:39 Add a test for hb_ot_color_has_paint
Matthias Clasen a7a93b85 2022-12-24T14:05:12 Drop accidentally added ttx files
Behdad Esfahbod 6ccbfabd 2022-12-24T10:44:25 [paint] Return bool from paint_image() Fixes https://github.com/harfbuzz/harfbuzz/issues/3974
Matthias Clasen d00e97f1 2022-12-24T06:58:44 Add test-paint to the autotools build
Matthias Clasen 3478728e 2022-12-24T08:51:23 Fix test-paint build without freetype
Matthias Clasen 9b9d7c7b 2022-12-24T05:34:47 Plug a memory lek in paint tests
Matthias Clasen f9c865a8 2022-12-23T20:20:33 Update test results These were changed by the introduction of clip boxes.
Matthias Clasen 55b7af6b 2022-12-23T18:01:45 Tweak paint-tests
Matthias Clasen 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.
Behdad Esfahbod a4a86c0e 2022-12-23T13:52:22 [test-paint] g_test_message
Behdad Esfahbod dcab5679 2022-12-23T13:47:37 [test-paint] Don't use g_test_fail_print() for older glib
Matthias Clasen 8e197f50 2022-12-23T15:31:16 Add missing paint test results
Matthias Clasen ee7bbdf3 2022-12-23T00:01:20 tests: Update expected results These were changed by fixes for glyph transforms.
Matthias Clasen 3993a407 2022-12-22T23:55:27 test: Add some verification hints
Matthias Clasen 47dbebff 2022-12-22T16:06:51 [paint] Add COLRv0 tests
Behdad Esfahbod 3c972867 2022-12-22T11:40:06 More s/hb_font_get_glyph_shape/hb_font_draw_glyph/
Matthias Clasen c2219339 2022-12-21T18:39:27 [paint] Preserve foreground information
Matthias Clasen 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.
Matthias Clasen 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.
Matthias Clasen 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.
Matthias Clasen 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.
Matthias Clasen b0fa40b2 2022-12-19T13:16:10 tests: More diagnostics
Matthias Clasen 290bb338 2022-12-19T02:39:14 Dist test result files
Matthias Clasen 74ccc1e7 2022-12-19T00:49:02 tests: Produce useful output on failure
Matthias Clasen 08429110 2022-12-19T01:08:41 Tests: Fix memleak pointed out by valgrind
Behdad Esfahbod d8cb7cee 2022-12-18T14:35:36 [test] Try fixing bots with old glib
Matthias Clasen 2d4678b6 2022-12-17T22:30:31 Add a comment
Matthias Clasen 30a6fd04 2022-12-17T18:20:00 [colr] Add some tests
Matthias Clasen 3b021c55 2022-12-23T14:30:29 Run paint tests with ft font funcs
Matthias Clasen ca190aab 2022-12-23T14:03:03 Split off the hb-paint tests They belong in their own file.
Chun-wei Fan 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/.
Garret Rieger 40342c94 2022-12-21T21:52:28 [subset] check for addition overflow in hdmx size calculation. Fixes https://oss-fuzz.com/testcase-detail/4877336988483584.
Garret Rieger b5acde43 2022-12-13T22:04:19 [subset] check pending/subsetted tag sets for alloc failure.
Garret Rieger 9fbe52b8 2022-12-12T20:24:24 [subset] enable instancing tests by default.
Garret Rieger eda02c2e 2022-12-05T20:18:41 [subset] Move hb_subset_preprocess to be non-experimental.
Garret Rieger 35233d25 2022-12-07T00:47:28 [repacker] fix fuzzer reported stack overflow. Fixes https://oss-fuzz.com/testcase-detail/6014493291577344.
Garret Rieger b17fbc20 2022-12-05T20:34:51 [repacker] use memcpy to avoid alignment issues.
Garret Rieger 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.
Garret Rieger 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
David Corbett 260df1fa 2022-12-04T12:25:22 [indic] Support <U+0A02, U+0A40>
Qunxin Liu 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.
Garret Rieger 16f61a1c 2022-12-01T23:57:30 [repacker] only build repacker fuzzer when experimental api is enabled.
Garret Rieger de5a6213 2022-12-01T23:37:16 [repacker] enforce root node having no incoming edges.
Garret Rieger 30e405e4 2022-12-01T22:12:59 [repacker] ensure link obj indices are valid.
Garret Rieger 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.
Garret Rieger 9e99d084 2022-09-08T23:19:02 [repacker] validate link widths during repacker setup.
Garret Rieger edf7a295 2022-09-08T22:59:34 [repacker] Validate link positions before running the repacker.
Garret Rieger 88d43752 2022-09-08T21:19:25 [repacker] add test for repacker fuzzer.
Garret Rieger 6627a1ab 2022-09-08T21:11:39 [repacker] Add a initial seed for the fuzzer repacker.
Garret Rieger 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.
Garret Rieger 261a605f 2022-09-07T22:43:06 [repacker] verify graph is a dag before using the fuzzer input.
Garret Rieger 985b19f6 2022-09-07T22:21:16 [repacker] begin implementing a fuzzer for the repacker api.
Garret Rieger 64e8707e 2022-11-24T18:24:50 [subset] don't use hb repacker when generating test files from fonttools.
Garret Rieger 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.
Garret Rieger 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.
Behdad Esfahbod 527823cc 2022-11-19T15:19:08 [unicode] Destroy user_data in set_funcs fail paths This is what the font_funcs / draw_funcs do.
Qunxin Liu 6314aa7d 2022-10-28T10:44:48 [subset] add an experimental API that can override name strings for specified name_id
Behdad Esfahbod f53ef69d 2022-11-04T16:00:34 [indic] Order left-matras inside-out Fixes https://github.com/harfbuzz/harfbuzz/issues/3863