[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font-related hanging / general brokenness
From: |
Miles Bader |
Subject: |
Re: font-related hanging / general brokenness |
Date: |
Mon, 23 Jun 2008 13:35:06 +0900 |
Stefan Monnier <address@hidden> writes:
> Hmm... I don't see that. I have "Emacs.font: fixed" in "xrdb -query"
> and a .emacs that contains just (custom-set-faces '(default ((t :font
> "Sans")))), and the first frame along with all subsequent ones uses
> "Sans".
>
> Can you try and come up with a more precise recipe?
Hmm I tried to make a more precise test case.
I used the following /tmp/.emacs files (differing only in the :family of
the `default' face):
A)
(custom-set-faces
'(default ((t (:stipple nil :background "white" :foreground "black"
:inverse-video nil :box nil :strike-through nil :overline nil :underline nil
:slant normal :weight normal :height 120 :width normal :foundry "unknown"
:family "DejaVu Sans Mono")))))
B)
(custom-set-faces
'(default ((t (:stipple nil :background "white" :foreground "black"
:inverse-video nil :box nil :strike-through nil :overline nil :underline nil
:slant normal :weight normal :height 120 :width normal :foundry "unknown"
:family "Monospace")))))
and the following test cases:
1)
xrdb -remove
LANG=C HOME=/tmp \emacs &
2)
xrdb -remove
echo 'Emacs*Font: Dejavu Sans Mono-8' | xrdb
LANG=C HOME=/tmp \emacs &
I've used the following abbreviations for fonts. [The font-specs are
what's output by `C-u C-x ='). Note that "11" below corresponds to the
"8" in Dejavu Sans Mono-8", and "16" below corresponds to ":height 120"
in the custom settings, according to whatever weird relationship there
is between specified and actual point sizes.]
DjMo16 = -unknown-DejaVu Sans
Mono-normal-normal-normal-*-16-*-*-*-m-0-iso8859-1
DjMo11 = -unknown-DejaVu Sans
Mono-normal-normal-normal-*-11-*-*-*-m-0-iso8859-1
BvMo16 = -bitstream-Bitstream Vera Sans
Mono-normal-normal-normal-*-16-*-*-*-m-0-iso8859-1
BvSa16 = -bitstream-Bitstream Vera
Sans-normal-normal-normal-*-16-*-*-*-*-0-iso8859-1
BvSa11 = -bitstream-Bitstream Vera
Sans-normal-normal-normal-*-11-*-*-*-*-0-iso8859-1
UnMo16 = -urw-nimbus mono l-regular-r-normal--16-116-100-100-p-100-iso8859-1
Here are the resulting faces; I've appended a "*" to things I think are wrong:
A1 A2 B1 B2
----------------------------------------------------------------
initial `default' DjMo16 DjMo16 BvMo16 BvMo16
initial `variable-pitch' BvSa16 BvSa16 BvSa16 BvSa16
C-x 5 2 `default' DjMo16 DjMo16 UnMo16* DjMo11*
C-x 5 2 `variable-pitch' BvSa16 BvSa11* BvSa16 BvSa11*
The "UnMo16" result seems particular bizarre...
-Miles
--
"Don't just question authority,
Don't forget to question me."
-- Jello Biafra
- Re: font-related hanging / general brokenness, (continued)
Re: font-related hanging / general brokenness, Stefan Monnier, 2008/06/19
Re: font-related hanging / general brokenness, Kenichi Handa, 2008/06/19