From: Miles Bader <miles.bader@necel.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org, Kenichi Handa <handa@m17n.org>
Subject: Re: font-related hanging / general brokenness
Date: Mon, 23 Jun 2008 13:35:06 +0900 [thread overview]
Message-ID: <buofxr4ojk5.fsf@dhapc248.dev.necel.com> (raw)
In-Reply-To: <jwv1w2osvkk.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sun, 22 Jun 2008 23:05:43 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> 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
prev parent reply other threads:[~2008-06-23 4:35 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <buobq1ycd5c.fsf@dhapc248.dev.necel.com>
2008-06-19 4:35 ` font-related hanging / general brokenness Miles Bader
2008-06-19 4:52 ` Miles Bader
2008-06-19 5:35 ` Kenichi Handa
2008-06-19 5:41 ` Miles Bader
2008-06-19 5:55 ` Miles Bader
2008-06-19 6:17 ` Kenichi Handa
2008-06-19 6:10 ` Kenichi Handa
2008-06-19 6:14 ` Miles Bader
2008-06-19 6:19 ` Kenichi Handa
2008-06-19 6:26 ` Miles Bader
2008-06-19 6:44 ` Kenichi Handa
2008-06-19 6:58 ` Miles Bader
2008-06-19 7:44 ` Kenichi Handa
2008-06-19 7:28 ` Miles Bader
2008-06-19 14:23 ` Stefan Monnier
2008-06-19 4:59 ` Kenichi Handa
2008-06-19 21:49 ` Stefan Monnier
2008-06-20 5:05 ` Miles Bader
2008-06-20 14:00 ` Stefan Monnier
2008-06-22 7:48 ` Miles Bader
2008-06-23 3:05 ` Stefan Monnier
2008-06-23 4:35 ` Miles Bader [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=buofxr4ojk5.fsf@dhapc248.dev.necel.com \
--to=miles.bader@necel.com \
--cc=emacs-devel@gnu.org \
--cc=handa@m17n.org \
--cc=miles@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.