Re: Some problems with X11 on Leopard 10.5.5
Re: Some problems with X11 on Leopard 10.5.5
- Subject: Re: Some problems with X11 on Leopard 10.5.5
- From: George Peter Staplin <email@hidden>
- Date: Sat, 22 Nov 2008 14:14:19 -0700
Quoted P G <email@hidden>:
Hi Everybody,
Hi,
I'm having a few problems with some sample applications that require X11.
My system:
Mac OS X 10.5.5
XQuartz 2.3.1 (xorg-server 1.4.2-apple17)
I have MacPorts installed and used it to install some sample
applications like
tkdiff, gtkwave (wave plotter), and magic (IC layout). On my X11
I've set xterm to "xterm -ls" so
I can automatically start X11 applications from the Mac's Terminal.app.
I'm getting some errors that I don't know how to solve. Can someone help me?
1st application: gtkwave
Xlib: extension "RANDR" missing on display "/tmp/launch-VwwR6X/:0".
Does it display windows and work otherwise? It should be non-fatal in
most cases.
on MacPorts I do have xrender library (0.9_03) installed.
2nd application: magic
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 151 (RENDER)
Minor opcode of failed request: 4 (RenderCreatePicture)
Serial number of failed request: 12376
Current serial number in output stream: 12531
Try:
env XLIB_SKIP_ARGB_VISUALS=1 /path/to/magic
Please let me know if that helps.
3rd application: tkdiff
Error in startup script: expected integer but got "bold"
(processing "-font" option)
invoked from within
".client.left.text tag configure inlinetag -background DodgerBlue
-font {TkFixedFont bold}"
That may be due to a change in Tk.
$ wish8.6
% pack [button .b -text Foo -font {TkFixedFont bold}]
expected integer but got "bold"
This is a better way of doing it:
$ wish8.6
% font create MyFixedFont {*}[font configure TkFixedFont] -weight bold
MyFixedFont
% pack [button .b -text Foo -font MyFixedFont]
% font configure MyFixedFont
-family monospace -size -12 -weight bold -slant roman -underline 0
-overstrike 0
I'm not sure what introduced the change, but Joe English (a Tk
developer and Tcl Core Team member) might know. It could be due to a
change from the core X11 font renderer to Xft. I will ask him if he's
around later today.
Also, the {*} or list expansion syntax is new in Tcl 8.5, so if you're
still targeting 8.4 that won't work. 8.4 is no longer officially
maintained though.
George
--
http://people.freedesktop.org/~gstaplin/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden