POV-Ray : Newsgroups : povray.general : Changes to text object? Server Time
3 Oct 2025 04:34:29 EDT (-0400)
  Changes to text object? (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: m@b
Subject: Changes to text object?
Date: 2 Oct 2025 03:40:46
Message: <68de2c7e$1@news.povray.org>
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@


Post a reply to this message

From: jr
Subject: Re: Changes to text object?
Date: 2 Oct 2025 05:15:00
Message: <web.68de41bf55f274c76ddd22546cde94f1@news.povray.org>
hi,

"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.

strange, what version are you using ?  the above parses "clean" for me (with
#version directive and global_settings{} block) using alpha.9945627 and beta.2.


regards, jr.


Post a reply to this message

From: Bald Eagle
Subject: Re: Changes to text object?
Date: 2 Oct 2025 06:45:00
Message: <web.68de56da55f274c71f9dae3025979125@news.povray.org>
"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


Post a reply to this message

From: m@b
Subject: Re: Changes to text object?
Date: 2 Oct 2025 07:50:48
Message: <68de6718@news.povray.org>
On 02/10/2025 17:11, jr wrote:
> hi,
> 
> "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.
> 
> strange, what version are you using ?  the above parses "clean" for me (with
> #version directive and global_settings{} block) using alpha.9945627 and beta.2.
> 
> 
> regards, jr.
> 

#version 3.7;
global_settings{ assumed_gamma 1.5 }


Post a reply to this message


Attachments:
Download 'image1.png' (28 KB)

Preview of image 'image1.png'
image1.png


 

From: m@b
Subject: Re: Changes to text object?
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

From: jr
Subject: Re: Changes to text object?
Date: 2 Oct 2025 08:10:00
Message: <web.68de6a7355f274c76ddd22546cde94f1@news.povray.org>
hi,

"m@b" <sai### [at] googlemailcom> wrote:
> ...
> > strange, what version are you using ? ...

thanks for the screenshot.  unsure of exact details but think the whole alpha
line post 9945627 was abandoned / "rolled back" by clipka, causing problems
(then) for 'qtpovray' etc.  I suggest getting a different executable.


> #version 3.7;

out of interest, why not 3.8 ?


regards, jr.


Post a reply to this message

From: Bald Eagle
Subject: Re: Changes to text object?
Date: 2 Oct 2025 08:10:00
Message: <web.68de6b7855f274c7d0f21c5825979125@news.povray.org>
"m@b" <sai### [at] googlemailcom> wrote:

> #version 3.7;

But you're using 3.8


Post a reply to this message

From: jr
Subject: Re: Changes to text object?
Date: 2 Oct 2025 08:15:00
Message: <web.68de6c7855f274c76ddd22546cde94f1@news.povray.org>
hi,

"m@b" <sai### [at] googlemailcom> wrote:
> ...
> If I take out the ttf I get:
>   "Characters01.inc" line 275: Parse Error: Expected 'ttf or internal',
> string identifier found instead"

why ??  the example you posted is fine, nothing wrong with the code as written.


regards, jr.


Post a reply to this message

From: Bald Eagle
Subject: Re: Changes to text object?
Date: 2 Oct 2025 08:30:00
Message: <web.68de703455f274c7e2c47eda25979125@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:

> why ??  the example you posted is fine, nothing wrong with the code as written.

Because pre-second-coffee, earlier in the thread, I was curious if:

1. it would work.   Like auto-detect image_map file format
and
2. it would solve the issue because some keyword thing triggered some extra
check that issued the warning.

- BW


Post a reply to this message

From: m@b
Subject: Re: Changes to text object?
Date: 2 Oct 2025 20:57:03
Message: <68df1f5f$1@news.povray.org>
On 02/10/2025 20:09, Bald Eagle wrote:
> "m@b" <sai### [at] googlemailcom> wrote:
> 
>> #version 3.7;
> 
> But you're using 3.8
> 
> 
> 
Makes no difference,

#version 3.8;

gives the same warning.


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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