[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Face initialization
From: |
Stephen J. Turnbull |
Subject: |
Re: Face initialization |
Date: |
Tue, 08 Jul 2008 04:24:33 +0900 |
Richard M Stallman writes:
> I suggested eliminating the `font' parameter and instead
> defining a function which sets the default face according to an
> X font descriptor.
I suggest that the main advertised interface should use Xft/fontconfig
notation. Even if the underlying internal engine is XLFD-based. Xft
is trivial to translate correctly to XLFD form[1][2], more flexible,
easier to compose correctly, and quite possibly more familiar to most
users.
Of course there should be a helper function which translates XLFDs
(and even "loser" font names that are not XLFDs) into Xft form.
Footnotes:
[1] Admittedly semantics differ and this may matter, as some users of
XLFDs may prefer to specify size in pixels while Xft makes that difficult to
do. Personally, I've had no trouble getting used to it but YMMV.
[2] This may require some Emacs-specific fontconfig properties (which
will be ignored by the Xft font engine, of course), to emulate XLFD
semantics that Xft doesn't provide. fontconfig is quite happy to do
this for you; the hardest problem is choosing an appropriate naming
convention for these properties.
- Face initialization, Chong Yidong, 2008/07/06
- Re: Face initialization, Stefan Monnier, 2008/07/06
- Re: Face initialization, Chong Yidong, 2008/07/06
- Re: Face initialization, Stefan Monnier, 2008/07/06
- Re: Face initialization, Chong Yidong, 2008/07/06
- Re: Face initialization, Stefan Monnier, 2008/07/07
- Re: Face initialization, Richard M Stallman, 2008/07/07
- Re: Face initialization,
Stephen J. Turnbull <=
- Re: Face initialization, Richard M Stallman, 2008/07/08
- Re: Face initialization, Jason Rumney, 2008/07/08
- Re: Face initialization, Richard M Stallman, 2008/07/08
- Re: Face initialization, Richard M Stallman, 2008/07/07
- Re: Face initialization, Chong Yidong, 2008/07/07
- Re: Face initialization, Jason Rumney, 2008/07/09
- Re: Face initialization, Chong Yidong, 2008/07/09
- Re: Face initialization, Miles Bader, 2008/07/09
- Re: Face initialization, Jason Rumney, 2008/07/10
- Re: Face initialization, Stefan Monnier, 2008/07/10