nanogui: using fltk fonts system with nano
Subject:
RE: [nanogui] using fltk fonts system with nano
From:
"Martin Kajdas" ####@####.####
Date:
23 Mar 2006 16:16:39 +0000
Message-Id: <CF2BB830A62F914F848E5AD5FFF57AC22914F0@mkmail.MKPROD.COM>
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: ####@####.####