DiscussionsIssue archiveVisualization and 3D Viewer

Archived discussion

why all the text disappear ?

Visualization and 3D ViewerThu, 09/08/2022 - 10:274 replies

Browse this forum
QuestionAuthor

OpenCASCADE-7.6.0-vc14,x86
why all the text disappear,is there something wrong,which part is responsible for the text.
best wishes

Discussion

4 archived replies

Posts are displayed in their archived order.

01Commenter-1

It could be helpful to describe what are you trying to do, after which modifications / changes you experience issue and which messages come from OCCT's messenger (redirected into std::cout by default).

02Author

thanks,i try to cout some message:

“Font_FontMgr, error: unable to find any font!
TKOpenGl | Type: Error | ID: 0 | Severity: High | Message:
Font 'Courier' is not found in the system!
Font_FontMgr, error: unable to find any font!
TKOpenGl | Type: Error | ID: 0 | Severity: High | Message:
Font 'sans-serif' is not found in the system!

how can i deal with this?

03Commenter-1

You may install fonts in your system or register own fonts in Font_FontMgr and using them in Graphic3d_AspectText3d. If you believe that these fonts are present in your system, you might need to traverse/debug Font_FontMgr to find a reason, why it is unable to find standard fonts on your system (see also "vfont" command in Draw Harness).

04Author

okay,i will try,Thank you very much!