0029768: Visualization, TKOpenGl - structure is entirely clipped by suppressed clipping
[occt.git] / tests / bugs / vis / bug22796_1
1 puts "============"
2 puts "OCC22796"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Possibility to display multi-line text in 3D
7 #######################################################################
8
9 vfont add [locate_data_file DejaVuSans.ttf] SansFont
10
11 set BugNumber OCC22796
12
13 vinit
14 vdrawtext text0 "MyTest1\rHello,\tWor\vld!\nMyTest2\t\a\bMyTest3" -pos 0 0 0 -color 1.0 1.0 1.0 -halign left -valign bottom -angle 0 -zoom 1 -height 50 -aspect regular -font SansFont
15
16 checkview -screenshot -3d -path ${imagedir}/${test_image}.png
17
18
19
20