unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
To: Reuben Thomas <rrt@sc3d.org>
Cc: Emacs Bugs <bug-gnu-emacs@gnu.org>
Subject: Re: Pasting from X clipboard sometimes uses different font
Date: Tue, 29 Jan 2008 21:29:06 +0000	[thread overview]
Message-ID: <479F9AA2.1080404@gnu.org> (raw)
In-Reply-To: <alpine.DEB.1.00.0801292104260.7401@localhost.localdomain>

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	other threads:[~2008-01-29 21:29 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
2008-01-29 21:29   ` Jason Rumney [this message]
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=479F9AA2.1080404@gnu.org \
    --to=jasonr@gnu.org \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=rrt@sc3d.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).