Unfortunately, there is no text in the output but only vertical lines (see attached screenshot).
I have noted the same issue when e.g. creating a AIS_LinearDimension object,
What might be the reason? Any hints are welcome.
Regards, Author
Discussion
5 archived replies
Posts are displayed in their archived order.
01Commenter-1
Hi Author,
most probably your code is correct. I have found the same problem with OCC on my virtual Linux machine. But my text display code works perfectly on Windows. Since I have display problems with the Linux virtual computer anyway and the text display is not crucial for me, I didn't bother.
My System:
Windows 7 Professional 64 bit (Service Pack 1)
NVIDIA Quadro 4000
Virtual Machine: Oracle VM Virtual Box with Debian 7.1
Where did you face the display problem? Do you have any configuration where it works?
Commenter-1
02Commenter-2
Dear Benjamin,
thank you for reporting your observation.
I have noted the display problem after changing the linux distribution in use (Debian Jessie to Ubuntu 16.04). I always used the OCE libraries from the repositories, which also changed with the linux distribution.
Meanwhile I tried to vary the display driver: i used the Nvidia-Drivers 304 and 340 and the Xorg noveau-driver (I have an Nvidia graphics card). The problems occurs in all cases. So far, I have no working configuration in Ubuntu 16.04.
I suspect a problem with the font. Is there some font setup required? Maybe some environment variable to set?
Regards, Author
03Commenter-1
I am not sure whether it is a configuration problem. If I display a lot of text (on the attached screenshot I am displaying numbers from 1 to 16), sometimes the display works and sometimes not. At least it seems to be deterministic (if I close and reopen the application and display the numbers again, then the numbers that are displayed correctly or displayed as vertical lines are the same).
...
I have done some tests in the meanwhile. It seems to be an OCE problem. When I link my application against OCCT (7.1.0 beta), then the problem is gone (see second screenshot). Do you have the possibility to switch to OCCT?
04Commenter-3
Dear Author,
Please try your code using directly actual OCCT version.