POV-Ray : Newsgroups : povray.beta-test : String handling bug : String handling bug Server Time
5 Nov 2024 05:24:12 EST (-0500)
  String handling bug  
From: N'Jarl the Libarian
Date: 7 Sep 2001 02:26:04
Message: <3b98687c@news.povray.org>
Hi,

    Running a first test or two of existing code (MegaPov 0.7)  I believe I
have found a small problem:

    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"
        #declare theChar = 110;

        #declare character =
          text { ttf  font_to_map chr(theChar) 0.1, 0
             pigment { color Black }
             scale 10
             translate <0,0,0>
          }


Post a reply to this message

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