Hrvoje Niksic <hniksic(a)iskon.hr> writes:
> wmperry(a)aventail.com (William M. Perry) writes:
>
> > Having to worry about unique names for faces, whether they are
> > temporary or permanent, etc, etc, etc. gets kind of annoying.
> > Emacs/W3 goes to some pain to use temporary faces so that people
> > don't wonder what the w3-nil-nil-red-green face is all about.
>
> I did the same in Customize, but I don't remember it being a pain. See
> `widget-color-sample-face-get'.
Well, since Emacs/W3 does a _lot_ of screwing around, I didn't really want
a fully temporary face. So I have to cache them myself, etc, etc. Going
thru all the nastiness of querying the X server for matching fonts every
time a face went out of use would get really annoying. With CSS
stylesheets, the font checking gets pretty hairy.
> > Because so much is changing in the 21.2 stuff, I am going to
> > initially be working off of 21.1.9. When I get back to the 'free
> > time' hacking I want to move it up to 21.2 and maybe even do the
> > 'real' port to use Gtk canvas and friends to do the redisplay. That
> > would get you anti-aliased text,
>
> The canvas idea is cool, but it'll never work. Canvas is way too slow
> for handling the redisplay of an editor. What you'd have to do is handle
> events and use Gdk/X primitives (preferably Gdk only if you desire
> portability) to draw to the screen.
>
> This was in fact confirmed by Owen Taylor in Japan a year ago.
I keep hoping that it will get fast enough. :) Or computers/graphics cards
will. I was hacking on event-gtk.c last night and was wondering whether
anyone things XEmacs should start using the XInput extensions where
possible. Might be easy using the gdk_input_* routines.
-Bill P.