Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forums
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forums / Usage issues / Displayed text is ugly

Displayed text is ugly

Displayed text is ugly
Arno Hofmann 2012/01/27 20:46
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
You have to be logged in to download the attached file
Sven Jungnickel 2012/05/09 16:02
Did you find a solution? I'm having the same problem using Graphic3d_Group::Text with the zoomable option set to Standard_True.
Sergey 2013/01/26 13:59
Hello, have you found a solution?
if so - tell me how to beat this problem.
 
 
Latest news
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!
  • Open CASCADE Technology 6.5.5 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map