summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@theqtcompany.com>2016-03-31 11:23:24 +0200
committeraavit <eirik.aavitsland@theqtcompany.com>2016-03-31 10:27:39 +0000
commitea122fa9e30b78af6b7738284f33451741638444 (patch)
tree15eba6d536afe2c8310810bf1630fbaa44b31036
parent479ee4fa461e3c9bd71480d8e7a0bcabced52919 (diff)
Fixup for text labels in lancelot graphics test
Some strings were drawn with a different size or scaling than what the string itself said, causing confusion. Change-Id: I4b187cba6d467cfa0900576bdf451052baa806e6 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
-rw-r--r--tests/auto/other/lancelot/scripts/statictext.qps20
-rw-r--r--tests/auto/other/lancelot/scripts/text.qps8
2 files changed, 14 insertions, 14 deletions
diff --git a/tests/auto/other/lancelot/scripts/statictext.qps b/tests/auto/other/lancelot/scripts/statictext.qps
index c5ddda197f..6b7b97d8fa 100644
--- a/tests/auto/other/lancelot/scripts/statictext.qps
+++ b/tests/auto/other/lancelot/scripts/statictext.qps
@@ -9,7 +9,7 @@ save
setFont "sansserif" 12 normal
drawStaticText 0 40 "sansserif 12pt, normal"
- setFont "sansserif" 10 bold
+ setFont "sansserif" 12 bold
drawStaticText 0 60 "sansserif 12pt, bold"
setFont "sansserif" 10 bold italic
@@ -25,7 +25,7 @@ save
setFont "sansserif" 12 normal
drawStaticText 0 40 "alpha sansserif 12pt, normal"
- setFont "sansserif" 10 bold
+ setFont "sansserif" 12 bold
drawStaticText 0 60 "alpha sansserif 12pt, bold"
setFont "sansserif" 10 bold italic
@@ -43,7 +43,7 @@ save
setFont "sansserif" 12 normal
drawStaticText 0 40 "scaled sansserif 12pt, normal"
- setFont "sansserif" 10 bold
+ setFont "sansserif" 12 bold
drawStaticText 0 60 "scaled sansserif 12pt, bold"
setFont "sansserif" 10 bold italic
@@ -61,7 +61,7 @@ save
setFont "sansserif" 12 normal
drawStaticText 0 40 "flipped sansserif 12pt, normal"
- setFont "sansserif" 10 bold
+ setFont "sansserif" 12 bold
drawStaticText 0 60 "flipped sansserif 12pt, bold"
setFont "sansserif" 10 bold italic
@@ -75,16 +75,16 @@ save
rotate 185
setFont "sansserif" 10 normal
- drawStaticText 0 20 "scaled sansserif 10pt, normal"
+ drawStaticText 0 20 "rotated sansserif 10pt, normal"
setFont "sansserif" 12 normal
- drawStaticText 0 40 "scaled sansserif 12pt, normal"
+ drawStaticText 0 40 "rotated sansserif 12pt, normal"
- setFont "sansserif" 10 bold
- drawStaticText 0 60 "scaled sansserif 12pt, bold"
+ setFont "sansserif" 12 bold
+ drawStaticText 0 60 "rotated sansserif 12pt, bold"
setFont "sansserif" 10 bold italic
- drawStaticText 0 80 "scaled sansserif 10pt, bold italic"
+ drawStaticText 0 80 "rotated sansserif 10pt, bold italic"
restore
translate 0 100
@@ -100,7 +100,7 @@ save
setFont "sansserif" 12 normal
drawStaticText 0 20 "gradient sansserif 12pt, normal"
- setFont "sansserif" 10 bold
+ setFont "sansserif" 12 bold
drawStaticText 0 40 "gradient sansserif 12pt, bold"
setFont "sansserif" 10 bold italic
diff --git a/tests/auto/other/lancelot/scripts/text.qps b/tests/auto/other/lancelot/scripts/text.qps
index 169549a5bd..1b4fe4f064 100644
--- a/tests/auto/other/lancelot/scripts/text.qps
+++ b/tests/auto/other/lancelot/scripts/text.qps
@@ -77,16 +77,16 @@ save
rotate 185
setFont "sansserif" 10 normal
- drawText 0 20 "scaled sansserif 10pt, normal"
+ drawText 0 20 "rotated sansserif 10pt, normal"
setFont "sansserif" 12 normal
- drawText 0 40 "scaled sansserif 12pt, normal"
+ drawText 0 40 "rotated sansserif 12pt, normal"
setFont "sansserif" 12 bold
- drawText 0 60 "scaled sansserif 12pt, bold"
+ drawText 0 60 "rotated sansserif 12pt, bold"
setFont "sansserif" 10 bold italic
- drawText 0 80 "scaled sansserif 10pt, bold italic"
+ drawText 0 80 "rotated sansserif 10pt, bold italic"
restore
translate 0 100