Prs3d_TextAspect now sets Font_NOF_SERIF as default font
instead of confusig Font_NOF_ASCII_TRIPLEX (Times-Bold).
Therefore, default font now uses regular aspect, not bold.
Command vdrawtext does no more set "Courier" font by default.
// 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),
{
isNewPrs = Standard_True;
aTextPrs = new AIS_TextLabel();
- aTextPrs->SetFont ("Courier");
}
aTextPrs->SetText (aText);