From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jhd Newsgroups: gmane.emacs.devel Subject: Re: Bad Protocol request 77 Date: Fri, 1 Jul 2005 19:58:57 +0200 Message-ID: <8DB6EBD4-04FB-4769-A3E3-DAE950FC9595@swipnet.se> References: <87fyv1d84x.fsf-monnier+emacs@gnu.org> <8DCDF4A8-1124-4F34-8C44-68BD7A647A31@swipnet.se> <0169E5CE-9890-4858-A170-7D3A0EFCBF7C@swipnet.se> <87oe9ma71z.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1120242692 25868 80.91.229.2 (1 Jul 2005 18:31:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2005 18:31:32 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 01 20:31:30 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DoQI8-00051R-1T for ged-emacs-devel@m.gmane.org; Fri, 01 Jul 2005 20:31:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DoQQd-0005bx-3n for ged-emacs-devel@m.gmane.org; Fri, 01 Jul 2005 14:39:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DoQQF-0005Wc-HT for emacs-devel@gnu.org; Fri, 01 Jul 2005 14:39:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DoQQD-0005Vr-Fn for emacs-devel@gnu.org; Fri, 01 Jul 2005 14:39:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DoQLQ-0004QD-Aw for emacs-devel@gnu.org; Fri, 01 Jul 2005 14:34:32 -0400 Original-Received: from [195.54.107.70] (helo=mxfep01.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DoPsV-0006xa-Nh for emacs-devel@gnu.org; Fri, 01 Jul 2005 14:04:40 -0400 Original-Received: from coolsville.localdomain ([83.226.180.210] [83.226.180.210]) by mxfep01.bredband.com with ESMTP id <20050701175919.UXZQ24612.mxfep01.bredband.com@coolsville.localdomain>; Fri, 1 Jul 2005 19:59:19 +0200 In-Reply-To: <87oe9ma71z.fsf-monnier+emacs@gnu.org> Original-To: Stefan Monnier X-Mailer: Apple Mail (2.730) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:40045 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40045 >> As you had a recipe for reproducing this, it is probably the =9C =20 >> character >> that is either miscoded in the string argument (the penultimate =20 >> argument, >> an XChar2b *) or it is missing in the font used for bold. If you =20= >> 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 =20 >> inspect >> the font used, you should be able to tell if all characters in =20 >> 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 =20 handle the error somehow, but there might be many characters passed =20 to XDrawImageString16 and not drawing all of them would look bad. If =20= it where only one an empty rectangle could be drawn instead. Jan D.