0030439: Visualization - extend fonts search within Font_FontMgr::FindFont() on Linux
[occt.git] / tests / demo / draw / bug23745
... / ...
CommitLineData
1puts "============"
2puts "0023745: Draw Harness, ViewerText - vdrawtext command should not modify global text aspect"
3puts "============"
4puts ""
5
6pload QAcommands
7pload VISUALIZATION
8
9vfont add [locate_data_file DejaVuSans.ttf] SansFont
10
11vclear
12vinit View1
13vaxo
14vdrawtext text0 "ANOTHERBUG" -pos 100 100 100 -color 1.0 0.0 0.0 -halign left -valign bottom -angle 0 -zoom 1 -height 50 -font SansFont
15vtrihedron trihedron
16
17set x 239
18set y 216
19set R 1
20set G 1
21set B 0
22checkcolor ${x} ${y} ${R} ${G} ${B}
23
24vdump ${imagedir}/${casename}.png
25
26puts "TEST COMPLETED"