Around 15 o'clock on Nov 12, Ted Roden wrote:

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

You need to NULL terminate the argument list so that Xft knows where the 
end is.  The segfault comes from fetching garbage off the end of the 
argument list.  Try:

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

[EMAIL PROTECTED]        XFree86 Core Team              SuSE, Inc.


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

Reply via email to