all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jhd <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org
Subject: Re: Bad Protocol request 77
Date: Fri, 1 Jul 2005 19:58:57 +0200	[thread overview]
Message-ID: <8DB6EBD4-04FB-4769-A3E3-DAE950FC9595@swipnet.se> (raw)
In-Reply-To: <87oe9ma71z.fsf-monnier+emacs@gnu.org>

>> As you had a recipe for reproducing this, it is probably the œ   
>> character
>> that is either miscoded in the string argument (the  penultimate  
>> argument,
>> an XChar2b *) or it is missing in the font used  for bold.  If you  
>> can print
>> the values in the XChar2b* (the last  argument to XDrawImageString16
>> specifies the length in characters,  i.e. bytes/2) and use xfd to  
>> inspect
>> the font used, you should be  able to tell if all characters in  
>> the XChar2b*
>> are present in the font.
>>
>
> It's indeed missing from the font,

I don't know if Emacs can do much about this.  Perhaps we could  
handle the error somehow, but there might be many characters passed  
to XDrawImageString16 and not drawing all of them would look bad.  If  
it where only one an empty rectangle could be drawn instead.

     Jan D.

      reply	other threads:[~2005-07-01 17:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-29  5:53 Bad Protocol request 77 Stefan Monnier
2005-06-29  6:06 ` Stefan Monnier
2005-06-29 15:05 ` jhd
2005-06-29 16:41   ` Stefan Monnier
2005-07-01 10:05     ` jhd
2005-07-01 15:19       ` Stefan Monnier
2005-07-01 17:58         ` jhd [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=8DB6EBD4-04FB-4769-A3E3-DAE950FC9595@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@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 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.