1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/vis/bug22149
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

17 lines
726 B
Plaintext
Executable File

puts "================"
puts "OCC22149"
puts "================"
puts ""
#######################################################################
# Strings with Japanese characters can not be displayed in 3D viewer
#######################################################################
set BugNumber OCC22149
vfont add [locate_data_file bug22149_mona.ttf] Mona
vinit
vdrawtext text0 HELLO -pos 0 0 0 -color 0.0 1.0 0.0 -halign left -valign bottom -angle 0 -zoom 0 -height 50 -aspect regular
vdrawtext text1 [encoding convertfrom unicode \x42\x30] -pos 0 0 200 -color 1.0 0.0 0.0 -halign left -valign bottom -angle 0 -zoom 0 -height 50 -aspect regular -font Mona
checkview -screenshot -3d -path ${imagedir}/${test_image}.png