POV-Ray : Newsgroups : povray.beta-test : String handling bug : Re: String handling bug Server Time
5 Nov 2024 05:25:50 EST (-0500)
  Re: String handling bug  
From: Thorsten Froehlich
Date: 7 Sep 2001 11:11:14
Message: <3b98e392@news.povray.org>
In article <3B98B29A.AC3C91D3@sycomore.fr> , Adrien Beau 
<adr### [at] sycomorefr>  wrote:

> If you use a string in a text{} bloc at the appropriate place,
> POV "knows" it is a filename and doesn't transform the backslahes.
> On the other hand, if you define a string, POV has no way to
> know what use it will be put to, so it has to parse it and change
> the backslashes. Just guessing, of course.

This is exactly how it works.

BTW, the proper way to solve the problem with the scene would be not to use
the absolute path in the first place.  A library path should be used in the
INI file.  For fonts putting the lib path in the povray.ini file would be
the best solution.  This would also allow others to use the scene without
modification.


    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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