Debian Codegraph @

tests/auto/other/lancelot/scripts/hinting.qps

raw
1 translate 10 50
2 setFont "sansserif" 10
3 drawText 0 0 "Default hinting:"
4 setFont "times" 12 normal normal default
5 drawText 0 20 "The quick brown fox jumps over the lazy dog"
6
7 translate 0 50
8 setFont "sansserif" 10
9 drawText 0 0 "No hinting:"
10 setFont "times" 12 normal normal none
11 drawText 0 20 "The quick brown fox jumps over the lazy dog"
12
13 translate 0 50
14 setFont "sansserif" 10
15 drawText 0 0 "Vertical hinting:"
16 setFont "times" 12 normal normal vertical
17 drawText 0 20 "The quick brown fox jumps over the lazy dog"
18
19 translate 0 50
20 setFont "sansserif" 10
21 drawText 0 0 "Full hinting:"
22 setFont "times" 12 normal normal full
23 drawText 0 20 "The quick brown fox jumps over the lazy dog"
24
25
26 # Note: there is also the textlayout_draw command which might be interesting here.