1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00
Files
occt/tests/bugs/vis/bug22796_1
isk 6fb1a930e2 0024387: Tests - use system-independent fonts in test cases
Add a new parameter "-font FontName" to the command "vdimension".
Tuning of test-cases
2015-08-27 15:30:18 +03:00

21 lines
546 B
Plaintext
Executable File

puts "============"
puts "OCC22796"
puts "============"
puts ""
#######################################################################
# Possibility to display multi-line text in 3D
#######################################################################
vfont add [locate_data_file DejaVuSans.ttf] SansFont
set BugNumber OCC22796
vinit
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
set only_screen 1