nanogui: Font usage/setup
Subject:
RE: [nanogui] Font usage/setup
From:
"Martin Kajdas" ####@####.####
Date:
10 Jan 2006 17:23:20 +0000
Message-Id: <CF2BB830A62F914F848E5AD5FFF57AC229149B@mkmail.MKPROD.COM>
I enabled debug mode to see what is going on and the problem became obvious.
The nano-X server (actually nxlib in LoadFont.c) searches for:
'-adobe-helvetica-medium-r-normal--12-0-0-0-p-0-iso8859-1'
which my application requires and the truetype font available is described as:
'-adobe-helvetica-medium-r-normal--0-0-0-0-p-0-iso8859-1'
They do not match and the server does not find the font correctly.
The only difference is in the font size (the app wants size 12).
However, this being the truetype font, does not specify size (equals to 0).
How can I tell/configure the server/nxlib to match these properly?
Martin
-----Original Message-----
From: Martin Kajdas ####@####.####
Sent: Monday, January 09, 2006 4:00 PM
To: Greg Haerr; ####@####.####
Subject: RE: [nanogui] Font usage/setup
Another problem: truetype fonts.
I have the fonts working and I can see the truetype fonts in the list of fonts (with my application on my target system), but I cannot make them work.
The other ones work fine.
I compiled nano-X with HAVE_FREETYPE_SUPPORT enabled and linked with freetype 1.3.1 library.
I added the font files to the fonts directory and added them to the fonts.dir file.
- is there anything else that needs to be done to get them working?
- does nxlib-0.45 support truetype fonts?
- anything else I need to know?
Regards,
Martin