POV-Ray : Newsgroups : povray.general : Changes to text object? : Re: Changes to text object? Server Time
2 Oct 2025 20:31:49 EDT (-0400)
  Re: Changes to text object?  
From: m@b
Date: 2 Oct 2025 08:06:52
Message: <68de6adc$1@news.povray.org>
On 02/10/2025 18:41, Bald Eagle wrote:
> "m@b" <sai### [at] googlemailcom> wrote:
>> I keep getting this error:
>>
>> "Text may not be displayed as expected. Please refer to the user manual
>> regarding changes in POV-Ray v3.8 and later."
>>
>> Here is my sdl line:
>>
>> #declare CapFont = "segoeprb.ttf";
>>
>> text { ttf CapFont, "Read my diary", 0.2, 0.0 pigment{rgb<0,0,1>*1.3}
>> scale 1.5    translate<12.0, 22.25, 012.49>}
>>
>> I am struggling to find the relevant documentation.
>> Any help please.
>>
>> Thanks.
>> m@
> 
> What's your #version directive?
> Something happened with clipka working on some of the code, and this started
> happening, and then it got fixed...   can't find the thread about that.
> 
> Also, is the ttf optional or required?
> 
> - BE
> 

#version 3.7;

If I take out the ttf I get:
  "Characters01.inc" line 275: Parse Error: Expected 'ttf or internal', 
string identifier found instead"


Post a reply to this message

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