gtk/testsuite/gsk/nodeparser
Matthias Clasen b018da2acd gsk: Accept font options in node files
The goal is to fix all the context that influences the rendering
of text nodes in the node file. This will help with better font
testing.

The newly accepted properties are

hint-style: none/slight/full
antialias: none/gray

We are omitting font options and values that aren't supported
in GSK or have no influence on the rendering.

Note that these settings will get incorporated in the PangoFont
that gets set on the resulting text node.

Parser tests included.
2024-03-02 18:39:14 -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
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
crash2.ref.node nodeparser: Change the serialization 2021-04-02 20:38:32 -04:00
crash3.node
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
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 Update nodeparser tests 2024-02-27 23:46:33 -05: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 Update nodeparser tests 2024-02-27 23:46:33 -05:00
testswitch.ref.node Update nodeparser tests 2024-02-27 23:46:33 -05:00
text-color.node Update nodeparser tests 2024-02-27 23:46:33 -05: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 Update nodeparser tests 2024-02-27 23:46:33 -05:00
text-font-blob.ref.node Update nodeparser tests 2024-02-27 23:46:33 -05:00
text-font-errors.errors Update nodeparser tests 2024-02-27 23:46:33 -05:00
text-font-errors.node Update nodeparser tests 2024-02-27 23:46:33 -05:00
text-font-errors.ref.node Update nodeparser tests 2024-02-27 23:46:33 -05:00
text-font-options-error.errors gsk: Accept font options in node files 2024-03-02 18:39:14 -05:00
text-font-options-error.node gsk: Accept font options in node files 2024-03-02 18:39:14 -05:00
text-font-options-error.ref.node gsk: Accept font options in node files 2024-03-02 18:39:14 -05:00
text-font-options.node gsk: Accept font options in node files 2024-03-02 18:39:14 -05:00
text-font-options.ref.node gsk: Accept font options in node files 2024-03-02 18:39:14 -05:00
text-no-color.node Update nodeparser tests 2024-02-27 23:46:33 -05:00
text.node gsk: Make glyph parsing more flexible 2024-03-01 11:22:28 -05:00
text.ref.node gsk: Accept font options in node files 2024-03-02 18:39:14 -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