>>>> "Ralf" == Ralf Angeli
<angeli(a)iwi.uni-sb.de> writes:
Ralf> Is this an appropriate way to handle this in XEmacs? (I am
Ralf> not really sure because `font-size' is undocumented and I
Ralf> had to look at `x-font-create-object' in order to see what
Ralf> it may return.) Or is there a better method?
It's probably not a good idea to use undocumented functions in this
module. My feeling is that font.el is likely to change dramatically,
maybe even disappear, in 22.0. Given that we have known bugs in face
sizing, that might get backported to 21.4, even.
I would say your best bet is to use either face-height, and live with
the inaccuracy, or to use custom-face-font-size. Maybe somebody else
can be more optimistic, though.
--
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.