Andy Ross wrote:
> 
> Julian Foad wrote:
> > We need a different (or rather a complete) font.  This has been
> > mentioned before.  The PLIB guys said something like "It's easy to
> > create one."  We could supply one in Flight Gear, but really someone
> > ought to complete the one in PLIB.
> 
> I started thinking about this sort of thing, too.  Ripping* an
> existing truetype or postscript font into an antialiased texture is
> actually really easy -- render each glyph using ghostscript into a
> bitmap at 16x the intended resolution and downsample into a gray scale
> image.  I've been thinking about this over the past few days as a
> straightforward application of the same scripting I've used for the
> panels.
> 
> Problem is, I don't know anything about the glut font format, and a
> cursory look around the web didn't turn up any pointers.  Does anyone
> know this stuff well enough to write up a quick format document?
>

You don't need to create a GLUT font. You only need to create a *.rgb
texture file with the renderd letters for PLIB. Just have a look at
those that are already distributed with PLIB and the PLIB source code.

CU,
Christian

--
The idea is to die young as late as possible.        -- Ashley Montague


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to