gtk/testsuite/gsk
Matthias Clasen f5159e1ecb gsk: Make glyph parsing more flexible
It is a bit annoying that one has to specify the glyph width
when specifying glyphs numerically for a text node, since this
information really is part of the font.

Make the parser more flexible, and allow to specify just the glyph
ids, without an explicit width. In this case, the width will be
determined from the font.

With this, glyphs can now be specified in any of the follwing
ways:

glyphs: "ABC";              (ASCII)
glyphs: 23, 45, 1001;       (Glyph IDs)
glyphs: 23 10, 100 11.1;    (Glyph IDs and advance widths)
glyphs: 23 10 1 2 color;    (with offsets and flags)

Tests have been updated to cover these variants.
2024-03-01 11:22:28 -05:00
..
compare Make one of the tests more robust 2024-02-25 20:03:35 -05:00
fonts tests: Fix up test font naming 2024-01-15 18:25:15 -05:00
nodeparser gsk: Make glyph parsing more flexible 2024-03-01 11:22:28 -05:00
offload offload: Find and use source rectangle 2024-02-11 21:44:47 -05:00
boundingbox.c gsk: Add tests for GskBoundingBox 2023-08-06 17:16:46 -04:00
compare-render.c testsuite: Print random clip rect 2024-02-14 20:12:05 +01:00
curve-special-cases.c Make curve tests pass 2023-08-26 11:22:58 -04:00
curve.c Make curve tests more robust 2023-08-25 20:23:08 -04:00
diff.c gsk: Improve test coverage 2022-07-15 16:41:05 -04:00
gskrendernodeattach.c testsuite: Don't leak so much 2023-11-21 23:21:55 -05:00
gskrendernodeattach.h testsuite: Add offload tests 2023-11-13 18:41:53 -06:00
gtkrendernodeattach.h Rework diffing one more time 2024-02-11 20:48:59 -05:00
half-float.c testsuite: Replace g_random_*() with g_test_rand_*() 2024-01-03 16:05:25 +01:00
meson.build testsuite: Add a forgotten test 2024-03-01 09:23:41 -05:00
misc.c testsuite: Don't #include <gsk/gl/gskglrenderer.h> 2024-01-07 14:47:22 +01:00
node-parser.c testsuite: Remove duplicate newline 2024-01-22 07:47:10 +01:00
normalize.c testsuite: Don't use g_test_init 2024-02-14 10:37:56 -05:00
offload.c offload: Find and use source rectangle 2024-02-11 21:44:47 -05:00
path-private.c Update private path tests 2023-09-15 16:46:23 -04:00
path-special-cases.c path: Tweak printing a bit more 2023-09-17 22:35:33 -04:00
path-utils.c tests: Split off some path utilities 2023-09-23 15:28:35 -04:00
path-utils.h tests: Split off some path utilities 2023-09-23 15:28:35 -04:00
path.c testsuite: Replace g_random_*() with g_test_rand_*() 2024-01-03 16:05:25 +01:00
render-nodes-cairo.test.in a11y: Consolidate accessibility environment variables 2020-11-09 16:21:49 +00:00
render-nodes-vulkan.test.in a11y: Consolidate accessibility environment variables 2020-11-09 16:21:49 +00:00
replay-node.c Fix some static analysis warnings 2023-11-24 10:35:57 -05:00
rounded-rect.c testsuite: Drop duplicated rounded-rect tests 2024-02-14 14:12:43 -05:00
scaling.c testsuite: Don't #include <gsk/gl/gskglrenderer.h> 2024-01-07 14:47:22 +01:00
shader.c testsuite: fix another surface unref warning 2023-05-11 06:40:57 -04:00
transform.c gsk: Make matrix transforms roundtrip better 2024-02-11 19:39:19 -05:00