Thu, 03/10/2011 - 20:06
Forums:
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
Thu, 03/10/2011 - 20: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
Thu, 03/10/2011 - 21: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
Fri, 03/11/2011 - 07: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
Fri, 03/11/2011 - 07:09
sorry the line number is 239
Fri, 03/11/2011 - 10: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
Fri, 03/11/2011 - 15:42
Hi Denis, Thanks for pointing it out, that helps.
Venu
Mon, 03/28/2011 - 03:30
Many Thanks for your Patch