38be0d1383
This is the beginning of revision history for this module. If you want to look at revision history older than this, please refer to the Qt Git wiki for how to use Git history grafting. At the time of writing, this wiki is located here: http://qt.gitorious.org/qt/pages/GitIntroductionWithQt If you have already performed the grafting and you don't see any history beyond this commit, try running "git log" with the "--follow" argument. Branched from the monolithic repo, Qt master branch, at commit 896db169ea224deb96c59ce8af800d019de63f12
27 lines
761 B
Plaintext
27 lines
761 B
Plaintext
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.
|