PDA

View Full Version : GlyphTool (Cocoa version + GL API)


unknown
2006.12.25, 10:15 PM
So GlyphTool is nearing completion I suppose,
it's a general tool for laying out fonts into a bitmap, AND an API for slicing it up and rendering strings of text in an OpenGL context.

There is a C API (which is of course useable from C++, and fully crossplatform/endian independant) as well as a Cocoa/ObjC API which makes use of plists to and a few other nice features from Cocoa.

The program currently supports ASCII and Extended ASCII, I may do a rewrite with unicode if I get enough requests from people using this.

Well the link is here:
http://fax.twilightcoders.net/GlyphTool/
please check it out

I hope this is useful to someone anyway
comments suggestions etc welcome :)

unknown
2006.12.31, 01:43 AM
ugh the page was down for a few weeks :|
oh well, fixed now.

Skorche
2006.12.31, 02:47 AM
Very nice. I've been vacillating between ways of adding font support to my Ruby game environment. This seems simple enough that I'll probably go with it.

One problem though is the fractional character advancement makes for blurry fonts. Have you considered truncating the advancements?

quarus
2007.01.03, 07:51 AM
I hope this is useful to someone anyway
comments suggestions etc welcome :)

Very nice :) ! However it seems like i can only generate plist data files but none of the other data formats. Konsole tells me something like:

GlyphTool[8393] *** -[NSPathStore2 cStringUsingEncoding:]: selector not recognized


I am running Mac OS 10.3.9.

Duane
2007.01.07, 03:46 PM
konsole? you using kde or something?

anyway, that's excellent.

quarus
2007.01.16, 10:08 AM
konsole? you using kde or something?


No, just a typo ... :p