Displayed text is ugly

Hi all,

does anybody know why displayed text is so ugly?

I use the following code:

Handle(Prs3d_Presentation) aPrs = new Prs3d_Presentation(myAISContext->CurrentViewer()->Viewer());
Handle (Graphic3d_Group) aGroup = Prs3d_Root::CurrentGroup(aPrs);
Handle(Graphic3d_AspectText3d) aTextAspect = new Graphic3d_AspectText3d();
aTextAspect->SetTextZoomable (Standard_True);
aTextAspect->SetFont(Standard_CString(Graphic3d_NOF_ASCII_MONO));
aTextAspect->SetTextAngle(0.0);
aGroup->SetPrimitivesAspect(aTextAspect);
Graphic3d_Vertex aPoint (10, 10, 1);
aGroup->Text(Standard_CString ("Text 1,3 5039 3,432"), aPoint, 10.0);
aPrs->Display();
myAISContext->UpdateCurrentViewer();

Please see attached file.

Kind regards

Arno

Attachments: 
Sven Jungnickel's picture

Did you find a solution? I'm having the same problem using Graphic3d_Group::Text with the zoomable option set to Standard_True.

Sergey's picture

Hello, have you found a solution?
if so - tell me how to beat this problem.

me_dulanga's picture

Use following
aTextAspect->SetFont("Font_NOF_ASCII_COMPLEX");