gtk/testsuite/gsk/compare/glyph-antialias.node
Matthias Clasen 20a4e3f351 Add glyph antialiasing test
This test checks that the antialias font option has the indended
effect.
2024-03-02 18:41:02 -05:00

22 lines
751 B
Plaintext

color {
bounds: -1 -1 3 3;
color: black;
}
text {
font: "boxes 2px" url("data:font/ttf;base64,\
AAEAAAAIAIAAAwAAY21hcABwAD0AAAEQAAAANGdseWYkSHxMAAABTAAAADBoZWFkJuArvAAAAIwA\
AAA2aGhlYQwCAAIAAADEAAAAJGhtdHgEAAAAAAABCAAAAAZsb2NhABgADAAAAUQAAAAGbWF4cAAE\
AAUAAADoAAAAIG5hbWV4eNV2AAABfAAAABcAAQAAAAEZmrz+SvhfDzz1AAIIAAAAAADhwj0AAAAA\
AOIIiiwAAAAABAAGAAAAAAEAAgAAAAAAAAABAAAIAPwAAAAEAAAAAAAEAAABAAAAAAAAAAAAAAAA\
AAAAAQABAAAAAgAEAAEAAAAAAAEAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAABAAAAAwAAAAwA\
BAAoAAAABgAEAAEAAgAgAEH//wAAACAAQf///+D/wAABAAAAAAAAAAAADAAYAAAAAQAAAAAEAAQE\
AAMAADEhESEEAPwABAQAAQAAAAAEAAYAAAMAADEhESEEAPwABgAAAAABABIAAQAAAAAAAQAFAABi\
b3hlcwA=\
");
glyphs: 1 0;
offset: 0 1;
hint-style: full;
antialias: gray;
color: #808080;
}