[9368] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: Music fonts

daemon@ATHENA.MIT.EDU (Sergei O. Naoumov)
Fri Oct 16 19:49:05 1998

From: "Sergei O. Naoumov" <serge@physics.unc.edu>
Date: Fri, 16 Oct 1998 19:48:50 -0400 (EDT)
To: gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

> I definitely need scaling.  So, how would I go about setting up a font and
> "vectorizing" the notes?  Can I look at what you've done with the Hershey
> fonts?

I just finished, and there is nothing there (like configure, makefiles)
except the code. The snapshot is

	http://www.physics.unc.edu/~serge/gtkhershey.gif
	
I also just sent a message to the list asking Gtk developers if they want to
include it into the core Gtk. If they do, I won't need to write all the
configure, makefile, etc. stuff. If they don't want it in there, I'll make
it an add-on package.

Speaking of the "vectorization", well, you probably have to do the same
thing that Herdshey himself did back in 50th (or 60th): draw a symbol and
see what vectors it is composed of. Then mark the vertices with the pairs of
X and Y and store them. If you decide to go ahead with this approach, I'll
send you some stuff from GNU plotutils and pgplot which describes how the 
characters are stored.

The whole reason I adopted Hershey for Gtk is that I need Greek, my own
Cyrillic and symbol fonts to draw mathematical expressions, and I need them
scaled and rotated in an arbitrary way. Current Gtk's font support does
not provide all that.

	Sergei
	

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post