0030439: Visualization - extend fonts search within Font_FontMgr::FindFont() on Linux
[occt.git] / tests / bugs / vis / bug22149
CommitLineData
3bea4c16 1puts "================"
5b377041 2puts "0022149: Strings with Japanese characters can not be displayed in 3D viewer"
3bea4c16 3puts "================"
4puts ""
3bea4c16 5
6set BugNumber OCC22149
7
5b377041 8dtracelevel trace
9vfont -verbose 1
6c7ddf00 10vfont add [locate_data_file bug22149_mona.ttf] Mona
5b377041 11vclear
12vinit View1
13vaxo
29e2c6d2 14vdrawtext 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
15vdrawtext 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
5b377041 16vdrawtext text2 [encoding convertfrom unicode \x42\x30] -pos 0 0 400 -color 0.0 0.0 1.0 -halign left -valign bottom -angle 0 -zoom 0 -height 50 -aspect regular -font cjk
17vdrawtext text3 [encoding convertfrom unicode \x5C\xD5\x6D\xAD\xB4\xC5] -pos 0 0 -200 -color 1.0 0.0 1.0 -halign left -valign bottom -angle 0 -zoom 0 -height 50 -aspect regular -font korean
3bea4c16 18
5b377041 19vdump $imagedir/${casename}.png