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 / Text doesn't get displayed in 6.5

Text doesn't get displayed in 6.5

Text doesn't get displayed in 6.5
Venugopal Gudimetla 2011/03/10 18:06
Hi, any hints and/or suggestions are welcome. I built OCC 6.5 on 32 bit linux ubuntu 10. I linked and built using ftgl and freetype2 libraries. My TKOpengl library shows it got linked to the above mentioned font libraries. But in my application text is not displayed after linking with 6.5 libraries. I had no problem with OCC6.3. Did anyone else encounter this problem or is it just me?

Thanks,

Venu

Fotis Sioutis 2011/03/10 18:58
I have the same issue under embarcadero ( borland ) on WIN32 platform... In my case i noticed that text is not displayed on the trihedron axes initially. The strange thing in my case is that if i hide the trihedron and then display it again somehow text shows up perfectly. I did not have free time to dig but when time allows i will try to find out what goes wrong and report here my results.

Fotis
Venugopal Gudimetla 2011/03/10 19:14
Thanks Fotis, in fact that is exactly my problem too. I will try out your method, may be it needs to be redrawn? just guessing.
Venu
Venugopal Gudimetla 2011/03/11 05:09
Okay I made it work.
in Osd_FontMgr.cxx line, change:
Display * disp = XOpenDisplay("localhost:0.0");
to
Display * disp = XOpenDisplay(":0.0");

This could be true for all Unix based systems? not sure but it worked on ubuntu 10.

Fotis, first I tried to hide and then replay the trihedron, but for me for some reason, it didn't work. It works now with the above change.

Thanks,
Venu
Venugopal Gudimetla 2011/03/11 05:09
sorry the line number is 239
Denis Barbier 2011/03/11 08:46
Hello,

Thanks for the patch, it will be very useful. One could use XOpenDisplay(NULL) so that this works on any display, not just :0.0
Venugopal Gudimetla 2011/03/11 13:42
Hi Denis, Thanks for pointing it out, that helps.

Venu
Yuriy Sinithin 2011/03/28 01:30
Many Thanks for your Patch
 
 
Latest news
  • Open CASCADE Technology 6.6.0 is available for download!
  • Open CASCADE Technology 6.5.5 is available for download!
  • Open CASCADE Technology 6.5.4 is available for download!

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