gtk2/testsuite/gsk/compare/unaligned-offscreen.node
Sebastian Keller 1c733857b3 testsuite: Add unaligned-offscreen test
Tests whether text rendered to an offscreen node unaligned with the
pixel grid introduces blurriness.
2022-04-04 23:48:58 +02:00

24 lines
448 B
Plaintext

blend {
mode: normal;
top: transform {
child: blend {
top: text {
color: rgb(0, 0, 0);
font: "Cantarell Bold 11";
glyphs: "|||||||||||||||||||||||";
}
bottom: text {
color: rgb(0, 0, 0);
font: "Cantarell Bold 11";
glyphs: "===========";
offset: 0 13;
}
}
transform: translate(1.5, 15.5);
}
bottom: color {
color: red;
bounds: 0 0 100 30;
}
}