Hello all.

I am just starting to play with Xft and I'm having problems with
XftFontOpen. I copied the code directly from the man page and it
compiles fine. 

This is the code: 

     font = XftFontOpen(dis, screen, 
                        XFT_FAMILY, XftTypeString, "charter",
                        XFT_SIZE, XftTypeDouble, 12.0);

The little test app I made for it seg faults during that function
though. gdb tells me this:

"Program received signal SIGSEGV, Segmentation fault.
0x4011cf4e in _XftStrCmpIgnoreCase () from /usr/X11R6/lib/libXft.so.1"

Any ideas on what I am doing wrong?
Thanks.
Ted.


_______________________________________________
Render mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/render

Reply via email to