gsumi v0.7 - Pressure sensitive "ink" drawing

By Owen Taylor <owt1@cornell.edu>

What is gsumi?

gsumi is essentially a port of xink by Raph Levien to the gtk user interface toolkit. See the file README.xink for details about the original program. Almost all of the drawing/rendering code and all of the clever ideas in the implementation are due to Raph.

Briefly, the program allows drawing in black (pen) or white (eraser) on a high resolution bitmap which is filtered down to screen resolution. XInput devices can be used (with pressure support), and different tools and tool properties can be assigned to each device.

The primary purpose of this project was was to create a testbed for my ideas about how XInput support should be added to the GIMP. Quite a bit of the code (the gximapper interface, the gxid daemon, and the input dialog) could be used for that purpose, and has now (v0.5) been moved into a modified GTK library.

More information about XInput and the GIMP is available here.

Version 0.8 is a beta release (If no major bugs are reported, the next release will probably be 1.0.) As far as I know, the code is still untested for any server other than XFree86 (on Linux and FreeBSD) and any XInput device other than a Wacom tablet. If you get it working with any other combination, please let me know. Bug reports and patches are appreciated, as well as general comments about the interface.

Why the name?

I was originally planning to call this gink (gtk+xink, contracted), but that seemed too close to gimp. So I used the Japanese word for (Japanese) ink instead: (read sumi). It's probably a bit misleading since the program doesn't simulate the action of a Japanese brush (an application for tilt?), but with the eraser, the correspondence to ink was already a bit poor. As a side note, the eraser probably really should be thought of as chalk, since that's what (lit. white ink, read hakuboku) means in Japanese.

What's new in v0.8

What's new in v0.7

What's new in v0.6

What's new in v0.5

What's new in v0.4

What's new in v0.3

Requirements

You'll need the libgtk and libgdk libraries from gtk+970916 or later. (Available from ftp://ftp.gimp.org in the /pub/gtk directory.) To enable XInput support, you'll need to compile GTK with the --with-xinput=xfree or --with-xinput=gxid options. See the section Configuring XInput below for more information.

Availability

At least for right now, I have put source for gsumi on my web page: (http://www.msc.cornell.edu/~otaylor/gsumi/gsumi.html)

Installation

  • Edit the Makefile to suit your system.
  • Type 'make'.
  • Put the binary 'gsumi' (and if you are using it, 'gxid') somewhere in your path

    Use

    I hope the operation is reasonably intuitive, but a few notes:

    Reporting Bugs

    Email bugs to me ( <owt1@cornell.edu>). Please let me know:

    Configuring XInput

    You'll need either to use the gxid daemon, or a sufficiently new version of XFree86. More information about configuration is available here . It's slanted towards using XInput supporting versions of GTK with the GIMP, but much of the information will apply to gsumi as well.

    Copyright

      gsumi version 0.8
      Copyright 1997 Owen Taylor 
    
      based upon:
    
      xink version 0.02
      Copyright 1997 Raph Levien 
    
    The license of gsumi is that of xink:
    
      This code is free for commercial and non-commercial use or
      redistribution, as long as the source code release, startup screen,
      or product packaging includes this copyright notice.
    
    Note however, that some portions of the user-interface code may be
    covered by the GPL and/or LGPL. See the notices at the top of each
    source code file for details.
    

    Return to my home page