POV-Ray : Newsgroups : povray.beta-test : Problem with double byte true type font Server Time
31 Jul 2024 10:28:43 EDT (-0400)
  Problem with double byte true type font (Message 1 to 4 of 4)  
From: R  Suzuki
Subject: Problem with double byte true type font
Date: 6 Sep 2001 07:19:01
Message: <3b975ba5$1@news.povray.org>
I tried a text object of double-byte ttf in Japanese Microsoft Windows.  

POV-Ray 3.5beta can not read standard Japanese Windows double-byte 
fonts because those fonts are "TTC (collection of TrueType fonts in 
one file)", which has additional font headers.  

It would be easy to fix this problem (if the source code is available).

I made a patch of TTC fonts for POV-Ray 2 and 3.1.  This patch is
based on Kochin Chang's double-byte support.  The source code
for v3.1 is available in the isosurface patch (J) at
http://www.etl.go.jp/etl/linac/public/rsuzuki/j/povray/iso/pov3isos.zip

R. Suzuki


Post a reply to this message

From: Warp
Subject: Re: Problem with double byte true type font
Date: 6 Sep 2001 07:30:22
Message: <3b975e4e@news.povray.org>
This is more a feature request than a bug (as it requires a whole patch to
"fix" it). It might be too late for including this (although of course I'm not
the one who decides that).

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Chris Cason
Subject: Re: Problem with double byte true type font
Date: 6 Sep 2001 10:09:15
Message: <3b97838b@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message news:3b975e4e@news.povray.org...
>   This is more a feature request than a bug (as it requires a whole patch to
> "fix" it). It might be too late for including this (although of course I'm not
> the one who decides that).

If the patch integrates easily I think we could probably handle it.

-- Chris


Post a reply to this message

From: R  Suzuki
Subject: Re: Problem with double byte true type font
Date: 7 Sep 2001 00:28:04
Message: <3b984cd4$1@news.povray.org>
"Chris Cason" <newsadmin@-despam-povray.org> wrote in message
news:3b97838b@news.povray.org...
> If the patch integrates easily I think we could probably handle it.

Thanks for the consideration.

I think the "ttc" fonts are more widely used than "ttf" fonts
in double byte character-set countries.
If those fonts can be used with "sys" character-set,  many people in
double byte character-set countries would be happy.

R. Suzuki


Post a reply to this message

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