POV-Ray : Newsgroups : povray.general : Tips for povray being able to read freeware fonts Server Time
4 Aug 2024 16:13:12 EDT (-0400)
  Tips for povray being able to read freeware fonts (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Greg M  Johnson
Subject: Tips for povray being able to read freeware fonts
Date: 10 Apr 2003 22:52:52
Message: <3e962e04$1@news.povray.org>
I just downloaded four freeware fonts (.ttf) off the internet and was not
able to get povray to use any of them as a text object, whereas the code has
worked fine for other fonts, some freeware, definitely also timrom.ttf.

Any tips?


Post a reply to this message

From: ABX
Subject: Re: Tips for povray being able to read freeware fonts
Date: 11 Apr 2003 02:17:49
Message: <dcnc9vkfncav6dmsak4au9241olkc2q979@4ax.com>
On Thu, 10 Apr 2003 22:52:53 -0700, "Greg M. Johnson" <gregj;-)565### [at] aolcom>
wrote:
> I just downloaded four freeware fonts (.ttf) off the internet and was not
> able to get povray to use any of them as a text object, whereas the code has
> worked fine for other fonts, some freeware, definitely also timrom.ttf.

What you mean in "was not able"?
Error? Not expected appearance of rendering? Crash?

ABX


Post a reply to this message

From: Greg M  Johnson
Subject: Re: Tips for povray being able to read freeware fonts
Date: 11 Apr 2003 09:44:57
Message: <3e96c6d9$1@news.povray.org>
Povray treats the object as if it were a rectangle when used in an object
pattern, which I believe is also what it will do if one types in a ficitious
FAKE.TTF filename.  It's the kind of rectangle you get when you look at the
font viewer for characters not supported.  I suppose I can get some bitmap
and code examples together much later.



"ABX" <abx### [at] abxartpl> wrote in message
news:dcnc9vkfncav6dmsak4au9241olkc2q979@4ax.com...
> On Thu, 10 Apr 2003 22:52:53 -0700, "Greg M. Johnson"
<gregj;-)565### [at] aolcom>
> wrote:
> > I just downloaded four freeware fonts (.ttf) off the internet and was
not
> > able to get povray to use any of them as a text object, whereas the code
has
> > worked fine for other fonts, some freeware, definitely also timrom.ttf.
>
> What you mean in "was not able"?
> Error? Not expected appearance of rendering? Crash?
>
> ABX


Post a reply to this message

From: ABX
Subject: Re: Tips for povray being able to read freeware fonts
Date: 11 Apr 2003 09:58:47
Message: <dphd9v8ne94putd910p74qdhpdlaq37b1q@4ax.com>
On Fri, 11 Apr 2003 09:44:21 -0400, "Greg M. Johnson" <gregj:-)565### [at] aolcom>
wrote:
> Povray treats the object as if it were a rectangle when used in an object
> pattern, which I believe is also what it will do if one types in a ficitious
> FAKE.TTF filename.  It's the kind of rectangle you get when you look at the
> font viewer for characters not supported.  I suppose I can get some bitmap
> and code examples together much later.

Mapping between keyboard and objects in TTD file are not trivial and can be
influenced in many places (keybord driver, language settings, character set,
application customization). The fact that in some application after pressing key
"letter" character "LETTER" appear on screen doesn't mean that in TTF file
"letter" is coded as "LETTER". Font viewer? Have you verified this font in
charmap.exe (iirc included in every standard Windows installation)? 
Note, in charmap.exe can be selector for charset selection.

If this TTF will not work you can consider conversion from ttf vector format to
other vector format which can be later somehow imported into SDL as prism or
something.

ABX


Post a reply to this message

From: Greg M  Johnson
Subject: Re: Tips for povray being able to read freeware fonts
Date: 11 Apr 2003 10:08:39
Message: <3e96cc67$1@news.povray.org>
Very helpful reply.  Will do the advised research "later"  ;-)


Post a reply to this message

From: ABX
Subject: Re: Tips for povray being able to read freeware fonts
Date: 11 Apr 2003 10:13:56
Message: <c8jd9vkp43d1pcr0mplgsmeiukpuj7bq0n@4ax.com>
On Fri, 11 Apr 2003 10:08:04 -0400, "Greg M. Johnson" <gregj:-)565### [at] aolcom>
wrote:
> Very helpful reply.  Will do the advised research "later"  ;-)

In lack of other tools you can consider extraction of specified character with
something like http://xml.apache.org/batik/ttf2svg.html to verify how this
character looks like.

ABX


Post a reply to this message

