>>>>>"KJ" == Kyle Jones
<kyle_jones(a)wonderworks.com> writes:
KJ> Christoph Wedler writes:
>> I only know, that my package X-Symbol really really needs additional
>> fonts (as I said, much less with a XEmacs face property
>> `baseline-shift').
KJ> Please explain how this baseline-shift property would be used.
KJ> I'm assuming it wold do what glyph-baselines do now, except apply
KJ> to the glyphs of a face's font.
To display super- and subscripts in HTML and LaTeX buffers (via
font-lock).
http://www.fmi.uni-passau.de/~wedler/x-symbol/subscripts.png
I could define the faces with
(defface x-symbol-sub-face
'((((class color) (background light))
(:family "Helvetica" :size "12pt" :baseline -2))) ; 2pt shifted
down
"")
;; using (set-face-baseline 'x-symbol-sub-face -2) would be fine for
;; me, too
instead (this is how it is done now)
(defface x-symbol-sub-face
'((((class color) (background light))
(:family "Helvetica_sub" :size "12pt")))
"")
and produce fonts Helvetica_sub (and _sup) with a PERL script.
Hmmm, OK. I think this would fit better as a font property
specifier, like font-ascent.