[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pasting from X clipboard sometimes uses different font

From: Jason Rumney
Subject: Re: Pasting from X clipboard sometimes uses different font
Date: Tue, 29 Jan 2008 21:29:06 +0000
User-agent: Thunderbird (Windows/20071031)

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).

Rather than going into hexl-mode, try pressing C-u C-x = on both characters and compare the results. I suspect that one of these is coming from the mule-unicode-0200-3fff character set, and the other from some other character set so uses a different font.

If you have a better matched iso10646-1 font on your system, you can define a fontset that explicitly includes that font for the mule-unicode-* charsets. See the section "Defining fontsets" in the Emacs manual for more details.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]