diff --git a/testsuite/gsk/compare/text-mixed-color-nocairo.node b/testsuite/gsk/compare/text-mixed-color-nocairo.node new file mode 100644 index 0000000000..db43dc1797 --- /dev/null +++ b/testsuite/gsk/compare/text-mixed-color-nocairo.node @@ -0,0 +1,7 @@ +transform { + transform: translate(0, 100); + child: text { + font: "text-mixed-color 20"; + glyphs: 1 20, 2 20, 3 20, 4 20 0 0 color, 5 20 0 0 color, 6 20 0 0 color; + } +} diff --git a/testsuite/gsk/compare/text-mixed-color-nocairo.png b/testsuite/gsk/compare/text-mixed-color-nocairo.png new file mode 100644 index 0000000000..adfcfdf6b1 Binary files /dev/null and b/testsuite/gsk/compare/text-mixed-color-nocairo.png differ diff --git a/testsuite/gsk/fonts/text-mixed-color.ttf b/testsuite/gsk/fonts/text-mixed-color.ttf new file mode 100644 index 0000000000..b875433905 Binary files /dev/null and b/testsuite/gsk/fonts/text-mixed-color.ttf differ diff --git a/testsuite/gsk/fonts/text-mixed-color.ttx b/testsuite/gsk/fonts/text-mixed-color.ttx new file mode 100644 index 0000000000..deaf81f104 --- /dev/null +++ b/testsuite/gsk/fonts/text-mixed-color.ttx @@ -0,0 +1,189 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text-mixed-color + + + + + + + + + + + + + + + + + + diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index 398962ca7f..a12e3a2922 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -129,6 +129,7 @@ compare_render_tests = [ 'stroke-clipped-nogl', 'stroke-opacity', 'stroke-with-3d-contents-nogl-nocairo', + 'text-mixed-color-nocairo', 'texture-coords', 'texture-scale-filters-nocairo', 'texture-scale-magnify-10000x',