Re: Lablgtk2 and gtk-osx

Pascal Cuoq <[email protected]> Thu, 24 Sep 2009 16:35:21 +0200
Newsgroups gmane.comp.lang.ocaml.lib.gtk
Message-ID <[email protected]>
> Well, this is nice to know, but unfortunately the character display is
> too buggy to make lablgtk2 usable with gtk-quartz on 10.6.  (See
> attached images.)  I gather that this has something to do with pango,
> and we have to wait until they update their code.

Interesting image. I have never had this particular flavor of
character misdisplay, and I am not transitioning to 10.6 until
everyone else has ironed out the bugs.

Some ideas, for what they are worth:

* I worked around display problems in Frama-C by installing
the DejaVu Sans fonts and making sure the application
was using them. Before I did that, the non-ascii characters
were displayed wrong, so there was at least a little bit of
similarity with your problem.

* Binary compatibility in Snow Leopard for Leopard-compiled
applications is probably better than source-level compatibility
(Leopard-compiled Frama-C binaries work on Snow Leopard).
So if your intention is to make binaries that work on Snow
Leopard, a shortcut would be to compile them on Leopard.
In order not to irritate users (including yourself) who already use
MacPorts for other packages, I would recommend that you
compile the MacPorts software from sources and configure it
to install in another directory, such as /opt/32bit/

If you are willing to do that, the instructions are on the wiki
http://wiki.inkscape.org/wiki/index.php/CompilingMacOsX
at the section:
"Installing a second Macports tree (recommended approach)"

Your mileage may, as they say, vary.

Pascal