On Sat, Nov 16, 2013 at 1:35 AM, Stephen J. Turnbull <stephen(a)xemacs.org>wrote:
Jeff Sparkes writes:
No problem, as long as we don't release it that way. I need to look
into the --with-gtk vs --with-xft issue too. (Not your problem unless
you really want it, Xft is my baby more or less.)
Pango can use xft, if you want to unify it that way. Cairo would cover
> I'll probably get a chance to try this on my ancient Mac soon.
> Maybe it'll crash in the same place and I can figure out
> a solution.
I wouldn't put money on it. Your Mac is a PPC ISTR, and mine is Intel.
> The mac isn't really a priority for Gtk, right?
GTK, probably not, but glib is going to be an issue if Aidan is right
and Pango is the best way forward for state-of-the-art font handling.
I also like the idea of a cairo-based redisplay, which might allow us
to get pretty close to native capability on all consoles cairo
supports. Both pango and cairo depend on glib.
Ok. Maybe redisplay-xlike can become redisplay-cairo. Long term, using
might mean less platform specific code.
I didn't want to use #elif so that the HAVE_GTK2 chunks could be
> ripped out easily.
I think the #if (GTK_VERSION == 2) approach handles that. I don't
know about GTK_CHECK_VERSION, but I guess that's equivalent and
built-in to GTK? Keeping config.h (and configure) out of version
checking sounds interesting to me (although there may be problems I
haven't thought through).
Yes, GTK_CHECKVERSION allows checks for major, minor and micro versions.
Another possibility for the keystroke stuff would be a gtk3keys2gtk2.h
file which just #defines all the gtk3 keys in terms of gtk2 key defines.
Gtk 3 has gdkkeysyms-compat.h. I could use that, but there aren't that
keys used directly.
Yes. Some code is disabled, and doesn't call those functions
> Now that Gtk 3 is mostly working, I'll be getting to that.
Great! If you're not testing with clang yet, let me know "when" and
I'll send you the clang warnings (they're different from GCC, and
I regularly build with clang, the errors and warnings are much better.
> I haven't thought forward yet. I'm happy to get a
single font to
> load and display. :-)
Aha ... "sorry, Uwe, it will be a few iterations." :-P
> Pango works with fontconfig, so I'd be happy to use it.
OK, I'll take a look at it. Unfortunately my (old) Parallels on my
(old) Mac runs Ubuntu at really unusable speeds, so I don't have
regular access to a non-Mac GUI at the moment.
I can start looking at that soon too.
Thanks for your efforts on GTK!
Thanks. It's been learning experience. I knew nothing of XEmacs
internals, Gtk, pango or cairo when I started.
XEmacs-Beta mailing list