POV-Ray : Newsgroups : povray.beta-test : String handling bug : Re: String handling bug Server Time
31 Jul 2024 06:13:09 EDT (-0400)
  Re: String handling bug  
From: Ron Parker
Date: 7 Sep 2001 02:45:22
Message: <slrn9pgr82.2o0.ron.parker@fwi.com>
On Fri, 7 Sep 2001 07:23:01 +0100, N'Jarl the Libarian wrote:
>    The following code generates the error "font not found". Replacing the
>POV string variable font_to_map
>    with an actual string works.
>
>        #declare font_to_map = "c:\WINDOWS\FONTS\musical.ttf"

And what happens when you specify the backslashes the proper way?

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbt 1}hollow interior{media{emission T}}finish{
reflection.1}}#end Z(-x-x.2y)Z(-x-x.4x)camera{location z*-10rotate x*90}


Post a reply to this message

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