|
![](/i/fill.gif) |
Ron Parker schrieb in Nachricht <36bb606c.0@news.povray.org>...
>>Remco's program needs Windows to plot the given string onto the bitmap.
>>Perhaps the freetype lib could do the same.
>
>Time to write a macro to do it with the superpatch and no external
>code. Parse time would probably suffer, though... :)
If you can write a #macro to write a ttf to a bitmap and then read the
individual pixels, be my guest. Of course you could make an orthographic
picture of a ttf text, save it as .tga and then use this to read the pixels,
but you'd really have to wait a bit for a result.
Better use some ANSI-C thingy: simple enough, if you can use the Freetype
lib, I think.
I'll give it a try. I downloaded DJGPP for DOS and will install it and try
the Freetype libs. Keeps me off the street (like a friend's mother always
used to say, when we were still younger).
--
Rudy Velthuis
Post a reply to this message
|
![](/i/fill.gif) |