Debian Codegraph @

tests/manual/scenegraph_lancelot/data/text/text_fonts.qml

raw
1 import QtQuick 2.0
2
3 //test different fonts
4 Item {
5 width: 320
6 height: 480
7 Text {
8 id: text_0000
9 anchors.top: parent.top
10 anchors.left: parent.left
11 width: 150
12 text: "The quick brown fox jumps over the lazy dog. 0123456789"
13 font.weight: Font.Light
14 color: "black"
15 font.family: "Arial"
16 font.pointSize: 10
17 wrapMode: Text.Wrap
18 }
19 Text {
20 id: text_0001
21 anchors.top: text_0000.bottom
22 anchors.left: parent.left
23 width: 150
24 text: "The quick brown fox jumps over the lazy dog. 0123456789"
25 font.weight: Font.Normal
26 color: "black"
27 font.family: "Helvetica"
28 font.pointSize: 10
29 wrapMode: Text.Wrap
30 }
31 Text {
32 id: text_0002
33 width: 150
34 anchors.top: text_0001.bottom
35 anchors.left: text_0001.left
36 text: "The quick brown fox jumps over the lazy dog. 0123456789"
37 font.weight: Font.DemiBold
38 color: "black"
39 font.family: "Courier"
40 font.pointSize: 10
41 wrapMode: Text.Wrap
42 }
43 Text {
44 id: text_0003
45 width: 150
46 anchors.top: text_0002.bottom
47 anchors.left: text_0002.left
48 text: "The quick brown fox jumps over the lazy dog. 0123456789"
49 font.weight: Font.Bold
50 color: "black"
51 font.family: "Calibri"
52 font.pointSize: 10
53 wrapMode: Text.Wrap
54 }
55 Text {
56 id: text_0004
57 width: 150
58 anchors.top: text_0003.bottom
59 anchors.left: text_0003.left
60 text: "The quick brown fox jumps over the lazy dog. 0123456789"
61 font.weight: Font.Black
62 color: "black"
63 font.family: "Loma"
64 font.pointSize: 10
65 wrapMode: Text.Wrap
66 }
67 Text {
68 id: text_0005
69 width: 150
70 anchors.top: text_0004.bottom
71 anchors.left: text_0004.left
72 text: "The quick brown fox jumps over the lazy dog. 0123456789"
73 font.weight: Font.Normal
74 color: "black"
75 font.family: "Bitstream Charter"
76 font.pointSize: 10
77 wrapMode: Text.Wrap
78 }
79 Text {
80 id: text_0006
81 width: 150
82 anchors.top: text_0005.bottom
83 anchors.left: text_0005.left
84 text: "The quick brown fox jumps over the lazy dog. 0123456789"
85 font.weight: Font.Normal
86 color: "black"
87 font.family: "FreeSans"
88 font.pointSize: 10
89 wrapMode: Text.Wrap
90 }
91 Text {
92 id: text_0007
93 width: 150
94 anchors.top: text_0006.bottom
95 anchors.left: text_0006.left
96 text: "The quick brown fox jumps over the lazy dog. 0123456789"
97 font.weight: Font.Normal
98 color: "black"
99 font.family: "Garuda"
100 font.pointSize: 10
101 wrapMode: Text.Wrap
102 }
103
104 }