POV-Ray : Newsgroups : povray.beta-test : sort.pov Server Time
22 Dec 2024 14:19:32 EST (-0500)
  sort.pov (Message 1 to 10 of 10)  
From: ThH
Subject: sort.pov
Date: 3 Mar 2016 12:21:23
Message: <56d87293$1@news.povray.org>
sort.pov from /scenes/incdemo gives me an error on Linux:

File 'sort.pov' line 82: Possible Parse Error: Cannot find file 'arial.ttf',
  even after trying to append file type extension.
File 'sort.pov' line 82: Possible Parse Error: Cannot open font file.
Fatal error in parser: Cannot open file.
Render failed

Snippet from sort.pov:

8< snip >8
text{
//ttf "timrom.ttf", "Colors before sorting:", .1, 0
   ttf "arial.ttf", "Colors before sorting:", .1, 0
   pigment { rgb 1 }
   scale .8
   translate <-6, 3.9>
}

CreateBoxes(1)

text{
// ttf "timrom.ttf", "Colors after sorting (by brightness):", .1, 0
   ttf "arial.ttf", "Colors after sorting (by brightness):", .1, 0
   pigment { rgb 1 }
   scale .8
   translate <-6, -1.1>
}
8< snip >8

I'd suggest using the timrom.ttf instead of arial.ttf, because 
timrom,ttf is shipped whith POV-Ray :)

-- 
Thorsten aka ThH


Post a reply to this message

From: Bald Eagle
Subject: Re: sort.pov
Date: 3 Mar 2016 12:35:00
Message: <web.56d874ae2db0fb525e7df57c0@news.povray.org>
Do you have your path set to include your font directory?

Edit your povray.ini file and append
Library_Path="C:\WhereverYourFontsAre"


Post a reply to this message

From: ThH
Subject: Re: sort.pov
Date: 3 Mar 2016 12:46:26
Message: <56d87872$1@news.povray.org>
Am 03.03.2016 um 18:30 schrieb Bald Eagle:

> Do you have your path set to include your font directory?
>
> Edit your povray.ini file and append
> Library_Path="C:\WhereverYourFontsAre"

Thanks Bald Eagle, but I'm on Linux here. There is no C:/... for me.

I'm having a bunch of fonts installed here, but arial.ttf is not present 
here.

Recommended timrom.ttf, because it comes with POV-Ray (should this way 
be present on every system, that has our raytracer installed) and 
already is in sort.pov :))


Post a reply to this message

From: Le Forgeron
Subject: Re: sort.pov
Date: 3 Mar 2016 13:21:04
Message: <56d88090$1@news.povray.org>
Le 03/03/2016 18:47, ThH a écrit :
> Am 03.03.2016 um 18:30 schrieb Bald Eagle:
> 
>> Do you have your path set to include your font directory?
>>
>> Edit your povray.ini file and append
>> Library_Path="C:\WhereverYourFontsAre"
> 
> Thanks Bald Eagle, but I'm on Linux here. There is no C:/... for me.
> 
> I'm having a bunch of fonts installed here, but arial.ttf is not present here.
> 
> Recommended timrom.ttf, because it comes with POV-Ray (should this way be present on
every system, that has our raytracer installed) and already is in sort.pov :))
> 

arial.ttf is a font from Microsoft (well, actually Monotype), you can easily find it
on your favorite search engine, but you might need a bit of cash for internet.
That's the world of pay for your software overthere.

It's one of the largest font, in term of glyphes (3988 in version 6.80, quite an
evolution since 1.0 with 220)


Post a reply to this message

From: ThH
Subject: Re: sort.pov
Date: 3 Mar 2016 13:44:59
Message: <56d8862b$1@news.povray.org>
Am 03.03.2016 um 19:21 schrieb Le_Forgeron:

> arial.ttf is a font from Microsoft (well, actually Monotype), you can easily find it
on your favorite search engine, but you might need a bit of cash for internet.
> That's the world of pay for your software overthere.

Right Le Forgeron. I know arial very well. Been on Win upto 98...

On my system there are some arial-lookalikes (for free), but you can't 
be sure, to find these on Win, Mac, and, and, and.

Again... timrom.ttf is shipped with POV-Ray :) Why not use it?

Would even save some lines of lines of code. Smaller download this way...

Excuse, just kiddin'!

Side note: It's ok for me having to transfer money to my ISP... But for 
nothing more, as far as the net is concerned ;)

Somewhat oldschool, isn't it?


Post a reply to this message

