Robert van der Kamp writes:
sorry to email you directly,
Please don't. Much of the time I just drop such messages on the
floor. The ones I answer I redirect to the mailing list, as in this
case. (Bcc'd to protect your anonymity in this age of spam.)
but I have a problem with the xft font part of the beta xemacs
21.5.27. Fonts look great, but I can't get any control over the
type and size of font. So I'm forced to work with the default
courier font, with a rather large default point size.
If you consider it large, you may have the X resource Xft.dpi set too
large for your monitor, either in your environment or in one of your
fontconfig fonts.conf files. Since this is a global setting for all
Xft applications (including GTK and GNOME), it will probably mess up
any other application settings you've already tweaked.
It might be worth enduring the pain to get that set right, as you may
be able to use default sizes of new applications as you install them.
But that's something you have to judge for yourself.
I read the font control piece, tried to tweak my .Xdefaults
settings,
but to no avail. Any suggestions would be really appreciated!
For menubar and tab fonts, did you run xrdb < .Xdefaults or restart
the X server, then restart XEmacs? Does that help? If not, please
post your actual settings.
For the buffer fonts, use set-face-font. You can do this both as an
interactive command and in init.el. M-X customize-face doesn't know
about fontconfig yet, though. I haven't even tried to use that. Some
hacking was done on the menus, but they don't work properly yet, most
fonts and sizes can't be set through them.
Another issue I have with the xft setting is that I get a lot of
garbage in the screen, especially when scrolling pages in
xemacs. Leftovers from the cursor and other horizontal lines
appear. A redraw clears it all. I guess that's simply a bug?
Yes. AFAICT when antialiasing Xft draws outside of its reported
bounding box. The obvious strategy of clearing one pixel more than
you need to turns out to trash the next line down, and the other
obvious strategy of increasing the height of the font to compensate
results in bad vertical spacing. I've seen the artifacts resulting
from clearing too much in other applications like Firefox, but I
prefer bugs that hit you right between the eyes.
In the XEmacs I'm typing this on, I see no such artifacts at all,
using the font spec "Bitstream Vera Sans Mono-18:dpi=100" at a
resolution of 1920x1440. (This is a hack; my monitor actually has a
resolution of more like 130dpi, but the X server detects it or is set
to 75dpi, and I haven't gotten around to coordinating the defaults of
all my apps yet.)
HTH
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta