0030969: Coding Rules - refactor Quantity_Color.cxx color table definition
[occt.git] / tests / bugs / vis / bug25732_2
CommitLineData
348ff753 1puts "========"
2puts "OCC25732"
3puts "========"
4puts ""
5#########################################################################################
6# Visualization, TKOpenGl - back face culling should not affect textured font rendering
7#########################################################################################
8
6fb1a930 9vfont add [locate_data_file DejaVuSans.ttf] SansFont
10
348ff753 11box b 1 2 3
12explode b F
13
14vinit
15vsetdispmode 1
16
17vdisplay b_1 b_2
18vfit
19
aaf8d6a9 20vdrawtext text "SAMPLE TEXT" -pos 1 0 3 -color RED -halign left -valign bottom -angle 0 -zoom 0 -height 30 -aspect regular -font SansFont
348ff753 21
22set bug_info [vreadpixel 260 137 rgb name]
23if {$bug_info != "RED"} {
24 puts "ERROR: OCC25732 is reproduced. Text is missed."
25}
26
5747059b 27checkview -screenshot -3d -path ${imagedir}/${test_image}.png