From: Reuben Thomas <rrt@sc3d.org>
To: Emacs Bugs <bug-gnu-emacs@gnu.org>
Subject: Re: Pasting from X clipboard sometimes uses different font
Date: Tue, 29 Jan 2008 21:07:43 +0000 (GMT) [thread overview]
Message-ID: <alpine.DEB.1.00.0801292104260.7401@localhost.localdomain> (raw)
In-Reply-To: <alpine.DEB.1.00.0801292025160.7401@localhost.localdomain>
On Tue, 29 Jan 2008, Reuben Thomas wrote:
> For example, with U+2026 HORIZONTAL ELLIPSIS. If I type one in an Emacs
> buffer, I get the character from my normal font:
>
> *font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-*-*
>
> whereas if I have one on the X clipboard and paste it (e.g. button-2), then I
> get a wider character, but if I go into hexl-mode I can see it's the same
> character code, though annoyingly it's not on the baseline (so there's also a
> bug in whatever font is being used, but I'm not sure which font is being
> used).
I looked at that code point in all my fonts, and found the exact character
diplayed in
-misc-fixed-medium-r-normal-ko-18-120-100-100-c-180-iso10646-1
Is there any reason that font might have been used when I was pasting from
the clipboard rather than the default face, mentioned above?
In my custom.el I have:
'(default ((t (:stipple nil :background "black" :foreground "white"
:inverse-video nil :box nil :strike-through nil :overline nil :underline nil
:slant normal :weight normal :height 120 :width semi-condensed :family
"misc-fixed"))))
i.e. the same font as listed from my .Xresources file, in Emacs notation.
--
http://rrt.sc3d.org/ | Astrophysics: it's not exactly rocket science
next prev parent reply other threads:[~2008-01-29 21:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-29 20:26 Pasting from X clipboard sometimes uses different font Reuben Thomas
2008-01-29 21:07 ` Reuben Thomas [this message]
2008-01-29 21:29 ` Jason Rumney
2008-01-29 21:35 ` Reuben Thomas
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.1.00.0801292104260.7401@localhost.localdomain \
--to=rrt@sc3d.org \
--cc=bug-gnu-emacs@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).