POV-Ray : Newsgroups : povray.newusers : Text dimensions : Text dimensions Server Time
29 Jul 2024 02:20:46 EDT (-0400)
  Text dimensions  
From: David Instone
Date: 14 Dec 2006 10:25:47
Message: <45816cfb@news.povray.org>
I am placing a simple text in my scene using the sample from the help like
this.

  text {
    ttf "timrom.ttf" "TEST TEXT" 1, 0
    rotate x*90 scale 5
    translate <-13, 0.5, 0>
    pigment { Black }
  }

My problem is that my reference is the lower left corner which makes it very
difficult to accurately position the text within the scene. I have a fair
bit of it to place :) Is there a way to get the centre or length and height
of the rendered string so as to calculate the centrepoint?

Thanks


Post a reply to this message

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