test/api/test-paint.c


Log

Author Commit Date CI Message
Behdad Esfahbod 469502c9 2025-03-12T11:02:43 [test-paint] Test fontations too Luckily it passes!
Matthias Clasen 0ce90f60 2025-03-06T20:10:13 [test-paint] Make it easier to regenerate test output This command will regenerate the expected output for all the paint tests: GENERATE_DATA=1 G_TEST_SRCDIR=./test/api ./build/test/api/test-paint
Behdad Esfahbod 9d149c52 2025-02-26T15:07:46 [test-paint] Redirect generated output to stderr
Behdad Esfahbod 753093d6 2025-02-26T14:41:04 [test-colrv1] Add test files from https://roettsch.es/var_colrv1.html These are not currently used for any testing. To be used later.
Behdad Esfahbod 6fe14417 2023-11-17T12:25:42 [test-paint] Update comment
Behdad Esfahbod 755929c4 2024-10-12T20:08:32 Fix more compiler warnings In case FreeType is not available.
Behdad Esfahbod 22e1a5a7 2024-08-06T12:20:34 [test-paint] Fix warnings
Behdad Esfahbod 7d7541e3 2023-08-14T17:55:09 [test-paint] Print paint-color-glyph
Behdad Esfahbod 58effbcc 2023-08-14T16:47:01 .
Behdad Esfahbod 474b99d1 2023-02-04T10:16:11 [test-paint] Fix build without FreeType Fixes https://github.com/harfbuzz/harfbuzz/issues/4103
Behdad Esfahbod 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.
Khaled Hosny c08e5d09 2023-01-21T03:40:09 [hb-draw] Fix MSVC warning warning C4305: 'initializing': truncation from 'double' to 'float'
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
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.
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.
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 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.
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 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 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
Behdad Esfahbod 6ccbfabd 2022-12-24T10:44:25 [paint] Return bool from paint_image() Fixes https://github.com/harfbuzz/harfbuzz/issues/3974
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 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 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.