From: jhd <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org
Subject: Re: Bad Protocol request 77
Date: Fri, 1 Jul 2005 12:05:57 +0200 [thread overview]
Message-ID: <0169E5CE-9890-4858-A170-7D3A0EFCBF7C@swipnet.se> (raw)
In-Reply-To: <jwv7jgddslg.fsf-monnier+emacs@gnu.org>
>
>> Can you print out the error string (error parameter to
>> x_error_handler)?
>> 77 is just XDrawImageString16 which is in the second backtrace as
>> expected.
>> But it can generate different errors. I think it is a BadMatch,
>> which
>> usually indicates bad input to XDrawImageString16. You should be
>> able to
>> walk up to the stack frame that calls XDrawImageString16 and examine
>> the input.
>>
>
> It's indeed a BadMatch, but I don't know what part of the input
> would be
> interesting to examine or what legitimate values should look like,
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.
Jan D.
next prev parent reply other threads:[~2005-07-01 10:05 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 [this message]
2005-07-01 15:19 ` Stefan Monnier
2005-07-01 17:58 ` jhd
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=0169E5CE-9890-4858-A170-7D3A0EFCBF7C@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.