[vtkusers] Problems with wxVTK, wxGTK and pango (fonts)
webstuff at suessstoffersatz.de
webstuff at suessstoffersatz.de
Thu Feb 3 11:56:06 EST 2005
Hi,
I try to use wxVTK on a Suse 9.2 Professional. I installed all necessary
packages including wxGTK, GTK, atk, pango etc. I managed to compile the
examples, but when I execute them I get the following error:
** (Sample1:11499): WARNING **: Cannot open font file for font Verdana 10
** (Sample1:11499): WARNING **: Cannot open fallback font, nothing to do
So I took a simple wx-widgets "Hello World" source and the cmake-files
from wxVTK. I found that the linking to some vtk-libs makes the programs
crash.
LINK_LIBRARIES(
vtkIO
vtkHybrid
vtkCommon
vtkGraphics
vtkRendering
${WXWINDOWS_LIBRARY}
)
Unfortunately even the vtkRendering makes the program crash.
I googled a bit around and found that the error comes from pango (I
searched the source of pango) when it is unable to open a freetype font. I
checked the permissions of /usr/X11R6/lib/X11/fonts etc where the fonts
are missing. I tried the GDK_USE_XFT=0 flag, did a fc-cache -v -f but
nothing works. Even compiling as root gives me the error-messages.
On my gentoo-driven Laptop wxVTK works fine. Installing gentoo is no
solution on this machine :-)
Maybe someone can give me some hints, I am very desperate about solving
this problem.
Regards
Richard Freitag
More information about the vtkusers
mailing list