summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/visual/qmlgraphicstext
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/visual/qmlgraphicstext')
-rw-r--r--tests/auto/declarative/visual/qmlgraphicstext/elide/data-X11/elide.0.pngbin0 -> 1002 bytes
-rw-r--r--tests/auto/declarative/visual/qmlgraphicstext/elide/data-X11/elide.qml279
-rw-r--r--tests/auto/declarative/visual/qmlgraphicstext/elide/data-X11/multilength.0.pngbin0 -> 596 bytes
-rw-r--r--tests/auto/declarative/visual/qmlgraphicstext/elide/data-X11/multilength.qml303
-rw-r--r--tests/auto/declarative/visual/qmlgraphicstext/elide/data/elide.0.pngbin0 -> 1604 bytes
-rw-r--r--tests/auto/declarative/visual/qmlgraphicstext/elide/data/elide.qml279
-rw-r--r--tests/auto/declarative/visual/qmlgraphicstext/elide/elide.qml31
-rw-r--r--tests/auto/declarative/visual/qmlgraphicstext/elide/multilength.qml19
-rw-r--r--tests/auto/declarative/visual/qmlgraphicstext/font/data-MAC/plaintext.0.pngbin0 -> 103018 bytes
-rw-r--r--tests/auto/declarative/visual/qmlgraphicstext/font/data-MAC/plaintext.qml351
-rw-r--r--tests/auto/declarative/visual/qmlgraphicstext/font/data-MAC/richtext.0.pngbin0 -> 136492 bytes
-rw-r--r--tests/auto/declarative/visual/qmlgraphicstext/font/data-MAC/richtext.qml359
-rw-r--r--tests/auto/declarative/visual/qmlgraphicstext/font/data/plaintext.0.pngbin0 -> 94120 bytes
-rw-r--r--tests/auto/declarative/visual/qmlgraphicstext/font/data/plaintext.qml351
-rw-r--r--tests/auto/declarative/visual/qmlgraphicstext/font/data/richtext.0.pngbin0 -> 121122 bytes
-rw-r--r--tests/auto/declarative/visual/qmlgraphicstext/font/data/richtext.qml359
-rw-r--r--tests/auto/declarative/visual/qmlgraphicstext/font/plaintext.qml85
-rw-r--r--tests/auto/declarative/visual/qmlgraphicstext/font/richtext.qml85
18 files changed, 2501 insertions, 0 deletions
diff --git a/tests/auto/declarative/visual/qmlgraphicstext/elide/data-X11/elide.0.png b/tests/auto/declarative/visual/qmlgraphicstext/elide/data-X11/elide.0.png
new file mode 100644
index 0000000..5631a46
--- /dev/null
+++ b/tests/auto/declarative/visual/qmlgraphicstext/elide/data-X11/elide.0.png
Binary files differ
diff --git a/tests/auto/declarative/visual/qmlgraphicstext/elide/data-X11/elide.qml b/tests/auto/declarative/visual/qmlgraphicstext/elide/data-X11/elide.qml
new file mode 100644
index 0000000..cfd832e
--- /dev/null
+++ b/tests/auto/declarative/visual/qmlgraphicstext/elide/data-X11/elide.qml
@@ -0,0 +1,279 @@
+import Qt.VisualTest 4.6
+
+VisualTest {
+ Frame {
+ msec: 0
+ }
+ Frame {
+ msec: 16
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 32
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 48
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 64
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 80
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 96
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 112
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 128
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 144
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 160
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 176
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 192
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 208
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 224
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 240
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 256
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 272
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 288
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 304
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 320
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 336
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 352
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 368
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 384
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 400
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 416
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 432
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 448
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 464
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 480
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 496
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 512
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 528
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 544
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 560
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 576
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 592
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 608
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 624
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 640
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 656
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 672
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 688
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 704
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 720
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 736
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 752
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 768
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 784
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 800
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 816
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 832
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 848
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 864
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 880
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 896
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 912
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 928
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 944
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 960
+ image: "elide.0.png"
+ }
+ Frame {
+ msec: 976
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Key {
+ type: 6
+ key: 16777249
+ modifiers: 67108864
+ text: ""
+ autorep: false
+ count: 1
+ }
+ Frame {
+ msec: 992
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 1008
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 1024
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 1040
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+ Frame {
+ msec: 1056
+ hash: "48e2da07fd229d9db6afc0eda494cd11"
+ }
+}
diff --git a/tests/auto/declarative/visual/qmlgraphicstext/elide/data-X11/multilength.0.png b/tests/auto/declarative/visual/qmlgraphicstext/elide/data-X11/multilength.0.png
new file mode 100644
index 0000000..6e2b625
--- /dev/null
+++ b/tests/auto/declarative/visual/qmlgraphicstext/elide/data-X11/multilength.0.png
Binary files differ
diff --git a/tests/auto/declarative/visual/qmlgraphicstext/elide/data-X11/multilength.qml b/tests/auto/declarative/visual/qmlgraphicstext/elide/data-X11/multilength.qml
new file mode 100644
index 0000000..0c06196
--- /dev/null
+++ b/tests/auto/declarative/visual/qmlgraphicstext/elide/data-X11/multilength.qml
@@ -0,0 +1,303 @@
+import Qt.VisualTest 4.6
+
+VisualTest {
+ Frame {
+ msec: 0
+ }
+ Frame {
+ msec: 16
+ hash: "873e914454b7a040b05649ebd1a2f8c5"
+ }
+ Frame {
+ msec: 32
+ hash: "7682a4f1e361ca252da9713734a598e8"
+ }
+ Frame {
+ msec: 48
+ hash: "fa8884b550c8df872f96b61557163bcf"
+ }
+ Frame {
+ msec: 64
+ hash: "b84ecf9e38f126c3e32defee831d9462"
+ }
+ Frame {
+ msec: 80
+ hash: "21cc08f22d1f1fcb38b27a3a4259debe"
+ }
+ Frame {
+ msec: 96
+ hash: "93bdfeab813e25e85917f49c0d5f1314"
+ }
+ Frame {
+ msec: 112
+ hash: "5f03c252602e60fe19879945fa77c203"
+ }
+ Frame {
+ msec: 128
+ hash: "f0b2079f6c512bf80989ebfdbec4cfd8"
+ }
+ Frame {
+ msec: 144
+ hash: "9e7bb12d5b7605fc1d78ed9b2a549527"
+ }
+ Frame {
+ msec: 160
+ hash: "242bbbe6da87708c92fd47607ecb789d"
+ }
+ Frame {
+ msec: 176
+ hash: "f1db5c3a230b4d3e2e1dfefe6bf032a1"
+ }
+ Frame {
+ msec: 192
+ hash: "a416e820efd8e173cc52372218513e33"
+ }
+ Frame {
+ msec: 208
+ hash: "df711ab70c6087f8138fded16167f069"
+ }
+ Frame {
+ msec: 224
+ hash: "fb28eb2eeccfab28299640ef996c1115"
+ }
+ Frame {
+ msec: 240
+ hash: "c72c6d79a50dd7147f6b33784880eb36"
+ }
+ Frame {
+ msec: 256
+ hash: "4421027e65e95f98499ca53c57220ede"
+ }
+ Frame {
+ msec: 272
+ hash: "b7fbfb90d8cc167809e8e846d9021b4b"
+ }
+ Frame {
+ msec: 288
+ hash: "004614b1bf18e9aa78e78509c4f289aa"
+ }
+ Frame {
+ msec: 304
+ hash: "1792bbd8b69bae1d92fed2a6bcfe0187"
+ }
+ Frame {
+ msec: 320
+ hash: "957a8b95d6e85885d854b8eb1db10b04"
+ }
+ Frame {
+ msec: 336
+ hash: "d00c3e4d6d8e8d04b949840c28d73a33"
+ }
+ Frame {
+ msec: 352
+ hash: "2b79feaa62d773d92d8a684685b2004c"
+ }
+ Frame {
+ msec: 368
+ hash: "ef2f11b187028de0c56b23db3168fbc8"
+ }
+ Frame {
+ msec: 384
+ hash: "3a489a96aaeca80355313198b935691d"
+ }
+ Frame {
+ msec: 400
+ hash: "389f1798f900795a8686c38ace755974"
+ }
+ Frame {
+ msec: 416
+ hash: "34fc20be52fe3843420819b9adb90b22"
+ }
+ Frame {
+ msec: 432
+ hash: "fa715c5b6640eafe204bf3b8095c74b9"
+ }
+ Frame {
+ msec: 448
+ hash: "8e8315edcf23167ac58228b8c28b43e6"
+ }
+ Frame {
+ msec: 464
+ hash: "c18e82038f57dd869112cb1be14e4cfe"
+ }
+ Frame {
+ msec: 480
+ hash: "3f07e95b09e39f2e5d93216850f4a4d9"
+ }
+ Frame {
+ msec: 496
+ hash: "20f0e6eaeac04d6f93565adfab485218"
+ }
+ Frame {
+ msec: 512
+ hash: "e3f66d1dfe88dd868a54a8493828ef5f"
+ }
+ Frame {
+ msec: 528
+ hash: "d39d34f63e1b29c187249cb388552b38"
+ }
+ Frame {
+ msec: 544
+ hash: "5d2e8df5003732f3b53fff4aaddea06c"
+ }
+ Frame {
+ msec: 560
+ hash: "35c3aa2dae481a8f817d849b3f3151f2"
+ }
+ Frame {
+ msec: 576
+ hash: "966b78018879224948b4d85fe73d7985"
+ }
+ Frame {
+ msec: 592
+ hash: "0db067bf9debc3f36dd539cf83652fb8"
+ }
+ Frame {
+ msec: 608
+ hash: "ea1c3249ffd2439533907ceaeaafbc56"
+ }
+ Frame {
+ msec: 624
+ hash: "da85c0e14b95ca9a729984b67ebd52ad"
+ }
+ Frame {
+ msec: 640
+ hash: "5c26ae844ac52dbe131fed0638787aac"
+ }
+ Frame {
+ msec: 656
+ hash: "4b09c23ad624db80afcb2a6c1d5ddb96"
+ }
+ Frame {
+ msec: 672
+ hash: "9995deb3d22b418a19093b4b988b3fcc"
+ }
+ Frame {
+ msec: 688
+ hash: "77e53358f2d4392d0ba988187e7e272c"
+ }
+ Frame {
+ msec: 704
+ hash: "3fbbb73e790cf4a0583531fe1580f761"
+ }
+ Frame {
+ msec: 720
+ hash: "9d562e141095a258ee61463e644d9889"
+ }
+ Frame {
+ msec: 736
+ hash: "d05633ca49f96bf327bed5c9c0f6ac98"
+ }
+ Frame {
+ msec: 752
+ hash: "34c38e40e831dbede8fa83de31ed76aa"
+ }
+ Frame {
+ msec: 768
+ hash: "288e52c8be54f4914f687cef4ce1f24a"
+ }
+ Frame {
+ msec: 784
+ hash: "0b8b744aaf67e8b17fa459bb0ffb6db5"
+ }
+ Frame {
+ msec: 800
+ hash: "273dbe3e8c21bfeafa516d07778928c8"
+ }
+ Frame {
+ msec: 816
+ hash: "ef94ee1885287c72fa78038547d98b96"
+ }
+ Frame {
+ msec: 832
+ hash: "965e6387672319ac04fdc42768e581f1"
+ }
+ Frame {
+ msec: 848
+ hash: "95553d8aaece94c7017e57b03cd46c9a"
+ }
+ Frame {
+ msec: 864
+ hash: "bdaf35b920e5b08b8639d452afd2d51e"
+ }
+ Frame {
+ msec: 880
+ hash: "0ed16f00e89327dc8679bec42179c4ce"
+ }
+ Frame {
+ msec: 896
+ hash: "8c93e0ac399e09e98e34b90654e0e42a"
+ }
+ Frame {
+ msec: 912
+ hash: "93798fbb33adb6c813018757cfa34017"
+ }
+ Frame {
+ msec: 928
+ hash: "db4d7581e9a1f082a2c29ef7482a7893"
+ }
+ Frame {
+ msec: 944
+ hash: "67e074c1e083334de84a3549f4ee9ca4"
+ }
+ Frame {
+ msec: 960
+ image: "multilength.0.png"
+ }
+ Frame {
+ msec: 976
+ hash: "b1122c815a755c9988bcf03a3f7d7d6d"
+ }
+ Frame {
+ msec: 992
+ hash: "31148bae6653bdc3f1827d06de845663"
+ }
+ Frame {
+ msec: 1008
+ hash: "812428a944086ca46e102891964dac69"
+ }
+ Frame {
+ msec: 1024
+ hash: "ee7bb66bd7e8623325200ac994f8b41a"
+ }
+ Frame {
+ msec: 1040
+ hash: "6bd21a98e5c373a2c78334a0255e7750"
+ }
+ Frame {
+ msec: 1056
+ hash: "2e8e1eea14068b0e82464ed52ec1ab7a"
+ }
+ Frame {
+ msec: 1072
+ hash: "6dca5756e20eeb778e31d7b602ce77d7"
+ }
+ Frame {
+ msec: 1088
+ hash: "3cbb6700b9e30864a2b1e3d4d71d2a78"
+ }
+ Frame {
+ msec: 1104
+ hash: "c4d0230d2c4f73191a514e5df4c0b083"
+ }
+ Frame {
+ msec: 1120
+ hash: "a33df967fe43151dfc503d2ac78f8ca8"
+ }
+ Frame {
+ msec: 1136
+ hash: "0c7ff101efe60b600cacaf8d04d79053"
+ }
+ Frame {
+ msec: 1152
+ hash: "d246cfb75d89b9666877860aaf45ba60"
+ }
+ Frame {
+ msec: 1168
+ hash: "1130998aa2618a29ec6bc4b9219eedfa"
+ }
+ Frame {
+ msec: 1184
+ hash: "741dd83003633bbf8d28c2d4ddd8a2d0"
+ }
+}
diff --git a/tests/auto/declarative/visual/qmlgraphicstext/elide/data/elide.0.png b/tests/auto/declarative/visual/qmlgraphicstext/elide/data/elide.0.png
new file mode 100644
index 0000000..1a8c89b
--- /dev/null
+++ b/tests/auto/declarative/visual/qmlgraphicstext/elide/data/elide.0.png
Binary files differ
diff --git a/tests/auto/declarative/visual/qmlgraphicstext/elide/data/elide.qml b/tests/auto/declarative/visual/qmlgraphicstext/elide/data/elide.qml
new file mode 100644
index 0000000..59f17f7
--- /dev/null
+++ b/tests/auto/declarative/visual/qmlgraphicstext/elide/data/elide.qml
@@ -0,0 +1,279 @@
+import Qt.VisualTest 4.6
+
+VisualTest {
+ Frame {
+ msec: 0
+ }
+ Frame {
+ msec: 16
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 32
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 48
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 64
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 80
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 96
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 112
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 128
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 144
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 160
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 176
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 192
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 208
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 224
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 240
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 256
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 272
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 288
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 304
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 320
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 336
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 352
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 368
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 384
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 400
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 416
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 432
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 448
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 464
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 480
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 496
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 512
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 528
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 544
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 560
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 576
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 592
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 608
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 624
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 640
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 656
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 672
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 688
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 704
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 720
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 736
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 752
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 768
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 784
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 800
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 816
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 832
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 848
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 864
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 880
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 896
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 912
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 928
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 944
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 960
+ image: "elide.0.png"
+ }
+ Frame {
+ msec: 976
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Key {
+ type: 6
+ key: 16777249
+ modifiers: 67108864
+ text: ""
+ autorep: false
+ count: 1
+ }
+ Frame {
+ msec: 992
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 1008
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 1024
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 1040
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+ Frame {
+ msec: 1056
+ hash: "c80d2bcd4be99c73e6c628870206ce8c"
+ }
+}
diff --git a/tests/auto/declarative/visual/qmlgraphicstext/elide/elide.qml b/tests/auto/declarative/visual/qmlgraphicstext/elide/elide.qml
new file mode 100644
index 0000000..3c9ea5b
--- /dev/null
+++ b/tests/auto/declarative/visual/qmlgraphicstext/elide/elide.qml
@@ -0,0 +1,31 @@
+import Qt 4.6
+
+Rectangle {
+ width: childrenRect.width
+ height: childrenRect.height
+ Column {
+ width: 80
+ height: MyText.height*4
+ Text {
+ elide: "ElideLeft"
+ text: "aaa bbb ccc ddd eee fff"
+ width: 80
+ id: MyText
+ }
+ Text {
+ elide: "ElideMiddle"
+ text: "aaa bbb ccc ddd eee fff"
+ width: 80
+ }
+ Text {
+ elide: "ElideRight"
+ text: "aaa bbb ccc ddd eee fff"
+ width: 80
+ }
+ Text {
+ elide: "ElideNone"
+ text: "aaa bbb ccc ddd eee fff"
+ width: 80
+ }
+ }
+}
diff --git a/tests/auto/declarative/visual/qmlgraphicstext/elide/multilength.qml b/tests/auto/declarative/visual/qmlgraphicstext/elide/multilength.qml
new file mode 100644
index 0000000..fa74cc4
--- /dev/null
+++ b/tests/auto/declarative/visual/qmlgraphicstext/elide/multilength.qml
@@ -0,0 +1,19 @@
+import Qt 4.6
+
+Rectangle {
+ width: 500
+ height: 50
+ color: "lightBlue"
+ Rectangle {
+ width: MyText.width
+ height: MyText.height
+ color: "white"
+ anchors.centerIn: parent
+ Text {
+ id: MyText
+ width: NumberAnimation { from: 500; to: 0; running: true; repeat: true; duration: 1000 }
+ elide: "ElideRight"
+ text: "Brevity is the soul of wit, and tediousness the limbs and outward flourishes.\x9CBrevity is a great charm of eloquence.\x9CBe concise!\x9CSHHHHHHHHHHHHHHHHHHHHHHHHHHHH"
+ }
+ }
+}
diff --git a/tests/auto/declarative/visual/qmlgraphicstext/font/data-MAC/plaintext.0.png b/tests/auto/declarative/visual/qmlgraphicstext/font/data-MAC/plaintext.0.png
new file mode 100644
index 0000000..05a6e51
--- /dev/null
+++ b/tests/auto/declarative/visual/qmlgraphicstext/font/data-MAC/plaintext.0.png
Binary files differ
diff --git a/tests/auto/declarative/visual/qmlgraphicstext/font/data-MAC/plaintext.qml b/tests/auto/declarative/visual/qmlgraphicstext/font/data-MAC/plaintext.qml
new file mode 100644
index 0000000..7e591c8
--- /dev/null
+++ b/tests/auto/declarative/visual/qmlgraphicstext/font/data-MAC/plaintext.qml
@@ -0,0 +1,351 @@
+import Qt.VisualTest 4.6
+
+VisualTest {
+ Frame {
+ msec: 0
+ }
+ Frame {
+ msec: 16
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 32
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 48
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 64
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 80
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 96
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 112
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 128
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 144
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 160
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 176
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 192
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 208
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 224
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 240
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 256
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 272
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 288
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 304
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 320
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 336
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 352
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 368
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 384
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 400
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 416
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 432
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 448
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 464
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 480
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 496
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 512
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 528
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 544
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 560
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 576
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 592
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 608
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 624
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 640
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 656
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 672
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 688
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 704
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 720
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 736
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 752
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 768
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 784
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 800
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 816
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 832
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 848
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 864
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 880
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 896
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 912
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 928
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 944
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 960
+ image: "plaintext.0.png"
+ }
+ Frame {
+ msec: 976
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 992
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 1008
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 1024
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 1040
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 1056
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 1072
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 1088
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 1104
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 1120
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 1136
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 1152
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 1168
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 1184
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Key {
+ type: 6
+ key: 16777249
+ modifiers: 67108864
+ text: ""
+ autorep: false
+ count: 1
+ }
+ Frame {
+ msec: 1200
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 1216
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 1232
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 1248
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 1264
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 1280
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 1296
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 1312
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 1328
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+ Frame {
+ msec: 1344
+ hash: "d6479cc04d67055c2fd8f4ed2fca829b"
+ }
+}
diff --git a/tests/auto/declarative/visual/qmlgraphicstext/font/data-MAC/richtext.0.png b/tests/auto/declarative/visual/qmlgraphicstext/font/data-MAC/richtext.0.png
new file mode 100644
index 0000000..6379942
--- /dev/null
+++ b/tests/auto/declarative/visual/qmlgraphicstext/font/data-MAC/richtext.0.png
Binary files differ
diff --git a/tests/auto/declarative/visual/qmlgraphicstext/font/data-MAC/richtext.qml b/tests/auto/declarative/visual/qmlgraphicstext/font/data-MAC/richtext.qml
new file mode 100644
index 0000000..4414c1c
--- /dev/null
+++ b/tests/auto/declarative/visual/qmlgraphicstext/font/data-MAC/richtext.qml
@@ -0,0 +1,359 @@
+import Qt.VisualTest 4.6
+
+VisualTest {
+ Frame {
+ msec: 0
+ }
+ Frame {
+ msec: 16
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 32
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 48
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 64
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 80
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 96
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 112
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 128
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 144
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 160
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 176
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 192
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 208
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 224
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 240
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 256
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 272
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 288
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 304
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 320
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 336
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 352
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 368
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 384
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 400
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 416
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 432
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 448
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 464
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 480
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 496
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 512
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 528
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 544
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 560
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 576
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 592
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 608
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 624
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 640
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 656
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 672
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 688
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 704
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 720
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 736
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 752
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 768
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 784
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 800
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 816
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 832
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 848
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 864
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 880
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 896
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 912
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 928
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 944
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 960
+ image: "richtext.0.png"
+ }
+ Frame {
+ msec: 976
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 992
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1008
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1024
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1040
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1056
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1072
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1088
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1104
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1120
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1136
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1152
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Key {
+ type: 6
+ key: 16777249
+ modifiers: 67108864
+ text: ""
+ autorep: false
+ count: 1
+ }
+ Frame {
+ msec: 1168
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1184
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1200
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1216
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1232
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1248
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1264
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1280
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1296
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1312
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1328
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1344
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1360
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+ Frame {
+ msec: 1376
+ hash: "b902ff73e7c943bb09b5d2ae6c7a760e"
+ }
+}
diff --git a/tests/auto/declarative/visual/qmlgraphicstext/font/data/plaintext.0.png b/tests/auto/declarative/visual/qmlgraphicstext/font/data/plaintext.0.png
new file mode 100644
index 0000000..50d56dc
--- /dev/null
+++ b/tests/auto/declarative/visual/qmlgraphicstext/font/data/plaintext.0.png
Binary files differ
diff --git a/tests/auto/declarative/visual/qmlgraphicstext/font/data/plaintext.qml b/tests/auto/declarative/visual/qmlgraphicstext/font/data/plaintext.qml
new file mode 100644
index 0000000..f4cbcbd
--- /dev/null
+++ b/tests/auto/declarative/visual/qmlgraphicstext/font/data/plaintext.qml
@@ -0,0 +1,351 @@
+import Qt.VisualTest 4.6
+
+VisualTest {
+ Frame {
+ msec: 0
+ }
+ Frame {
+ msec: 16
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 32
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 48
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 64
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 80
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 96
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 112
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 128
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 144
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 160
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 176
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 192
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 208
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 224
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 240
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 256
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 272
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 288
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 304
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 320
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 336
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 352
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 368
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 384
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 400
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 416
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 432
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 448
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 464
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 480
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 496
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 512
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 528
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 544
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 560
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 576
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 592
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 608
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 624
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 640
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 656
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 672
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 688
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 704
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 720
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 736
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 752
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 768
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 784
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 800
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 816
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 832
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 848
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 864
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 880
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 896
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 912
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 928
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 944
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 960
+ image: "plaintext.0.png"
+ }
+ Frame {
+ msec: 976
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 992
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 1008
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 1024
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 1040
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 1056
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 1072
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 1088
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 1104
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 1120
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 1136
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 1152
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 1168
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 1184
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Key {
+ type: 6
+ key: 16777249
+ modifiers: 67108864
+ text: ""
+ autorep: false
+ count: 1
+ }
+ Frame {
+ msec: 1200
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 1216
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 1232
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 1248
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 1264
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 1280
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 1296
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 1312
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 1328
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+ Frame {
+ msec: 1344
+ hash: "d553014bc56a46787e30459b0f44f57a"
+ }
+}
diff --git a/tests/auto/declarative/visual/qmlgraphicstext/font/data/richtext.0.png b/tests/auto/declarative/visual/qmlgraphicstext/font/data/richtext.0.png
new file mode 100644
index 0000000..2910670
--- /dev/null
+++ b/tests/auto/declarative/visual/qmlgraphicstext/font/data/richtext.0.png
Binary files differ
diff --git a/tests/auto/declarative/visual/qmlgraphicstext/font/data/richtext.qml b/tests/auto/declarative/visual/qmlgraphicstext/font/data/richtext.qml
new file mode 100644
index 0000000..9f396c2
--- /dev/null
+++ b/tests/auto/declarative/visual/qmlgraphicstext/font/data/richtext.qml
@@ -0,0 +1,359 @@
+import Qt.VisualTest 4.6
+
+VisualTest {
+ Frame {
+ msec: 0
+ }
+ Frame {
+ msec: 16
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 32
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 48
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 64
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 80
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 96
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 112
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 128
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 144
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 160
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 176
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 192
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 208
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 224
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 240
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 256
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 272
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 288
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 304
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 320
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 336
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 352
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 368
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 384
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 400
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 416
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 432
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 448
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 464
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 480
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 496
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 512
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 528
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 544
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 560
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 576
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 592
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 608
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 624
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 640
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 656
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 672
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 688
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 704
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 720
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 736
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 752
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 768
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 784
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 800
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 816
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 832
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 848
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 864
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 880
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 896
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 912
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 928
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 944
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 960
+ image: "richtext.0.png"
+ }
+ Frame {
+ msec: 976
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 992
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1008
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1024
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1040
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1056
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1072
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1088
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1104
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1120
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1136
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1152
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Key {
+ type: 6
+ key: 16777249
+ modifiers: 67108864
+ text: ""
+ autorep: false
+ count: 1
+ }
+ Frame {
+ msec: 1168
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1184
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1200
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1216
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1232
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1248
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1264
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1280
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1296
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1312
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1328
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1344
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1360
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+ Frame {
+ msec: 1376
+ hash: "dfea78484b840b8cab690e277b960723"
+ }
+}
diff --git a/tests/auto/declarative/visual/qmlgraphicstext/font/plaintext.qml b/tests/auto/declarative/visual/qmlgraphicstext/font/plaintext.qml
new file mode 100644
index 0000000..a3aa929
--- /dev/null
+++ b/tests/auto/declarative/visual/qmlgraphicstext/font/plaintext.qml
@@ -0,0 +1,85 @@
+import Qt 4.6
+
+Rectangle {
+ id: s; width: 800; height: 1000; color: "lightsteelblue"
+ property string text: "The quick brown fox jumps over the lazy dog."
+
+ Column {
+ spacing: 10
+ Text {
+ text: s.text
+ }
+ Text {
+ text: s.text; font.pixelSize: 18
+ }
+ Text {
+ text: s.text; font.pointSize: 25
+ }
+ Text {
+ text: s.text; color: "red"; smooth: true
+ }
+ Text {
+ text: s.text; font.capitalization: "AllUppercase"
+ }
+ Text {
+ text: s.text; font.underline: true
+ }
+ Text {
+ text: s.text; font.overline: true; smooth: true
+ }
+ Text {
+ text: s.text; font.strikeout: true
+ }
+ Text {
+ text: s.text; font.underline: true; font.overline: true; font.strikeout: true
+ }
+ Text {
+ text: s.text; font.letterSpacing: 200
+ }
+ Text {
+ text: s.text; font.underline: true; font.letterSpacing: 200; font.capitalization: "AllUppercase"; color: "blue"
+ }
+ Text {
+ text: s.text; font.overline: true; font.wordSpacing: 25; font.capitalization: "Capitalize"; color: "green"
+ }
+ Text {
+ text: s.text; font.pixelSize: 18; style: Text.Outline; styleColor: "white"
+ }
+ Text {
+ text: s.text; font.pixelSize: 18; style: Text.Sunken; styleColor: "gray"
+ }
+ Text {
+ text: s.text; font.pixelSize: 18; style: Text.Raised; styleColor: "yellow"
+ }
+ Text {
+ text: s.text; horizontalAlignment: Text.AlignLeft; width: 800
+ }
+ Text {
+ text: s.text; horizontalAlignment: Text.AlignHCenter; verticalAlignment: Text.AlignVCenter; width: 800; height: 20
+ }
+ Text {
+ text: s.text; horizontalAlignment: Text.AlignRight; verticalAlignment: Text.AlignBottom; width: 800; height: 20
+ }
+ Text {
+ text: s.text; font.pixelSize: 18; style: Text.Outline; styleColor: "white"; wrap: true; width: 200
+ }
+ Text {
+ text: s.text; elide: Text.ElideLeft; width: 200
+ }
+ Text {
+ text: s.text; elide: Text.ElideMiddle; width: 200
+ }
+ Text {
+ text: s.text; elide: Text.ElideRight; width: 200
+ }
+ Text {
+ text: s.text; elide: Text.ElideLeft; width: 200; wrap: true
+ }
+ Text {
+ text: s.text; elide: Text.ElideMiddle; width: 200; wrap: true
+ }
+ Text {
+ text: s.text; elide: Text.ElideRight; width: 200; wrap: true
+ }
+ }
+}
diff --git a/tests/auto/declarative/visual/qmlgraphicstext/font/richtext.qml b/tests/auto/declarative/visual/qmlgraphicstext/font/richtext.qml
new file mode 100644
index 0000000..35aa232
--- /dev/null
+++ b/tests/auto/declarative/visual/qmlgraphicstext/font/richtext.qml
@@ -0,0 +1,85 @@
+import Qt 4.6
+
+Rectangle {
+ id: s; width: 800; height: 1000; color: "lightsteelblue"
+ property string text: "<b>The</b> <i>quick</i> <u>brown</u> <o>fox</o> <big>jumps</big> <small>over</small> <tt>the</tt> <s>lazy</s> <em>dog</em>."
+
+ Column {
+ spacing: 10
+ Text {
+ text: s.text
+ }
+ Text {
+ text: s.text; font.pixelSize: 18
+ }
+ Text {
+ text: s.text; font.pointSize: 25
+ }
+ Text {
+ text: s.text; color: "red"; smooth: true
+ }
+ Text {
+ text: s.text; font.capitalization: "AllUppercase"
+ }
+ Text {
+ text: s.text; font.underline: true
+ }
+ Text {
+ text: s.text; font.overline: true; smooth: true
+ }
+ Text {
+ text: s.text; font.strikeout: true
+ }
+ Text {
+ text: s.text; font.underline: true; font.overline: true; font.strikeout: true
+ }
+ Text {
+ text: s.text; font.letterSpacing: 200
+ }
+ Text {
+ text: s.text; font.underline: true; font.letterSpacing: 200; font.capitalization: "AllUppercase"; color: "blue"
+ }
+ Text {
+ text: s.text; font.overline: true; font.wordSpacing: 25; font.capitalization: "Capitalize"; color: "green"
+ }
+ Text {
+ text: s.text; font.pixelSize: 18; style: Text.Outline; styleColor: "white"
+ }
+ Text {
+ text: s.text; font.pixelSize: 18; style: Text.Sunken; styleColor: "gray"
+ }
+ Text {
+ text: s.text; font.pixelSize: 18; style: Text.Raised; styleColor: "yellow"
+ }
+ Text {
+ text: s.text; horizontalAlignment: Text.AlignLeft; width: 800
+ }
+ Text {
+ text: s.text; horizontalAlignment: Text.AlignHCenter; verticalAlignment: Text.AlignVCenter; width: 800; height: 20
+ }
+ Text {
+ text: s.text; horizontalAlignment: Text.AlignRight; verticalAlignment: Text.AlignBottom; width: 800; height: 20
+ }
+ Text {
+ text: s.text; font.pixelSize: 18; style: Text.Outline; styleColor: "white"; wrap: true; width: 200
+ }
+ Text {
+ text: s.text; elide: Text.ElideLeft; width: 200
+ }
+ Text {
+ text: s.text; elide: Text.ElideMiddle; width: 200
+ }
+ Text {
+ text: s.text; elide: Text.ElideRight; width: 200
+ }
+ Text {
+ text: s.text; elide: Text.ElideLeft; width: 200; wrap: true
+ }
+ Text {
+ text: s.text; elide: Text.ElideMiddle; width: 200; wrap: true
+ }
+ Text {
+ text: s.text; elide: Text.ElideRight; width: 200; wrap: true
+ }
+ }
+}