From: Alain
Subject: Re: sort.pov
Date: 3 Mar 2016 17:54:46
Message: <56d8c0b6@news.povray.org>

> Am 03.03.2016 um 18:30 schrieb Bald Eagle:
>
>> Do you have your path set to include your font directory?
>>
>> Edit your povray.ini file and append
>> Library_Path="C:\WhereverYourFontsAre"
>
> Thanks Bald Eagle, but I'm on Linux here. There is no C:/... for me.
>
> I'm having a bunch of fonts installed here, but arial.ttf is not present
> here.
>
> Recommended timrom.ttf, because it comes with POV-Ray (should this way
> be present on every system, that has our raytracer installed) and
> already is in sort.pov :))
>

arial.ttf is a standard font that come with all versions of Windows 
since Windows 3.0 or maybe earlier. It's copyrighted but free of charge. 
It's NOT included with any other OS.
If you have, or had, any version of Windows comming with it, you can 
copy it to Linux or MacOS.


Post a reply to this message

From: clipka
Subject: Re: sort.pov
Date: 3 Mar 2016 18:14:26
Message: <56d8c552$1@news.povray.org>
Am 03.03.2016 um 18:22 schrieb ThH:

> I'd suggest using the timrom.ttf instead of arial.ttf, because
> timrom,ttf is shipped whith POV-Ray :)

Well, that might be the reason why there already are (commented-out)
lines with "timrom.ttf" in there :)


Post a reply to this message

From: ThH
Subject: Re: sort.pov
Date: 3 Mar 2016 21:36:25
Message: <56d8f4a9@news.povray.org>
Am 03.03.2016 um 23:56 schrieb Alain:

> arial.ttf is a standard font that come with all versions of Windows
> since Windows 3.0 or maybe earlier. It's copyrighted but free of charge.

Right Alain. I stumbled in the world of Win in it's 3.11 days, if I 
recall it correctly. Pretty sure arial.ttf was present.

> It's NOT included with any other OS.
POV-Ray is shipping crystal.tff, cyrvetic.ttf and timrom.ttf.

These are present on any OS running POV-Ray. They are in the 
include-folder... POV-Ray will find them easily ;)

> If you have, or had, any version of Windows comming with it, you can
> copy it to Linux or MacOS.

Read this somewhere else: This is Linux-country... On a quiet night you 
can hear Windows reboot :))

I like the idea of only using free stuff!

If I'd need the ariallook, I'd use one of it's free clones. I'm fine 
here :)))


Post a reply to this message

From: ThH
Subject: Re: sort.pov
Date: 3 Mar 2016 21:40:35
Message: <56d8f5a3$1@news.povray.org>
Am 04.03.2016 um 00:14 schrieb clipka:

> Well, that might be the reason why there already are (commented-out)
> lines with "timrom.ttf" in there :)

I was sure there must be a reason for this ;)


Post a reply to this message

From: Sven Littkowski
Subject: Re: sort.pov
Date: 4 Mar 2016 23:34:19
Message: <56da61cb$1@news.povray.org>
Yes, ThH, I too would recommend to simply download and install that free
font. And it makes sense: each font has its own spacing and distances
and heights and so on. You can substitute with any other font, but the
risk is, that the sample scene won't look like intended by its author.
Maybe the substitute font is a little bit wider, or higher. Something
like this can destroy the perfection of an entire scene, sometimes. Just
download and install any missing font from the POV-Ray scene files, this
is my honest advise.






On 03.03.2016 21:37, ThH wrote:
> Am 03.03.2016 um 23:56 schrieb Alain:
> 
>> arial.ttf is a standard font that come with all versions of Windows
>> since Windows 3.0 or maybe earlier. It's copyrighted but free of charge.
> 
> Right Alain. I stumbled in the world of Win in it's 3.11 days, if I
> recall it correctly. Pretty sure arial.ttf was present.
> 
>> It's NOT included with any other OS.
> POV-Ray is shipping crystal.tff, cyrvetic.ttf and timrom.ttf.
> 
> These are present on any OS running POV-Ray. They are in the
> include-folder... POV-Ray will find them easily ;)
> 
>> If you have, or had, any version of Windows comming with it, you can
>> copy it to Linux or MacOS.
> 
> Read this somewhere else: This is Linux-country... On a quiet night you
> can hear Windows reboot :))
> 
> I like the idea of only using free stuff!
> 
> If I'd need the ariallook, I'd use one of it's free clones. I'm fine
> here :)))


Post a reply to this message

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