mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0032680: Visualization, AIS_TextLabel - Bold FontAspect doesn't work
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.
This commit is contained in:
@@ -2355,7 +2355,6 @@ static int VDrawText (Draw_Interpretor& theDI,
|
||||
{
|
||||
isNewPrs = Standard_True;
|
||||
aTextPrs = new AIS_TextLabel();
|
||||
aTextPrs->SetFont ("Courier");
|
||||
}
|
||||
|
||||
aTextPrs->SetText (aText);
|
||||
|
Reference in New Issue
Block a user