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 / Regarding Text Horizontal and Vertical Justification in OCC 6.5.3

Regarding Text Horizontal and Vertical Justification in OCC 6.5.3

Regarding Text Horizontal and Vertical Justification in OCC 6.5.3
Aditya Singh 2012/09/28 10:54
I just upgrade my OCC from version 6.3 to OCC 6.5.3.

My Text horizontal and vertical justification are not working properly.
Text is displayed but it is too far from the given points.
Simple text insertion at certain point is working fine, but when i use Justification it goes far.
same code is working fine when i use OCC 6.3.
i am using class Prs3d_TextAspect.cxx
SetHorizontalJustification() and SetVerticalJustification() API

Please help to resolve this issue if anybody knows the reason of this problem.

Forum supervisor 2013/02/22 10:33
Dear Aditya,
I would like to inform you that starting from version OCCT6.5.3 OCCT OpenGl driver (OpenGl_GraphicDriver API class) has been sufficiently redesigned (see Visualization chapter (namely - Redesign of OpenGl driver) of OCCT Release Notes of ver.6.5.3). Take it, please into account.
At the same time OCCT development team welcomes everybody to test the new text renderer from OCCT GIT master branch.
Regards
seumonkey 2013/03/01 20:49
Hi,
If aHeight is too small,like aHeight=10,the text will display damaged. It seems that the render of text will lose something if the text is too small. What can I do now ?
You have to be logged in to download the attached file
 
 
Latest news
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!

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