nanogui: Fonts in nano-X, nxlib, FLTK


Previous by date: 22 Nov 2006 07:59:56 +0000 memory usage, Junior
Next by date: 22 Nov 2006 07:59:56 +0000 Re: Fonts offset leads to wrong memory location -- genfont.c bug??, Ricardo P. Jasinski
Previous in thread:
Next in thread: 22 Nov 2006 07:59:56 +0000 Re: Fonts in nano-X, nxlib, FLTK, Greg Haerr

Subject: Fonts in nano-X, nxlib, FLTK
From: albrecht ellinger ####@####.####
Date: 22 Nov 2006 07:59:56 +0000
Message-Id: <1164182519.29948.24.camel@albrechtLinux.site>

Hullo,

I have a cross compile environment.

The t1demo programme works just wonderful.
But I can not see any of these beautiful fonts
in FLTK. 

I put the fonts in the according paths of nxlib.
To avoid using TTF, I transformed helvetica.ttf
to pcf.gz in the size of 24pt. 

When I load this font the programme crashes.
Nano-X just stops in "fonts" programme.

_______
Output:
...
 checking 
 '-adobe-helvetica-bold-r-normal--34-240-100-100-p-182-iso8859-1'
 '-adobe-helvetica-bold-r-normal--17-120-100-100-p-92-iso8859-1'
 checking   
 '-adobe-helvetica-bold-r-normal--34-240-100-100-p-182-iso8859-1'
 '-adobe-helvetica-bold-r-normal--34-240-100-100-p-182-iso8859-1'

fnt_createfont: /usr/lib/X11/fonts/100dpi/helvB24.pcf.gz,0 not found

[1] - Segmentation fault         ./nano-X


I would like to know the interface for the fonts better.
How can I get FLTK to use the same fonts, nano-X uses?

Have a nice day

Albrecht






Previous by date: 22 Nov 2006 07:59:56 +0000 memory usage, Junior
Next by date: 22 Nov 2006 07:59:56 +0000 Re: Fonts offset leads to wrong memory location -- genfont.c bug??, Ricardo P. Jasinski
Previous in thread:
Next in thread: 22 Nov 2006 07:59:56 +0000 Re: Fonts in nano-X, nxlib, FLTK, Greg Haerr


Powered by ezmlm-browse 0.20.