While testing fpgui, I had a problem with default font, because Arial-10
wasn't found.
So I looked into the source. I fixed my problem changing the default to
Sans-10, but I spotted what it seems a bug to me.
In the following section of code form GFX_X11 lines 1281 on:
if not Assigned(FDefaultFont) then
begin
{$IFNDEF XftSupport}
FDefaultFont.FontData := XLoadQueryFont(Handle, 'fixed');
{$ENDIF}
......
if FDefaultFont is *not assigned*, attempting to write
FDefaultFont.FontData doesn't appear right.
I'm not familiar enough with X11fonts witchcraft to attempt to fix it.
Giuliano
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives