POV-Ray : Newsgroups : povray.newusers : Use of non "letter" true type fonts Server Time
28 Nov 2024 08:40:30 EST (-0500)
  Use of non "letter" true type fonts (Message 1 to 10 of 19)  
Goto Latest 10 Messages Next 9 Messages >>>
From: The "D"
Subject: Use of non "letter" true type fonts
Date: 28 Feb 2001 00:27:25
Message: <3a9c8c3d@news.povray.org>
I have run accross an odd situation. I was trying to do some greek 3d
lettering with pov-ray but when I tried to use the font (a greek font dl'd
from a Christian site) I didn't get greek characters. Instead I got what
looked like a 1 and then some digital looking 0's (it may have been boxes
I'm not sure). Trying the standard windows symbol.ttf I got the proper
results. My question is, does povray require the font's to be 32-bit win95
fonts? I think the first font I tried was a win3.x 16bit font.



--
-The "D"
    A Thunderstorm is God's way of telling you you spend too much time on
the
computer
Email address given is a spam catcher only


Post a reply to this message

From: Pabs
Subject: Re: Use of non "letter" true type fonts
Date: 28 Feb 2001 03:41:26
Message: <3a9cb9b6@news.povray.org>
The \"D\" wrote:

> I have run accross an odd situation. I was trying to do some greek 3d
> lettering with pov-ray but when I tried to use the font (a greek font dl'd
> from a Christian site) I didn't get greek characters. Instead I got what
> looked like a 1 and then some digital looking 0's (it may have been boxes
> I'm not sure). Trying the standard windows symbol.ttf I got the proper
> results. My question is, does povray require the font's to be 32-bit win95
> fonts? I think the first font I tried was a win3.x 16bit font.

Before you go blaming POV :) try looking at each glyph with either a font
editing
program (check the links) or any font renderer.
ie the font viewing prog that comes with windows or the freetype renderer
plugin that comes with The Gimp.
Note that some normal win32 fonts won't work with freetype.

You may be able to fix the font by mucking around with the font's table
type(unicode/windoze/macsomething) using a font editor.

BTW AFAIK those boxes are usually the glyph for characters that the font does
not define.

other than that I dunno
--
Bye,
Pabs


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Use of non "letter" true type fonts
Date: 28 Feb 2001 10:29:42
Message: <3a9d1966$1@news.povray.org>
In article <3a9c8c3d@news.povray.org> , "The \"D\"" 
<web### [at] bsthypermartnet> wrote:

> I have run accross an odd situation. I was trying to do some greek 3d
> lettering with pov-ray but when I tried to use the font (a greek font dl'd
> from a Christian site) I didn't get greek characters. Instead I got what
> looked like a 1 and then some digital looking 0's (it may have been boxes
> I'm not sure). Trying the standard windows symbol.ttf I got the proper
> results. My question is, does povray require the font's to be 32-bit win95
> fonts? I think the first font I tried was a win3.x 16bit font.

Only characters in ASCII range (character code 0 to 127) are supported
in POV-Ray 3.1.  The boxes you see are default characters that will be
displayed when the corresponding character could not be found in the
font by the search method that POV-Ray uses to find a character inside
the font file.


     Thorsten


Post a reply to this message

From: Mike Williams
Subject: Re: Use of non "letter" true type fonts
Date: 28 Feb 2001 13:07:49
Message: <IZ4FJDA10Sn6EwJ4@econym.demon.co.uk>
Wasn't it The "D" who wrote:
>I have run accross an odd situation. I was trying to do some greek 3d
>lettering with pov-ray but when I tried to use the font (a greek font dl'd
>from a Christian site) I didn't get greek characters. Instead I got what
>looked like a 1 and then some digital looking 0's (it may have been boxes
>I'm not sure). Trying the standard windows symbol.ttf I got the proper
>results. My question is, does povray require the font's to be 32-bit win95
>fonts? I think the first font I tried was a win3.x 16bit font.

My machine came with three greek TTF fonts. Two of them (greekc__.ttf
and greeks__.ttf) work correctly in POV, and one (versafontgk.ttf)
produces the effect you mention but also produces warning messages like 
"Character 67 (Ox43) not found in c:\windows\fonts\\versafontgk.ttf"
for each character in the text string.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: The "D"
Subject: Re: Use of non "letter" true type fonts
Date: 1 Mar 2001 00:15:19
Message: <3a9ddae7@news.povray.org>
Pabs <"pabs3"@ no spam thanx dot crosswinds.net> wrote in message
news:3a9cb9b6@news.povray.org...
> Before you go blaming POV :) try looking at each glyph with either a font
> editing
> program (check the links) or any font renderer.
> ie the font viewing prog that comes with windows or the freetype renderer
> plugin that comes with The Gimp.
> Note that some normal win32 fonts won't work with freetype.

POV uses the freetype libs? Where could I get the freetype renderer plugin
for the gimp?


> You may be able to fix the font by mucking around with the font's table
> type(unicode/windoze/macsomething) using a font editor.
>
> BTW AFAIK those boxes are usually the glyph for characters that the font
does
> not define.
>
> other than that I dunno

Right, except that the characters I am trying to use are defined for that
font.


Post a reply to this message

From: The "D"
Subject: Re: Use of non "letter" true type fonts
Date: 1 Mar 2001 00:16:33
Message: <3a9ddb31@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote in message
news:3a9d1966$1@news.povray.org...
> In article <3a9c8c3d@news.povray.org> , "The \"D\""
> <web### [at] bsthypermartnet> wrote:
> Only characters in ASCII range (character code 0 to 127) are supported
> in POV-Ray 3.1.  The boxes you see are default characters that will be
> displayed when the corresponding character could not be found in the
> font by the search method that POV-Ray uses to find a character inside
> the font file.

The characters I was using were "b" "s" and "u" I tried both upper and lower
case.


Post a reply to this message

From: The "D"
Subject: Re: Use of non "letter" true type fonts
Date: 1 Mar 2001 00:18:21
Message: <3a9ddb9d@news.povray.org>
Mike Williams <mik### [at] nospamplease> wrote in message
news:IZ4### [at] econymdemoncouk...
> My machine came with three greek TTF fonts. Two of them (greekc__.ttf
> and greeks__.ttf) work correctly in POV, and one (versafontgk.ttf)
> produces the effect you mention but also produces warning messages like
> "Character 67 (Ox43) not found in c:\windows\fonts\\versafontgk.ttf"
> for each character in the text string.

Well I didn't get the results I'd hoped for out of symbol.ttf so I chucked
that idea for the time being. I will however go back and check the messages
for those renders and see what I got.


--
-The "D"
    A Thunderstorm is God's way of telling you you spend too much time on
the
computer
Email address given is a spam catcher only


Post a reply to this message

From: Pabs
Subject: Re: Use of non "letter" true type fonts
Date: 1 Mar 2001 01:45:17
Message: <3a9deffd@news.povray.org>
The \"D\" wrote:

> POV uses the freetype libs?

No silly :) sorry if I was confusing

> Where could I get the freetype renderer plugin for the gimp?

Comes with 1.2 for win32 & i'd imagine others as well

> > BTW AFAIK those boxes are usually the glyph for characters that the font
> does
> > not define.
>
> Right, except that the characters I am trying to use are defined for that
> font.

What indicates this?
--
Bye,
Pabs


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Use of non "letter" true type fonts
Date: 1 Mar 2001 14:09:36
Message: <3a9e9e70@news.povray.org>
In article <3a9ddb31@news.povray.org> , "The \"D\"" 
<web### [at] bsthypermartnet> wrote:

> The characters I was using were "b" "s" and "u" I tried both upper and lower
> case.

Yes, but as you said you are using a Greek font.  The ASCII table just
defines Roman characters.  While Greek may occupy the same "namespace"
(or call it character code), they are still stored in a different table
inside the font, and POV-Ray simply does not search this table.

In POV-Ray 3.5 you will have access to all 16 bit Unicode characters,
however, even then just entering Greek characters in a text editor and
using a Greek font won't work.  There is no way for POV-Ray to know the
intended font table you want to use, and adding every possible one (lets
just say there are more than) is not possible.   What you will have to
do is use a Unicode export capable text editor (maybe CodeMax on Windows
supports Unicode, but I don't know that) and save your scene files in a
format called "UTF 8".  Alternatively, and if you need only very few or
very special characters, it is feasible to use one of the Unicode font
mapping tables available at <http://www.unicode.org/charts/> and
manually insert the hex codes, for example \u0394 for the Greek capital
letter delta.  But, as said, you will have to wait a few weeks (or more)
for POV-Ray 3.5 ...


     Thorsten


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: The "D"
Subject: Re: Use of non "letter" true type fonts
Date: 2 Mar 2001 00:49:10
Message: <3a9f3456@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote in message
news:3a9e9e70@news.povray.org...
> In article <3a9ddb31@news.povray.org> , "The \"D\""
> <web### [at] bsthypermartnet> wrote:
> Yes, but as you said you are using a Greek font.  The ASCII table just
> defines Roman characters.  While Greek may occupy the same "namespace"
> (or call it character code), they are still stored in a different table
> inside the font, and POV-Ray simply does not search this table.

I see. So that's how it works. I just assumed that the ascii values were the
same.


> In POV-Ray 3.5 you will have access to all 16 bit Unicode characters,
> however, even then just entering Greek characters in a text editor and
> using a Greek font won't work.  There is no way for POV-Ray to know the
> intended font table you want to use, and adding every possible one (lets
> just say there are more than) is not possible.   What you will have to
> do is use a Unicode export capable text editor (maybe CodeMax on Windows
> supports Unicode, but I don't know that) and save your scene files in a
> format called "UTF 8".  Alternatively, and if you need only very few or
> very special characters, it is feasible to use one of the Unicode font
> mapping tables available at <http://www.unicode.org/charts/> and
> manually insert the hex codes, for example \u0394 for the Greek capital
> letter delta.  But, as said, you will have to wait a few weeks (or more)
> for POV-Ray 3.5 ...

I'm definitely breathlessly awaiting 3.5 now. Now will 3.5 have isosurfaces,
or will I still have to get an unofficial patch to do that?


--
-The "D"
    A Thunderstorm is God's way of telling you you spend too much time on
the
computer
Email address given is a spam catcher only


Post a reply to this message

Goto Latest 10 Messages Next 9 Messages >>>

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