diff --git a/src/Prs3d/Prs3d_TextAspect.cxx b/src/Prs3d/Prs3d_TextAspect.cxx index 3ff268d0bf..e1a65bda40 100644 --- a/src/Prs3d/Prs3d_TextAspect.cxx +++ b/src/Prs3d/Prs3d_TextAspect.cxx @@ -26,7 +26,7 @@ IMPLEMENT_STANDARD_RTTIEXT(Prs3d_TextAspect, Prs3d_BasicAspect) // purpose : // ======================================================================= Prs3d_TextAspect::Prs3d_TextAspect() -: myTextAspect (new Graphic3d_AspectText3d (Quantity_Color (Quantity_NOC_YELLOW), Font_NOF_ASCII_TRIPLEX, 1.0, 0.0)), +: myTextAspect (new Graphic3d_AspectText3d (Quantity_Color (Quantity_NOC_YELLOW), Font_NOF_SERIF, 1.0, 0.0)), myHeight(16.0), myHorizontalJustification (Graphic3d_HTA_LEFT), myVerticalJustification (Graphic3d_VTA_BOTTOM), diff --git a/src/ViewerTest/ViewerTest_ObjectCommands.cxx b/src/ViewerTest/ViewerTest_ObjectCommands.cxx index 67b894bfeb..6fb51fff2d 100644 --- a/src/ViewerTest/ViewerTest_ObjectCommands.cxx +++ b/src/ViewerTest/ViewerTest_ObjectCommands.cxx @@ -2355,7 +2355,6 @@ static int VDrawText (Draw_Interpretor& theDI, { isNewPrs = Standard_True; aTextPrs = new AIS_TextLabel(); - aTextPrs->SetFont ("Courier"); } aTextPrs->SetText (aText);