nanogui: How to use nano-X fonts in fltk 1.1.9
Subject:
Re: [nanogui] How to use nano-X fonts in fltk 1.1.9
From:
"Greg Haerr" ####@####.####
Date:
24 Feb 2010 04:59:56 -0000
Message-Id: <01e201cab50e$335812a0$6564a8c0@winXP>
> How do I have to use the fontconfig-file which is mentioned in arg_list of
nano-X Server?
> When I call nano-X -c path/to/font.cfg where I want to set my fonts, the
> app
doesn't start.
I don't recommend this outdated method of configuring fonts
for nano-X, which was called FONTCONFIG. It hasn't
been tested for quite some time, and I was about to
remove it. The FONTCONFIG method tries to give
nano-X the ability to look at all sorts of glyph, style and
size aspects, and come up with a font that best matches.
I think this sort of thing is best left to programs outside
of nano-X (like NXLIB with fonts.alias, or FLTK's
font handling). Instead, nano-X should always be passed
a full path to a font to be loaded. This is the way
that NXLIB has been designed, so nano-X doesn't
have to deal with it.
With any luck, your FLTK problem can be solved using
the new NXLIB 0.46RC1 code that handles fonts.alias files.
Regards,
Greg