[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pasting from X clipboard sometimes uses different font
From: |
Reuben Thomas |
Subject: |
Re: Pasting from X clipboard sometimes uses different font |
Date: |
Tue, 29 Jan 2008 21:07:43 +0000 (GMT) |
User-agent: |
Alpine 1.00 (DEB 882 2007-12-20) |
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