Escher-based X peers

Today I’ve checked in my Escher based X peers in GNU Classpath. This AWT peer implementation is done completely without native code and connects to an X server directly via TCP or Unix sockets. It is capable of running many Swing apps, does AWT 1.1 style graphics and fonts and is quite fast.

The next step will be a Graphics2D impl on top of Escher’s GLX implementation. This will be quite some work, especially because OpenGL doesn’t support all features that Graphics2D requires, like clipping against arbitrary shapes, stroking and - most importantly - filling arbitrary polygons (these need to be tesselated into triangle-like things before). Also, this depends on some serious work on Classpath’s TTF font implementation, I need to add hinting in order to get smaller glyphs rendered without making the viewer blind ;-)

Leave a Reply