POV-Ray : Newsgroups : povray.general : ATTN Gilles Tran: your Library includes crash POV Server Time
5 Aug 2024 16:17:03 EDT (-0400)
  ATTN Gilles Tran: your Library includes crash POV (Message 17 to 26 of 26)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Timothy R  Cook
Subject: Re: ATTN Gilles Tran: your Library includes crash POV
Date: 22 Sep 2002 05:04:35
Message: <3d8d87a3$1@news.povray.org>
Thorsten Froehlich wrote:
> From this it is trivial to see an example of the currect use:
>     #declare foostr = "\u3061\u3087\u3073\u3064\u30C4";
> Very clear and very simple...

Two things:
1) #read apparently didn't have a problem reading it because I get the
    same output having swapped the data in the file with strings inside
    the .inc file that uses it
2) did you get the result i specified in my post, namely some japanese
    characters?  i do see that there are some unicode characters in the
    string (an e with cedilla being the first), but it is not japanese
    characters, which is what they should be, because that is what those
    unicode character codes specify.

-- 
Tim Cook
http://empyrean.scifi-fantasy.com
mirror: http://personal.lig.bellsouth.net/lig/z/9/z993126

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: ATTN Gilles Tran: your Library includes crash POV
Date: 22 Sep 2002 05:19:57
Message: <3d8d8b3d$1@news.povray.org>
In article <3d8d87a3$1@news.povray.org> , "Timothy R. Cook" 
<tim### [at] scifi-fantasycom> wrote:

> 1) #read apparently didn't have a problem reading it

Interesting.  This is indeed possible that #read may work, but if so then it
is not officially supported at the moment...

> 2) did you get the result i specified in my post, namely some japanese
>     characters?  i do see that there are some unicode characters in the
>     string (an e with cedilla being the first), but it is not japanese
>     characters, which is what they should be, because that is what those
>     unicode character codes specify.

Well, that would require me to have the font.  I can tell you that it works
with TTF fonts.  The problem with TTC font files is that they are a
collection of TTF font files in one file, and POV-Ray only supports them
with one TTF font file inside (the others are ignored).  So if the font does
not include the correct TTF font file as the first in the collection it
contains, POV-Ray will not be able to find the correct character because it
does not have enough information to make a choice which TTF font in the TTC
font file to pick.  The solution is to convert the TTC font file to multiple
TTF font files and then use the appropriate TTF file.

    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: Timothy R  Cook
Subject: Re: ATTN Gilles Tran: your Library includes crash POV
Date: 22 Sep 2002 07:22:19
Message: <3d8da7eb@news.povray.org>
Thorsten Froehlich wrote:
> Well, that would require me to have the font.

which I have...

> I can tell you that it works with TTF fonts.  The problem with TTC
 > font files is that they are a collection of TTF font files in one
 > file, and POV-Ray only supports them with one TTF font file inside
 > (the others are ignored).  So if the font does not include the correct
 > TTF font file as the first in the collection it contains, POV-Ray will
 > not be able to find the correct character because it does not have enough
 > information to make a choice which TTF font in the TTC font file to pick.

ahhh, that'll do it

 >  The solution is to convert the TTC font file to multiple
> TTF font files and then use the appropriate TTF file.

Next question: how do I do that?

-- 
Tim Cook
http://empyrean.scifi-fantasy.com
mirror: http://personal.lig.bellsouth.net/lig/z/9/z993126

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

From: Timothy R  Cook
Subject: Re: ATTN Gilles Tran: your Library includes crash POV
Date: 22 Sep 2002 07:28:24
Message: <3d8da958$1@news.povray.org>
Timothy R. Cook wrote:
>> I can tell you that it works with TTF fonts.  The problem with TTC
>> font files is that they are a collection of TTF font files in one
>> file, and POV-Ray only supports them with one TTF font file inside
>> (the others are ignored).  So if the font does not include the correct
>> TTF font file as the first in the collection it contains, POV-Ray will
>> not be able to find the correct character because it does not have enough
>> information to make a choice which TTF font in the TTC font file to pick.
> ahhh, that'll do it

Oh shoot, I just realised something: I'd have to specify the proper font
for each of the titles, depending on english or japanese...and if
japanese, I'd sometimes have to specify several fonts, depending on 
character...oyyyy funness.

