0030439: Visualization - extend fonts search within Font_FontMgr::FindFont() on Linux
[occt.git] / tests / demo / draw / bug23745
CommitLineData
fe551aef 1puts "============"
5b377041 2puts "0023745: Draw Harness, ViewerText - vdrawtext command should not modify global text aspect"
fe551aef 3puts "============"
4puts ""
fe551aef 5
6pload QAcommands
7pload VISUALIZATION
8
6fb1a930 9vfont add [locate_data_file DejaVuSans.ttf] SansFont
10
5b377041 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
fe551aef 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"