POV-Ray : Newsgroups : povray.newusers : Spacing text using min_extent and max_extent : Re: Spacing text using min_extent and max_extent Server Time
4 Nov 2024 23:21:19 EST (-0500)
  Re: Spacing text using min_extent and max_extent  
From: David Fontaine
Date: 7 Aug 2001 16:14:34
Message: <3B7049E3.4075B833@faricy.net>
Reuben Pearse wrote:
> 
> Hi all,
> 
> Trying to do scene in which I apply a texture to individual letters in a
> word (as opposed to applying the texture to the whole word). However this
> involves looping through the code for each letter - this then makes
> positioning the text a problem - each letter in the word is spaced equally -
> like when using a fixed width font.
> I have tried using the new megapov features min_extent and max_extent to
> work out the position for a letter based on the size/position of the last
> letter, but cannot get it working.
> Has anyone got any code that does this?

Well, that sounds like the right procedure, so it must be some little
coding error.  Can you post your code?

-- 
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

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