Re: UTF-8 font problems in Snow Leopard X11
Re: UTF-8 font problems in Snow Leopard X11
- Subject: Re: UTF-8 font problems in Snow Leopard X11
- From: Tom Lane <email@hidden>
- Date: Thu, 17 Sep 2009 18:40:39 -0400
- Comments: In-reply-to Tom Lane <email@hidden> message dated "Thu, 17 Sep 2009 14:02:11 -0400"
I wrote:
> On the whole I suspect it'd be easier for me to try to find a smaller
> reproducer. If I dig into exmh a bit I should be able to find a line
> or two of Tcl that causes the same problem. Let me get back to you
> later today ...
Well, here's the reproducer:
$ cat bug.tcl
set widget [message .font]
pack $widget -side top
$widget config -font "-*-*-*-*-*-*-*-*-*-*-*-*-*-*" -text "foo"
$ /opt/tcl8.3/bin/wish8.3 -f bug.tcl
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 45 (X_OpenFont)
Value in failed request: 0x1c00006
Serial number of failed request: 36
Current serial number in output stream: 37
However it only fails for me with tcl 8.3.x, not with 8.4 or 8.5.
So that suggests strongly that this is basically an old tcl bug.
I'm still curious though why the behavior manifests with Snow Leopard's
X11 and not earlier releases. As I said, I've been using this mail
program for a lot of years, and I never saw a crash like this before
updating to SL ...
regards, tom lane
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden