File: hinting.qps

package info (click to toggle)
qtbase-opensource-src 5.7.1%2Bdfsg-3%2Bdeb9u2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 283,652 kB
  • sloc: cpp: 1,754,662; ansic: 433,142; xml: 100,291; python: 9,650; sh: 7,671; java: 6,543; asm: 4,283; perl: 2,217; yacc: 1,733; lex: 1,194; makefile: 333; objc: 70
file content (26 lines) | stat: -rw-r--r-- 761 bytes parent folder | download | duplicates (19)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
translate 10 50
setFont "sansserif" 10
drawText 0 0 "Default hinting:"
setFont "times" 12 normal normal default
drawText 0 20 "The quick brown fox jumps over the lazy dog"

translate 0 50
setFont "sansserif" 10
drawText 0 0 "No hinting:"
setFont "times" 12 normal normal none
drawText 0 20 "The quick brown fox jumps over the lazy dog"

translate 0 50
setFont "sansserif" 10
drawText 0 0 "Vertical hinting:"
setFont "times" 12 normal normal vertical
drawText 0 20 "The quick brown fox jumps over the lazy dog"

translate 0 50
setFont "sansserif" 10
drawText 0 0 "Full hinting:"
setFont "times" 12 normal normal full
drawText 0 20 "The quick brown fox jumps over the lazy dog"


# Note: there is also the textlayout_draw command which might be interesting here.