nanogui: truetype with fltk


Previous by date: 23 Sep 2004 16:54:29 +0100 Re: Broken pipeline, Greg Haerr
Next by date: 23 Sep 2004 16:54:29 +0100 Re: Applications for nano-X, tian tao
Previous in thread:
Next in thread: 23 Sep 2004 16:54:29 +0100 Re: truetype with fltk, Steven Scholz

Subject: truetype with fltk
From: Hinko Kocevar ####@####.####
Date: 23 Sep 2004 16:54:29 +0100
Message-Id: <4152F1B2.3070004@iskramedical.si>

Hi,

I've managed to build freetype-2.1.3 lib and I can see truetype fonts - 
tested with fontdemo. I have this simple app using fltk that just lists 
all found fonts and then displayed hello string using selected font.
PCF fonts are working but with treutype fonts nano-X and nxlib are 
seraching for the wrong name of the font. Eg. I want to use bitstream 
vera sans at size 14;  this is printk() output around XLoadFont:

before _nxFindX11Font: -bitsteam-Bitstream Vera 
Sans-medium-r-normal--14-0-0-0-p-0-iso8859-1
after _nxFindX11Font: (null)
XLoadFont('-bitsteam-Bitstream Vera 
Sans-medium-r-normal--14-0-0-0-p-0-iso8859-1') = '(null)' [0]

In fonts dir only '-bitsteam-Bitstream Vera 
Sans-medium-r-normal--0-0-0-0-p-0-iso8859-1' exists, since this font is 
variable height it does not contain size in it name.

How can this be overcome?

regards,
h

-- 
hinko <dot> kocevar <at> iskramedical <dot> si
Hinko Kocevar, developer
Iskra Medical d.o.o., Stegne 23, 1k LJ, SLO-EU

	"Aì rén"	|	[Analects XII:22]

Previous by date: 23 Sep 2004 16:54:29 +0100 Re: Broken pipeline, Greg Haerr
Next by date: 23 Sep 2004 16:54:29 +0100 Re: Applications for nano-X, tian tao
Previous in thread:
Next in thread: 23 Sep 2004 16:54:29 +0100 Re: truetype with fltk, Steven Scholz


Powered by ezmlm-browse 0.20.