0024387: Tests - use system-independent fonts in test cases
[occt.git] / tests / 3rdparty / fonts / B3
CommitLineData
b514beda 1puts "============"
2puts "OCC24181 Render text as BRep (check alphabet)"
3puts "============"
4puts ""
5pload MODELING
6pload VISUALIZATION
7
6fb1a930 8vfont add [locate_data_file DejaVuSans.ttf] SansFont
9
10set THE_FONT_NAME SansFont
b514beda 11set THE_FONT_SIZE 24
12set THE_TEXT {
13`1234567890-=
14~!@#$%^&*()_+
15qwertyuiop[]\\
16QWERTYUIOP{}|
17asdfghjkl;'
18ASDFGHJKL:"
19zxcvbnm,./
20ZXCVBNM<>?ยง
21}
22
ac84fcf6 23text2brep aBTextN $THE_TEXT -font $THE_FONT_NAME -height $THE_FONT_SIZE -aspect regular -composite off
24text2brep aBTextC $THE_TEXT -font $THE_FONT_NAME -height $THE_FONT_SIZE -aspect regular -composite on
b514beda 25checkshape aBTextN
26checkshape aBTextC
27
28ttranslate aBTextC 220 0 0
29vsetdispmode 1
30vtop
31vdisplay aBTextN
32vdisplay aBTextC
33
34vfit