0024387: Tests - use system-independent fonts in test cases
[occt.git] / tests / bugs / vis / bug24412_2
index 9f6c5f1..da6239d 100644 (file)
@@ -8,6 +8,8 @@ puts ""
 #######################################################################
 pload ALL
 
+vfont add [locate_data_file DejaVuSans.ttf] SansFont
+
 set anImage1 $imagedir/${casename}_1.png
 set anImage2 $imagedir/${casename}_2.png
 
@@ -15,7 +17,7 @@ vinit Viewer1/View1
 vpoint  ang_p1 0  0 30
 vpoint  ang_p2 30 0  0
 vpoint  ang_p3 60 0 30
-vdimension ang -angle -shapes ang_p1 ang_p2 ang_p3
+vdimension ang -angle -shapes ang_p1 ang_p2 ang_p3 -font SansFont
 vmovedim ang 5 0 5
 vfit