POV-Ray : Newsgroups : povray.general : soft text : Re: soft text Server Time
12 Aug 2024 21:26:41 EDT (-0400)
  Re: soft text  
From: Rudy Velthuis
Date: 6 Feb 1999 07:32:02
Message: <36bc3642.0@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.