gtk/testsuite/gsk/compare/glyph-scaling.node
Matthias Clasen f3f90e1d71 Add a glyph scaling test
The glyph in this test has extents that will be made smaller
by hinting, which poses some challenge for our renderers.

The scaled glyph rendering is too big for the 'small texture'
text setup, so we allow the test to fail there.
2024-03-02 18:39:14 -05:00

21 lines
721 B
Plaintext

color {
bounds: -1 -1 258 514;
color: rgb(255,255,255);
}
transform {
transform: scale(256);
child: text {
font: "boxes 1.5" url("data:font/ttf;base64,AAEAAAAIAIAAAwAAY21hcAAJACgAAAEMAAAAJGdseWYRJj0oAAABNAAAABhoZWFkJtzvGAAAAIwA\
AAA2aGhlYQwCAAIAAADEAAAAJGhtdHgEAAAAAAABCAAAAARsb2NhAAAADAAAATAAAAAEbWF4cAAD\
AAUAAADoAAAAIG5hbWV4eNV2AAABTAAAABcAAQAAAAEZmuRJQz5fDzz1AAIIAAAAAADhwj0AAAAA\
AOIFT4QAAAAABAAEBAAAAAEAAgAAAAAAAAABAAAIAPwAAAAEAAAAAAAEAAABAAAAAAAAAAAAAAAA\
AAAAAQABAAAAAQAEAAEAAAAAAAEAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAEAAAADAAAADAAEABgA\
AAACAAIAAAAA//8AAP//AAEAAAAAAAwAAQAAAAAEAAQEAAMAADEhESEEAPwABAQAAAABABIAAQAA\
AAAAAQAFAABib3hlcwA=\
");
glyphs: 0 0;
offset: 0 2;
hint-style: slight;
}
}