giving up x-symbol and xft
Aidan Kehoe
kehoea at parhasard.net
Thu Mar 17 15:11:04 EST 2005
Ar an seachtú lá déag de mí Márta, scríobh Stefan Holst:
> I need to admit, that I do not understand enough to get it running
> successfully. But let me please summarize what I tried:
> somewhere early in the init.el:
> (require 'x-symbol-unicode)
> According to the default face font the behavior was much different:
> (set-face-font 'default "SImPL-14")
> the charsyms redefined in x-symbol-unicode.el get displayed nicely.
> In case I set:
> (set-face-font 'default "Arial-14")
> only the charsyms contained also directly in the arial font get
> displayed.
Bugger.
I’ve looked through faces.el, specifier.c, faces.c and the Lispref, and I
can’t work out a way to assign a specific X11 or Xft font to a given XEmacs
face when displaying a particular Mule character set. I can’t even work out
where you got the information on (define-specifier-tag 'lang-ja) and the
(set-face-font ...) that you’re using in the XFT docs, Stephen. So at least
the docs need more info, and if not we need to add this functionality.
Stefan, adding
(setq x-symbol-xsymb0-fonts '("SImPL-14")
x-symbol-xsymb1-fonts '("SImPL-14"))
to the end of your code might just get it running for you. I don’t have the
fonts locally to test, unless you’re pointing FreeType towards the PCF
ones.
> This does not change if I specify SImPL to be part of the
> preferred alias of sans defined in ~/.fonts.conf
> the font forwarding of x-symbol-init-cset reaches not until object-x.c
> where patternxft always contain the font specified either via .Xdefaults
> or set-face-font.
> This might have something to do with x-symbol-xmacs.el
> x-symbol-set-face-font, I would guess.
--
“I, for instance, am gung-ho about open source because my family is being
held hostage in Rob Malda’s basement. But who fact-checks me, or Enderle,
when we say something in public? No-one!” -- Danny O’Brien
More information about the XEmacs-Beta
mailing list