1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00
occt/tests/bugs/vis/bug22796_2
pdn d9ff84e8ea 0022484: UNICODE characters support
Initial UNICODE (UFT-8) characters support for OCCT file operations

Fix for compilation errors and fix for StepFile (avoid objects in pure c code)

Fixes for set unicode symbols to OCAF and visualization
2014-10-02 15:40:11 +04:00

18 lines
583 B
Plaintext
Executable File

puts "============"
puts "OCC22796"
puts "============"
puts ""
#######################################################################
# Possibility to display multi-line text in 3D
#######################################################################
set BugNumber OCC22796
vfont add [locate_data_file bug22149_mona.ttf] Mona
set s [encoding convertfrom unicode "\x42\x30\x09\x00\x79\x30\x0A\x00\x6F\x30\x42\x26"]
#vdrawtext "\x30\x42\x00\x09\x30\x79\x00\x0A\x30\x6F" 0 0 0 255 255 255 0 0 0 1 50 0 Mona 1
vdrawtext $s 0 0 0 255 255 255 0 0 0 1 50 0 Mona 1
set only_screen 1