0027715: Visualization - turn off deprecated OpenGL fixed-function pipeline by default
[occt.git] / tests / bugs / vis / bug22796_3
CommitLineData
809eca9d 1puts "============"
2puts "OCC22796"
3puts "============"
4puts ""
5#######################################################################
6# Possibility to display multi-line text in 3D
7#######################################################################
8
6fb1a930 9vfont add [locate_data_file DejaVuSans.ttf] SansFont
10
809eca9d 11set BugNumber OCC22796
12
be375252 13vcaps -ffp 1
29e2c6d2 14vinit
6fb1a930 15vdrawtext text0 "TestString\nHello,\tWorld!" -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
809eca9d 16vexport $imagedir/${test_image}.pdf PDF
17
5747059b 18checkview -screenshot -3d -path ${imagedir}/${test_image}.png
809eca9d 19
20
21
22