POV-Ray : Newsgroups : povray.unix : Announce:Text justification assistant script : Re: Announce:Text justification assistant script Server Time
28 Jul 2024 16:23:22 EDT (-0400)
  Re: Announce:Text justification assistant script  
From: Jon A  Cruz
Date: 29 Oct 1999 00:31:32
Message: <38192369.CA5FE3BE@geocities.com>
blo### [at] theplace wrote:

> If theres a quick way to get aquainted with the algorythms used in ttf
> and the way povray handles ttf (or Xfonts for that matter), then that
> would be the quickest one, because it could just prod the font file,
> instead of running a render. I just need to know (without extensive
> knowledge of povray internals) the rules povray uses to space and align
> text. The font info should be trivial?
>
> It would be good to keep this as a seperate tool for now so that people
> can avoid rebuilds, for instance I use macs, nt boxes, 95boxes, Amigas
> and linux boxes for rendering, but I only have worthwhile compilers on
> Linux as this is my working environment. I figure povray will probably
> have to 'grow' commands to do this in a future release anyway. This way
> I can generate scenes for any version of povray.

Well, if that is some of what you are looking at...

You should consider doing something in Java. Can run on most those boxes you
mentioned without even a recompile (although the Amiga is a little of a
squeeze).

I recently coded up a quick Java/Swing tool to view the chunks of a .TTF file
and to display info on the encoding tables. About 2 days to get that done.

It's not too hard to follow the algorithms in the POV-Ray sources.

--
"My new computer's got the clocks, it rocks
But it was obsolete before I opened the box" - W.A.Y.


Post a reply to this message

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