-- 
Tim Cook
http://empyrean.scifi-fantasy.com
mirror: http://personal.lig.bellsouth.net/lig/z/9/z993126

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: ATTN Gilles Tran: your Library includes crash POV
Date: 22 Sep 2002 07:39:18
Message: <3d8dabe6@news.povray.org>
In article <3d8da7eb@news.povray.org> , "Timothy R. Cook" 
<tim### [at] scifi-fantasycom> wrote:

> Next question: how do I do that?

Well, I suppose most font editors that support both TTC and TTF files should
be able to do it.  I don't know any font editors for Windows however, so I
cannot help you picking one ;-)

    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: Thorsten Froehlich
Subject: Re: ATTN Gilles Tran: your Library includes crash POV
Date: 22 Sep 2002 07:45:17
Message: <3d8dad4d@news.povray.org>
In article <3d8da958$1@news.povray.org> , "Timothy R. Cook" 
<tim### [at] scifi-fantasycom> wrote:

> Oh shoot, I just realised something: I'd have to specify the proper font
> for each of the titles, depending on english or japanese...and if
> japanese, I'd sometimes have to specify several fonts, depending on
> character...oyyyy funness.

Not really.  All you would need is one font which all the characters in it.
The problem is that few fonts come with characters for many different
languages (also it is possible), because seldom a person needs characters of
more than one language (or language family, like all using the Latin
alphabet) in a font and having many different languages, i.e. Japanese and
Chinese in there would create a very huge font file.

The trick why it works in your operating system / word processor is that
they always will attempt to pick a font that does have characters for that
language.  This is not a choice POV-Ray can make :-(

    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: Timothy R  Cook
Subject: Re: ATTN Gilles Tran: your Library includes crash POV
Date: 22 Sep 2002 07:59:59
Message: <3d8db0bf$1@news.povray.org>
Thorsten Froehlich wrote:
> Not really.  All you would need is one font which all the characters in it.

Guess I could use the font editor I have to compile just the characters
I need...(nice little shareware called 'Font Creation Program'...I hope
it reads TTCs)

> The problem is that few fonts come with characters for many different
> languages (also it is possible), because seldom a person needs characters of
> more than one language (or language family, like all using the Latin
> alphabet) in a font and having many different languages, i.e. Japanese and
> Chinese in there would create a very huge font file.

hmm, msgothic and msmincho are both over 8 MB TTCs...'batang' is 15.7 mb
...whew

-- 
Tim Cook
http://empyrean.scifi-fantasy.com
mirror: http://personal.lig.bellsouth.net/lig/z/9/z993126

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

From: Timothy R  Cook
Subject: Re: ATTN Gilles Tran: your Library includes crash POV
Date: 22 Sep 2002 08:03:00
Message: <3d8db174$1@news.povray.org>
Timothy R. Cook wrote:
> Guess I could use the font editor I have to compile just the characters
> I need...(nice little shareware called 'Font Creation Program'...I hope
> it reads TTCs)

Darn, it doesn't.  Hmmm...

-- 
Tim Cook
http://empyrean.scifi-fantasy.com
mirror: http://personal.lig.bellsouth.net/lig/z/9/z993126

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

From: Timothy R  Cook
Subject: Re: ATTN Gilles Tran: your Library includes crash POV
Date: 22 Sep 2002 08:20:36
Message: <3d8db594$1@news.povray.org>
Timothy R. Cook wrote:
> Darn, it doesn't.  Hmmm...

Wow, simhei.ttf ...9.8 megs, and it's a single ttf.  maybe this'll work
...
SUGOI!!!! sugoisugoisugoi!  It even works inside of Moray, with the 
\uNNNN!  hahaha this is cool

-- 
Tim Cook
http://empyrean.scifi-fantasy.com
mirror: http://personal.lig.bellsouth.net/lig/z/9/z993126

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: ATTN Gilles Tran: your Library includes crash POV
Date: 22 Sep 2002 09:00:17
Message: <3d8dbee1$1@news.povray.org>
In article <3d8db0bf$1@news.povray.org> , "Timothy R. Cook" 
<tim### [at] scifi-fantasycom> wrote:

> hmm, msgothic and msmincho are both over 8 MB TTCs...'batang' is 15.7 mb
> ...whew

Exactly.  And they could be several times the size if they contained only
all the 65535 UCS2 characters supported by POV-Ray.  And even then it would
only be a subset of all Unicode characters (TTF fonts don't support more)...

    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

<<< Previous 10 Messages Goto Initial 10 Messages

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