1
0
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:
kgv
2021-11-22 11:01:37 +03:00
committed by smoskvin
parent d62df471b2
commit 3bbcf114f0
2 changed files with 1 additions and 2 deletions

View File

@@ -2355,7 +2355,6 @@ static int VDrawText (Draw_Interpretor& theDI,
{
isNewPrs = Standard_True;
aTextPrs = new AIS_TextLabel();
aTextPrs->SetFont ("Courier");
}
aTextPrs->SetText (aText);