nanogui: using fltk fonts system with nano


Previous by date: 23 Mar 2006 17:01:46 +0000 Re: using fltk fonts system with nano, Martin Kajdas
Next by date: 23 Mar 2006 17:01:46 +0000 Full screen refresh in nanox, Durai
Previous in thread: 23 Mar 2006 17:01:46 +0000 Re: using fltk fonts system with nano, Martin Kajdas
Next in thread: 23 Mar 2006 17:01:46 +0000 Re: using fltk fonts system with nano, Martin Kajdas

Subject: RE: [nanogui] using fltk fonts system with nano
From: Kishore Kumar ####@####.####
Date: 23 Mar 2006 17:01:46 +0000
Message-Id: <1143133270.26646.36.camel@kishore.localdomain>

Hi,
I work on a embedded system so my fonts directory see a bit different.
I found a directory for fonts at  "/lib/fonts"

and it did have  "fontdir" with entries for 'fixed'

In fontdir file::

	fixed 5x7.bdf BDF n 50 70 
	fixed 6x13.bdf BDF n 50 120 
	micro micro.bdf BDF n 50 40 
	helvetica helvB08.bdf BDF n 75 80 
	helvetica helvB10.bdf BDF n 75 100 
	helvetica helvB12.bdf BDF n 75 120  ....


but these are only for the bdf files. I think I can just change bdf file
to pcf to make it work.Anyway ,I hope this tip would
help me move in the right direction.
Regards,
Kishore


Am Donnerstag, den 23.03.2006, 08:16 -0800 schrieb Martin Kajdas:
> I would use a complete path in PCF_FONT_DIR like:
> PCF_FONT_DIR = /usr/lib/X11/fonts/pcf
> Then, this is where your font files need to be on your target.
> 
> Do you have a 'fixed.pcf' file in your /usr/lib/X11/fonts/pcf (in my
> case) directory on your target?
> 
> If your fixed font has a different file name then you need the fonts.dir
> file with the line like:
> some_fixed_font_file.pcf fixed
> 
> You need to resolve directory and naming issues because your program
> cannot find the fonts.
> 
> Also, you may add debugging messages to LoadFont.c and print 'fontdir',
> 'xfontname' and 'font' variables.
> Then you will know everything. This is how I found my problems.
> Martin
> 
> 
> -----Original Message-----
> From: Kishore Kumar ####@####.####
> Sent: Thursday, March 23, 2006 4:22 AM
> To: ####@####.####
> Subject: RE: [nanogui] using fltk fonts system with nano
> 
> 
> the debug output look so
> 
> >XLoadFont('fixed') = '(null)' [0]
> 
> Its not able to find the 'fixed' font.
> Regards,
> Kishore
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 


Previous by date: 23 Mar 2006 17:01:46 +0000 Re: using fltk fonts system with nano, Martin Kajdas
Next by date: 23 Mar 2006 17:01:46 +0000 Full screen refresh in nanox, Durai
Previous in thread: 23 Mar 2006 17:01:46 +0000 Re: using fltk fonts system with nano, Martin Kajdas
Next in thread: 23 Mar 2006 17:01:46 +0000 Re: using fltk fonts system with nano, Martin Kajdas


Powered by ezmlm-browse 0.20.