qt5base-lts/tests/auto/integrationtests/lancelot/scripts/hinting.qps
Jo Asplin 9f1aa866bd Moved tests into integrationtests/ and widgets/
Task-number: QTBUG-19013

Change-Id: Ibb776f5967c0645ce6d22ef7afdc40657c575461
Reviewed-by: Holger Ihrig <holger.ihrig@nokia.com>
2011-10-20 19:45:41 +02:00

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.