From: Mark Hanford
Subject: Re: Tips for povray being able to read freeware fonts
Date: 11 Apr 2003 11:16:41
Message: <3e96dc59@news.povray.org>
I'm not sure if this is a silly suggestion or not, but I had this problem
once, and fixed it by including a charset directive in the global_settings
block

global_settings {
    charset utf8
}

Mark Hanford
www.hanfordonline.co.uk/povray

"Greg M. Johnson" <gregj:-)565### [at] aolcom> wrote in message
news:3e96c6d9$1@news.povray.org...
> Povray treats the object as if it were a rectangle when used in an object
> pattern, which I believe is also what it will do if one types in a
ficitious
> FAKE.TTF filename.  It's the kind of rectangle you get when you look at
the
> font viewer for characters not supported.  I suppose I can get some bitmap
> and code examples together much later.
>
>
>
> "ABX" <abx### [at] abxartpl> wrote in message
> news:dcnc9vkfncav6dmsak4au9241olkc2q979@4ax.com...
> > On Thu, 10 Apr 2003 22:52:53 -0700, "Greg M. Johnson"
> <gregj;-)565### [at] aolcom>
> > wrote:
> > > I just downloaded four freeware fonts (.ttf) off the internet and was
> not
> > > able to get povray to use any of them as a text object, whereas the
code
> has
> > > worked fine for other fonts, some freeware, definitely also
timrom.ttf.
> >
> > What you mean in "was not able"?
> > Error? Not expected appearance of rendering? Crash?
> >
> > ABX
>
>


Post a reply to this message

From: Greg M  Johnson
Subject: Re: Tips for povray being able to read freeware fonts
Date: 11 Apr 2003 22:25:27
Message: <3e977917$1@news.povray.org>
Ha! this was it.
Does this merit a doc addition??
"Mark Hanford" <ube### [at] blueyondercouk> wrote in message
news:3e96dc59@news.povray.org...
> I'm not sure if this is a silly suggestion or not, but I had this problem
> once, and fixed it by including a charset directive in the global_settings
> block
>
> global_settings {
>     charset utf8
> }
>
> Mark Hanford
> www.hanfordonline.co.uk/povray
>
> "Greg M. Johnson" <gregj:-)565### [at] aolcom> wrote in message
> news:3e96c6d9$1@news.povray.org...
> > Povray treats the object as if it were a rectangle when used in an
object
> > pattern, which I believe is also what it will do if one types in a
> ficitious
> > FAKE.TTF filename.  It's the kind of rectangle you get when you look at
> the
> > font viewer for characters not supported.  I suppose I can get some
bitmap
> > and code examples together much later.
> >
> >
> >
> > "ABX" <abx### [at] abxartpl> wrote in message
> > news:dcnc9vkfncav6dmsak4au9241olkc2q979@4ax.com...
> > > On Thu, 10 Apr 2003 22:52:53 -0700, "Greg M. Johnson"
> > <gregj;-)565### [at] aolcom>
> > > wrote:
> > > > I just downloaded four freeware fonts (.ttf) off the internet and
was
> > not
> > > > able to get povray to use any of them as a text object, whereas the
> code
> > has
> > > > worked fine for other fonts, some freeware, definitely also
> timrom.ttf.
> > >
> > > What you mean in "was not able"?
> > > Error? Not expected appearance of rendering? Crash?
> > >
> > > ABX
> >
> >
>
>


Post a reply to this message

From: Ken
Subject: Re: Tips for povray being able to read freeware fonts
Date: 12 Apr 2003 00:31:05
Message: <3E97968C.1718F30A@pacbell.net>
"Greg M. Johnson" wrote:
> 
> Ha! this was it.
> Does this merit a doc addition??

6.11.6  Charset
This allows you to specify the assumed character set of all text strings.
If you specify ascii only standard ASCII character codes in the range from
0 to 127 are valid. You can easily find a table of ASCII characters on the
internet. The option utf8 is a special Unicode text encoding and it allows
you to specify characters of nearly all languages in use today. We suggest
you use a text editor with the capability to export text to UTF8 to generate
input files. You can find more information, including tables with codes of
valid characters at http://www.unicode.org/ The last possible option is to
use a system specific character set. For details about the sys character set
option refer to the platform specific documentation.

-- 
Ken Tyler


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Tips for povray being able to read freeware fonts
Date: 12 Apr 2003 03:40:14
Message: <3e97c2de@news.povray.org>
In article <3e977917$1@news.povray.org> , "Greg M. Johnson" 
<gregj;-)565### [at] aolcom> wrote:

> Ha! this was it.
> Does this merit a doc addition??

No, as *usual* it would help you to RTFM.

    Thorsten


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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