>>>> "giacomo" == giacomo boffi
giacomo> XEmacs uses FcDefaultSubstitute  and that's a
giacomo> candidate for something consistent about that
No; FcDefaultSubstitute cannot handle *your* display *at all*; it
handles whatever Keith Packard thinks is the lowest common demoninator
(75dpi, in fact).
Also, it's not "consistent" handling; from XEmacs's point of view,
fontconfig cannot possibly do that, because XEmacs knows how to
display on remote displays, and may actually display on several
displays with different geometries and visuals simultaneously.
fontconfig cannot pick up remote display configurations automatically
AFAIK; it only knows about the local display (possibly you can
conditionalize---but that would be in fonts.conf!) XEmacs, on the
other hand, contains a lot of logic for handling remote displays---but
it assumes that the fonts it uses are supplied by (and therefore
consistent with) the remote display.
> You should be able to fix it in your /etc/fonts/fonts.conf.
giacomo> most applications AND lwlib get their fonts at proper
giacomo> it's difficult for me to understand why i should tinker
giacomo> the system configuration
In the document you quote, FcDefaultSubstitute gives 75dpi. If you
want to override that, you have to override it. For a workstation
that displays on a local X server, fonts.conf is the right place for
overrides. Apps should not have to worry about it.
Even if you do display on other X servers, the application will have
to deal with them case by case, using special logic that fontconfig
cannot help with _at all_. XEmacs frames currently do not contain
that logic for Xft, and I'm not going to worry about it until I'm done
refactoring the font handling modules.
Since you say lwlib is getting the right resolution, possibly it will
fall out of the refactoring naturally.
School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.