0027322: geom/revolution_00/A1: Incorrect pcurve creation
[occt.git] / tests / bugs / vis / bug25732_1
1 puts "========"
2 puts "OCC25732"
3 puts "========"
4 puts ""
5 #########################################################################################
6 # Visualization, TKOpenGl - back face culling should not affect textured font rendering
7 #########################################################################################
8
9 vfont add [locate_data_file DejaVuSans.ttf] SansFont
10
11 box b -100 0 -200 50 100 200
12
13 vinit View1
14 vclear
15 vaxo
16
17 vdisplay b
18 vfit
19 vsetdispmode b 1
20
21 vdrawtext text "Open\nCASCADE" -pos 0 0 0 -color 1.0 0.0 0.0 -halign center -valign center -angle -45 -zoom 1 -height 50 -aspect regular -font SansFont
22
23 set x_coord 255
24 set y_coord 277
25
26 set bug_info [vreadpixel ${x_coord} ${y_coord} rgb name]
27 if {$bug_info != "RED"} {
28   puts "ERROR: OCC25732 is reproduced. Text is missed."
29 }
30
31 checkview -screenshot -3d -path ${imagedir}/${test_image}.png