nanogui: GrCreateFont() on .89


Previous by date: 18 May 2004 21:05:16 +0100 Re: VNC, Greg Haerr
Next by date: 18 May 2004 21:05:16 +0100 VNC server, Steve Holle
Previous in thread: 18 May 2004 21:05:16 +0100 GrCreateFont() on .89, tj
Next in thread:

Subject: Re: [nanogui] GrCreateFont() on .89
From: "Greg Haerr" ####@####.####
Date: 18 May 2004 21:05:16 +0100
Message-Id: <005001c43d13$767d1b80$3aba46a6@xmission.com>

: Does GrCreateFont() work with .89?

Yes, but there are bugs

: 
: I have tried to use:
:   font_a = GrCreateFont ("/usr/local/fonts/helvB24-ISO8859-1.pcf",
:              15,NULL);
: 
: and it uses the default system font. I tried the second variable from 0 
: to 25. No go. Hell, I can even put a wrong font file name and it runs 
: exactly the and NEVER complains that the file didn't exist.

Read the ChangeLog from CVS regarding PCF, there were a number
of bugs fixed after 0.90 release also, available only from CVS.


: 
: Now, under .90, it will complain about not finding 15, but it will use 
: the font instead of the system font, and if the file name is wrong, it 
: complains about not finding the file.

Certain semantics were changed for the better in 0.90, and, depending
on the settings for DPRINTF and EPRINTF, engine/devfont.c will
tell you what is going on WRT the different font handlers.

: How do I get it to work under .89?

Diff engine/devfont.c and engine/font_pcf.c for changes, check the
ChangeLog also.

Regards,

Greg

Previous by date: 18 May 2004 21:05:16 +0100 Re: VNC, Greg Haerr
Next by date: 18 May 2004 21:05:16 +0100 VNC server, Steve Holle
Previous in thread: 18 May 2004 21:05:16 +0100 GrCreateFont() on .89, tj
Next in thread:


Powered by ezmlm-browse 0.20.