POV-Ray : Newsgroups : povray.general : text around a circle : Re: text around a circle Server Time
8 Aug 2024 14:24:30 EDT (-0400)
  Re: text around a circle  
From: Matt Giwer
Date: 12 Dec 2000 23:16:28
Message: <3A36F81C.7A9FF731@ij.net>
Ron Parker wrote:

> On Tue, 12 Dec 2000 20:29:35 -0500, Matt Giwer wrote:

> >       But divide by the number of letters to find the degrees apart. Create
> >each letter separately. R being the radius of your circle, x = r
> >sin(angle) y = r cos(angle). Add a little to r for the descenders below
> >the line.

> If you're using a proportional font, don't just divide by the number of
> letters.  Multiply the width of the letter by the total angle you want the
> text to cover, then divide by the width of the text.

	Well taken. But ...  

	If I read the description in the docs correctly, the first letter (and
I say create one letter at a time, rotate (see oops!) and translate
separately) starts at 0,0 x,y with descenders in -y. Therefore if
creating single letters and moving them the proportional spacing has no
impact. 

	One might wish to shift them by half the spacing to see what looks
better. I can not think of a logo as being described that uses true
proportional spacing. 

Oops!

	Rotate before translate by the angle of placement, the first letter by
minus z angle. 

-- 
Any activity that can be put at risk of being regulated requires
those involved to become political contributors. The Mafia was 
more honest about it. 
	-- The Iron Webmaster, 115


Post a reply to this message

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