0024387: Tests - use system-independent fonts in test cases
[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
29e2c6d2 13vinit
6fb1a930 14vdrawtext 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 15vexport $imagedir/${test_image}.pdf PDF
16
17set only_screen 1
18
19
20
21