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

Search the Forums
See All Topics
 

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
  • OCCT Applications
  • Open CASCADE Technology 6.8.0 is available for download!
  • New features to enhance the development process

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