0024387: Tests - use system-independent fonts in test cases
[occt.git] / tests / bugs / vis / bug25403
CommitLineData
1c9d1517 1puts "============"
2puts "CR25403"
3puts "============"
4puts ""
5#######################################################################
6# Wrong storage of model units in AIS_AngleDimension
7#######################################################################
8pload VISUALIZATION
9
6fb1a930 10vfont add [locate_data_file DejaVuSans.ttf] SansFont
11
1c9d1517 12vinit
13vpoint angleP1 0 0 0
14vpoint angleP2 50 50 50
15vpoint angleP3 50 50 100
6fb1a930 16vdimension dim1 -angle -value 300 -modelunits deg -shapes angleP1 angleP2 angleP3 -font SansFont
17vdimension dim2 -length -value 10 -modelunits mm -showunits -plane yoz -shapes angleP1 angleP3 -font SansFont
1c9d1517 18vfit
19
20set only_screen 1