gtk/testsuite/gsk/nodeparser
Matthias Clasen 746cfe48b0 nodeparser: Fix a font handling mishap
When we don't have an embedded font file via a url, then we want
to parse fonts "as normal", i.e. allow fallback for aliases like
"Monospace 10". This was broken when the url support was added.
Make it work again.

Update affected tests. In particular, the output of the text-fail
test goes back to be the same it was before the url changes.
2024-01-26 23:54:58 -05:00
..
blend-unknown-mode.errors testsuite: Add tests for the unknown enums 2023-03-05 18:35:02 +01:00
blend-unknown-mode.node testsuite: Add tests for the unknown enums 2023-03-05 18:35:02 +01:00
blend-unknown-mode.ref.node testsuite: Add tests for the unknown enums 2023-03-05 18:35:02 +01:00
blend.node testsuite: Remove serialize-deserialize test 2019-05-21 06:43:59 +02:00
blend.ref.node nodeparser: Change the serialization 2021-04-02 20:38:32 -04:00
border.node testsuite: Remove serialize-deserialize test 2019-05-21 06:43:59 +02:00
border.ref.node testsuite: Remove serialize-deserialize test 2019-05-21 06:43:59 +02:00
color.node testsuite: Remove serialize-deserialize test 2019-05-21 06:43:59 +02:00
color.ref.node testsuite: Remove serialize-deserialize test 2019-05-21 06:43:59 +02:00
conic-gradient.node gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
conic-gradient.ref.node gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
crash1.errors rendernodeparser: Update to new rules 2019-05-21 06:43:59 +02:00
crash1.node testsuite: Add tests for the new node parsing code 2019-05-05 07:18:39 +02:00
crash1.ref.node rendernodeparser: Update to new rules 2019-05-21 06:43:59 +02:00
crash2.errors rendernodeparser: Update to new rules 2019-05-21 06:43:59 +02:00
crash2.node testsuite: Add tests for the new node parsing code 2019-05-05 07:18:39 +02:00
crash2.ref.node nodeparser: Change the serialization 2021-04-02 20:38:32 -04:00
crash3.node testsuite: Add tests for the new node parsing code 2019-05-05 07:18:39 +02:00
crash3.ref.node nodeparser: Change the serialization 2021-04-02 20:38:32 -04:00
crash4.errors testsuite: Redo node-parser 2019-05-21 06:43:59 +02:00
crash4.node testsuite: add another nodeparser crash test 2019-05-05 07:18:39 +02:00
crash4.ref.node rendernodeparser: Update to new rules 2019-05-21 06:43:59 +02:00
debug-fail.errors nodeparser: Move an error check 2023-05-16 18:53:53 +02:00
debug-fail.node gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
debug-fail.ref.node gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
debug.node nodeparser: Print debug message before child 2021-03-09 12:15:25 -05:00
empty-blend.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-blend.ref.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-blur.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-blur.ref.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-border.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-border.ref.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-cairo.node rendernodeparser: Parse Cairo nodes 2019-05-26 00:50:13 +02:00
empty-cairo.ref.node rendernodeparser: Handle empty Cairo nodes 2019-05-30 15:32:36 +02:00
empty-clip.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-clip.ref.node nodeparser: Change the serialization 2021-04-02 20:38:32 -04:00
empty-color-matrix.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-color-matrix.ref.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-color.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-color.ref.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-container.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-container.ref.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-cross-fade.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-cross-fade.ref.node nodeparser: Change the serialization 2021-04-02 20:38:32 -04:00
empty-debug.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-debug.ref.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-fill.node path: Tweak printing a bit more 2023-09-17 22:35:33 -04:00
empty-fill.ref.node path: Tweak printing a bit more 2023-09-17 22:35:33 -04:00
empty-inset-shadow.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-inset-shadow.ref.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-linear-gradient.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-linear-gradient.ref.node nodeparser: Change the serialization 2021-04-02 20:38:32 -04:00
empty-mask.node Add more mask node tests 2023-02-14 19:07:01 -05:00
empty-mask.ref.node Add more mask node tests 2023-02-14 19:07:01 -05:00
empty-opacity.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-opacity.ref.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-outset-shadow.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-outset-shadow.ref.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-repeat.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-repeat.ref.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-rounded-clip.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-rounded-clip.ref.node nodeparser: Change the serialization 2021-04-02 20:38:32 -04:00
empty-shadow.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-shadow.ref.node nodeparser: Change the serialization 2021-04-02 20:38:32 -04:00
empty-stroke.node path: Tweak printing a bit more 2023-09-17 22:35:33 -04:00
empty-stroke.ref.node path: Tweak printing a bit more 2023-09-17 22:35:33 -04:00
empty-text.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-text.ref.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-texture-scale.node testsuite: Add empty test for new node 2023-03-05 18:33:37 +01:00
empty-texture-scale.ref.node testsuite: Add empty test for new node 2023-03-05 18:33:37 +01:00
empty-texture.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-texture.ref.node rendernodeparser: Use gdk_texture_save_to_png_bytes 2021-09-17 00:25:22 +02:00
empty-transform.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
empty-transform.ref.node testsuite: Add empty node tests 2019-05-21 06:43:59 +02:00
fill2.node Adapt tests to new path builder behavior 2023-09-17 08:53:10 -04:00
fill2.ref.node Adapt tests to new path builder behavior 2023-09-17 08:53:10 -04:00
fill.node Add nodeparser tests for fill and stroke nodes 2023-08-07 13:02:57 -04:00
fill.ref.node Add nodeparser tests for fill and stroke nodes 2023-08-07 13:02:57 -04:00
glshader.errors gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
glshader.node gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
glshader.ref.node gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
gradient-fail.errors nodeparser: Move an error check 2023-05-16 18:53:53 +02:00
gradient-fail.node gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
gradient-fail.ref.node gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
mask-modes.node gsk: Add a node parser test for mask modes 2023-02-14 21:47:54 -05:00
mask-modes.ref.node gsk: Add a node parser test for mask modes 2023-02-14 21:47:54 -05:00
node-names-everywhere.errors testsuite: Add parsing tests for node and texture naming 2023-03-29 03:53:52 +02:00
node-names-everywhere.node testsuite: Add parsing tests for node and texture naming 2023-03-29 03:53:52 +02:00
node-names-everywhere.ref.node testsuite: Add parsing tests for node and texture naming 2023-03-29 03:53:52 +02:00
node-names.node testsuite: Add parsing tests for node and texture naming 2023-03-29 03:53:52 +02:00
radial-gradient.node gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
radial-gradient.ref.node gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
repeating-linear-gradient.node gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
repeating-linear-gradient.ref.node gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
repeating-radial-gradient.node gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
repeating-radial-gradient.ref.node gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
rounded-rect.node testsuite: Remove serialize-deserialize test 2019-05-21 06:43:59 +02:00
rounded-rect.ref.node testsuite: Remove serialize-deserialize test 2019-05-21 06:43:59 +02:00
shadow-fail.errors nodeparser: Fix SEGV in shadows parsing code 2024-01-03 04:11:35 +01:00
shadow-fail.node nodeparser: Fix SEGV in shadows parsing code 2024-01-03 04:11:35 +01:00
shadow-fail.ref.node nodeparser: Fix SEGV in shadows parsing code 2024-01-03 04:11:35 +01:00
shadow.node testsuite: Remove serialize-deserialize test 2019-05-21 06:43:59 +02:00
shadow.ref.node nodeparser: Change the serialization 2021-04-02 20:38:32 -04:00
string-error.errors rendernodeparser: Failing to parse a string is an error 2023-03-29 03:53:52 +02:00
string-error.node rendernodeparser: Failing to parse a string is an error 2023-03-29 03:53:52 +02:00
string-error.ref.node rendernodeparser: Failing to parse a string is an error 2023-03-29 03:53:52 +02:00
stroke2.node Add more fill and stroke node tests 2023-08-26 07:39:23 -04:00
stroke2.ref.node Add more fill and stroke node tests 2023-08-26 07:39:23 -04:00
stroke.node Add nodeparser tests for fill and stroke nodes 2023-08-07 13:02:57 -04:00
stroke.ref.node Add nodeparser tests for fill and stroke nodes 2023-08-07 13:02:57 -04:00
testswitch.node GskTransform: Ignore identity transforms 2019-06-03 17:03:02 +02:00
testswitch.ref.node nodeparser: Change the serialization 2021-04-02 20:38:32 -04:00
text-color.node testsuite: Add another test 2023-09-15 16:34:00 +02:00
text-fail.errors nodeparser: Fix a font handling mishap 2024-01-26 23:54:58 -05:00
text-fail.node gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
text-fail.ref.node nodeparser: Fix a font handling mishap 2024-01-26 23:54:58 -05:00
text-font-blob.node Add a test for new text node syntax 2024-01-15 18:58:17 -05:00
text-font-blob.ref.node gsk: Serialize custom fonts with url 2024-01-16 07:04:45 -05:00
text-font-errors.errors nodeparser: Fix a font handling mishap 2024-01-26 23:54:58 -05:00
text-font-errors.node rendernodeparser: Improve error handling for font parsing 2024-01-22 07:47:10 +01:00
text-font-errors.ref.node nodeparser: Fix a font handling mishap 2024-01-26 23:54:58 -05:00
text-no-color.node testsuite: Add another test 2023-09-15 16:34:00 +02:00
text.node gsk: Fix serialization of glyphs 2020-12-21 10:49:56 -05:00
text.ref.node gsk: Fix serialization of glyphs 2020-12-21 10:49:56 -05:00
texture-fail.errors gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
texture-fail.node gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
texture-fail.ref.node gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
texture-names.node testsuite: Add parsing tests for node and texture naming 2023-03-29 03:53:52 +02:00
texture-scale-filters.node testsuite/gsk: add explicit dimensions to <svg> elements 2023-08-28 17:14:18 -04:00
texture-scale-filters.ref.node tests: Add more tests for texture scale nodes 2023-03-14 01:14:57 -04:00
texture-scale-unknown-filter.errors testsuite: Add tests for the unknown enums 2023-03-05 18:35:02 +01:00
texture-scale-unknown-filter.node testsuite: Add tests for the unknown enums 2023-03-05 18:35:02 +01:00
texture-scale-unknown-filter.ref.node testsuite: Add tests for the unknown enums 2023-03-05 18:35:02 +01:00
transform-fail.errors gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
transform-fail.node gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
transform-fail.ref.node gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
widgetfactory.node gsk: Avoid long lines in serialized nodes 2020-10-03 13:10:55 -04:00
widgetfactory.ref.node rendernodeparser: Use gdk_texture_save_to_png_bytes 2021-09-17 00:25:22 +02:00