POV-Ray : Newsgroups : povray.windows : rendering problems eagle 3d and pov ray : Re: rendering problems eagle 3d and pov ray Server Time
1 Jun 2024 02:33:14 EDT (-0400)
  Re: rendering problems eagle 3d and pov ray  
From: Alain
Date: 2 Jul 2009 14:07:30
Message: <4a4cf762$1@news.povray.org>

> #local txt = text{handelgo_font ,value,40,0 scale<diam/3,diam/3,diam/3>
> translate<-diam/1.5,diam,-20>}
> 
> "C:\Documents and Settings\user\My Documents\POV-Ray\v3.7\include\cap.inc" line
> 30: Parse Error: Expected
> 'ttf', undeclared identifier 'handelgo_font' found instead
> ----------------------------------------------------------------------------
> 
> I so hate this error lol. What should it read?
> 
> 
> 
> 

#local txt = text{ttf "handelgo_font.ttf" ...}

you need "ttf" after the opening "{"

The name of the font must be enclosed between double quotes. Otherwise, 
it's treated as a user variable.

It's preferable to add the extention to the name but it's not absolutely 
required.




Alain


Post a reply to this message

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