0024387: Tests - use system-independent fonts in test cases
[occt.git] / tests / bugs / vis / bug24293
CommitLineData
62b6361a 1puts "============"
2puts "CR24293"
3puts "============"
4puts ""
5#######################################################################
6# Dimension flyout lines don't belong to the dimension sensitive entity.
7#######################################################################
6fb1a930 8
9vfont add [locate_data_file DejaVuSans.ttf] SansFont
10
9f37b47d 11vinit View1
62b6361a 12vpoint lengthP1 0 0 0
13vpoint lengthP2 10 10 10
6fb1a930 14vdimension dim1 -length -plane xoy -shapes lengthP1 lengthP2 -font SansFont
62b6361a 15vfit
16vmoveto 202 191
17
18set x_coord 272
19set y_coord 198
20checkcolor $x_coord $y_coord 0 1 1
21if { $stat != 1 } {
22 puts "Error : Highlighting of length dimension is wrong."
23}
24
25set only_screen 1