gtk/testsuite/gsk/compare/glyph-hinting-position-nogl-nocairo.node
Matthias Clasen 880e3ef289 Add tests for glyph positioning
These tests check that we round glyph positions to integral device
pixel coordinates when hinting is enabled, and to device subpixel
positions if it isn't.
2024-03-03 14:28:19 -05:00

21 lines
921 B
Plaintext

color {
color: #808080;
bounds: 0 -30 40 40;
}
text {
font: "boxes 32px" url("data:font/ttf;base64,\
AAEAAAAIAIAAAwAAY21hcABUAL8AAAEcAAAAPGdseWavMnMAAAABZAAAAKhoZWFkJwCrnwAAAIwA\
AAA2aGhlYQwiACUAAADEAAAAJGhtdHgQIAAAAAABCAAAABJsb2NhAFgAjAAAAVgAAAAMbWF4cAAI\
AAkAAADoAAAAIG5hbWV4eNV2AAACDAAAABcAAQAAAAEZmo4ZWh5fDzz1AAIIAAAAAADhwj0AAAAA\
AOIJCg8AAAAABCAGAAAAAAEAAgAAAAAAAAABAAAIAPwAAAAEIAAAAAAEIAABAAAAAAAAAAAAAAAA\
AAAABAABAAAABQAIAAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAEIAAABAAAAAAAAAAA\
AAABAAAAAwAAAAwABAAwAAAACAAIAAIAAAAgAEMAVP//AAAAIABBAFT////g/8D/sAABAAAAAAAA\
AAAAAAAMABgALABAAFQAAQAAAAAEAAQEAAMAADEhESEEAPwABAQAAQAAAAAEAAYAAAMAADEhESEE\
APwABgAAAgAAAAAEIAQgAAMABwAAMSERIRMRIREEIPvggAMABCD8YAMA/QAAAAIAAAAABAAEAAAD\
AAcAADEhESETESERBAD8AIADAAQA/IADAP0AAAACAAAAAAQABAAAAwAHAAAxIREhExEhEQQA/ACA\
AwAEAPyAAwD9AAAAAAABABIAAQAAAAAAAQAFAABib3hlcwA=\
");
glyphs: 4 16 0 0.4, 4 16 0 0.6;
hint-style: slight;
}