POV-Ray : Newsgroups : povray.general : boxes and other characters instead of my text.. Server Time
16 Nov 2024 21:14:43 EST (-0500)
  boxes and other characters instead of my text.. (Message 1 to 10 of 10)  
From: Psyco Dedman
Subject: boxes and other characters instead of my text..
Date: 12 Apr 1998 09:01:55
Message: <3530BB42.C0967A66@eint.com>
Ok, here's the problem:
When i render text with the text primitive, sometimes(usualy when i
first add the ttf file i use to my include dir) i get odd characters,
such as boxes(i.e. what's put in place of a non-existant character) and
other characters instead of the text string i put... i change the font
to one that i've used before, and it works just fine, and eventualy the
new font seems to work, but i dont' know why, and i can't usualy wait
for eventualy... Please reply via e-mail if possible... thanks.

--
"Don't ACT psychotic... BE psychotic!" - PsycoDeadMan and Chris Melton
"Everyone Will Die!" - PsycoDeadMan.
"When I'm God, everyone Dies!", "The world in my hands, there's no one
left to hear you scream!" - Marilyn Manson
"The light is shining from the grave, as darkness falls from the sky."
- Robert Wier (My dad.)
"I am what you fail to fear." - PsycoDeadMan.
Visit my website currently at: http://www.angelfire.com/ca/PsycosDeath/


Post a reply to this message

From: Nieminen Mika
Subject: Re: boxes and other characters instead of my text..
Date: 12 Apr 1998 14:32:12
Message: <6gr1bc$a8q$1@oz.aussie.org>
Psyco Dedman (Psy### [at] eintcom) wrote:
: Ok, here's the problem:
: When i render text with the text primitive, sometimes(usualy when i
: first add the ttf file i use to my include dir) i get odd characters,
: such as boxes(i.e. what's put in place of a non-existant character) and
: other characters instead of the text string i put... i change the font
: to one that i've used before, and it works just fine, and eventualy the
: new font seems to work, but i dont' know why, and i can't usualy wait
: for eventualy... Please reply via e-mail if possible... thanks.

  I suppose you are using special characters (ascii code > 127) in the
texti. Not all ttf-files define all the characters. If you are using
windows, you can open the ttf-file with the character map program
and see if it defines all the characters you want.

--
                                                              - Warp. -


Post a reply to this message

From: Twyst
Subject: Re: boxes and other characters instead of my text..
Date: 12 Apr 1998 18:13:17
Message: <6grb09$ak6$1@oz.aussie.org>
>
>  I suppose you are using special characters (ascii code > 127) in the
>texti. Not all ttf-files define all the characters. If you are using
>windows, you can open the ttf-file with the character map program
>and see if it defines all the characters you want.
>
>--
>                                                              - Warp. -

Actully, I seem to get the same problem, and I'm using valid characters.
They even show up in Moray for Windows, but when I render, I get the boxes
and garbage as well. I have found a way around it, tho.. I just use Font3D,
and import into Moray. I does take longer to parse, tho. :(

Twyst================================
EFnet and NewNet #povray Channel Operator
Website: http://twyst.home.ml.org
E-Mail: twy### [at] v-wavecom
=====================================


Post a reply to this message

From: Psyco Dedman
Subject: Re: boxes and other characters instead of my text..
Date: 12 Apr 1998 18:45:24
Message: <35314403.BD7881BF@eint.com>
<HTML>
<BODY TEXT="#990000" BGCOLOR="#000000" LINK="#FF0000" VLINK="#FF0000" ALINK="#000000">
Ok.... so everybody knows EXACTLY what i'm talking about, i've included
a link to a .jpg of the output, and the text string that's supposed to
be on it is "Special appearence by:"
<BR>the pic of it is <A
HREF="http://www.geocities.com/SunsetStrip/Underground/1880/text.jpg">here</A>.
<BR>(in case any of you have newsgroup browsers that don't support HTML,
the addy is: <A
HREF="http://www.geocities.com/SunsetStrip/Underground/1880/text.jpg">http://www.geocities.com/SunsetStrip/Underground/1880/text.jpg</A>)
<BR>I like to keep things simple.. i haven't even looked at Moray, much
less use it.... i'm a straight type and trace kinda guy... dont' like to
use more software then i need to... especialy since most of it would have
to go on my parents' comp, since i don't (and NEVER will) have Win95 on
my own.... well... thanks....
<BR>--
<BR>"Don't ACT psychotic... BE psychotic!" - PsycoDeadMan and Chris Melton
<BR>"Everyone Will Die!" - PsycoDeadMan.
<BR>"When I'm God, everyone Dies!", "The world in my hands, there's no
one
<BR>left to hear you scream!" - Marilyn Manson
<BR>"The light is shining from the grave, as darkness falls from the sky."
<BR>- Robert Wier (My dad.)
<BR>"I am what you fail to fear." - PsycoDeadMan.
<BR>Visit my website currently <A
HREF="http://www.angelfire.com/ca/PsycosDeath/">here</A>.
<BR> 
</BODY>
</HTML>


Post a reply to this message

From: Hube
Subject: Re: boxes and other characters instead of my text..
Date: 13 Apr 1998 00:24:51
Message: <6grpq2$b29$1@oz.aussie.org>
Psyco Dedman wrote:
> 
> Ok.... so everybody knows EXACTLY what i'm talking about, i've
> included a link to a .jpg of the output, and the text string that's
> supposed to be on it is "Special appearence by:"
> the pic of it is here.
> (in case any of you have newsgroup browsers that don't support HTML,
> the addy is:
> http://www.geocities.com/SunsetStrip/Underground/1880/text.jpg)

Maybe you should post the source you used to get that image and maybe
one of us can figure out why. I've never run into the problem myself so
it would be good to know what causes it so I can avoid it.

Hube


Post a reply to this message

From: Psyco Dedman
Subject: Re: boxes and other characters instead of my text..
Date: 13 Apr 1998 13:29:49
Message: <35324B8C.58667E43@eint.com>
<HTML>
<BODY TEXT="#990000" BGCOLOR="#000000" LINK="#FF0000" VLINK="#FF0000" ALINK="#000000">
Hmm.. ok, well, here it is:

<P>#include "colors.inc"
<BR>#include "textures.inc"
<BR>camera { location   < 3.5, 1, -12 >
<BR>       look_at    <
3.5, 0.7, 0 >}

<P>light_source {<20,40,-25> color White
<BR>            
area_light
<BR>            
<8,0,0> <0,0,8>
<BR>            
4,4
<BR>            
adaptive 0
<BR>            
jitter}
<BR> 
<BR>text {ttf "Akbar.ttf" "Special appearence by:" 0.1, 0*x
<BR>           pigment
{rgb <1.5,1.5,0>}
<BR>           finish
{Shiny}
<BR>           translate
<-1,0.65,0>}

<P>If you want, <A
HREF="http://www.crosswinds.net/los-angeles/~psycodeath/akbar.ttf">here</A>'s
a copy of the font straight out of my include dir....

<P>Hube wrote:
<BLOCKQUOTE TYPE=CITE>Psyco Dedman wrote:
<BR>>
<BR>> Ok.... so everybody knows EXACTLY what i'm talking about, i've
<BR>> included a link to a .jpg of the output, and the text string that's
<BR>> supposed to be on it is "Special appearence by:"
<BR>> the pic of it is here.
<BR>> (in case any of you have newsgroup browsers that don't support HTML,
<BR>> the addy is:
<BR>> <A
HREF="http://www.geocities.com/SunsetStrip/Underground/1880/text.jpg">http://www.geocities.com/SunsetStrip/Underground/1880/text.jpg</A>)

<P>Maybe you should post the source you used to get that image and maybe
<BR>one of us can figure out why. I've never run into the problem myself
so
<BR>it would be good to know what causes it so I can avoid it.

<P>Hube</BLOCKQUOTE>
 

<P>--
<BR>"Don't ACT psychotic... BE psychotic!" - PsycoDeadMan and Chris Melton
<BR>"Everyone Will Die!" - PsycoDeadMan.
<BR>"When I'm God, everyone Dies!", "The world in my hands, there's no
one
<BR>left to hear you scream!" - Marilyn Manson
<BR>"The light is shining from the grave, as darkness falls from the sky."
<BR>- Robert Wier (My dad.)
<BR>"I am what you fail to fear." - PsycoDeadMan.
<BR>Visit my website currently at: <A
HREF="http://www.angelfire.com/ca/PsycosDeath/">http://www.angelfire.com/ca/PsycosDeath/</A>
<BR> 
</BODY>
</HTML>


Post a reply to this message

From: Hube
Subject: Re: boxes and other characters instead of my text..
Date: 14 Apr 1998 11:44:35
Message: <6gvm0u$eu0$1@oz.aussie.org>
Well I tried it with several of my own fonts and didn't have any
problem. Then I got a copy of akbar.ttf and with that I got the same
result that you did. The problem isn't with povray, it's in the font. I
also got these error messages when I tried to render it with akbar 

Character 83 (0x53) not found in akbar.ttf
Character 101 (0x65) not found in akbar.ttf
Character 99 (0x63) not found in akbar.ttf
Character 105 (0x69) not found in akbar.ttf
Character 97 (0x61) not found in akbar.ttf
Character 32 (0x20) not found in akbar.ttf
Character 97 (0x61) not found in akbar.ttf
Character 101 (0x65) not found in akbar.ttf
Character 97 (0x61) not found in akbar.ttf
Character 101 (0x65) not found in akbar.ttf
Character 99 (0x63) not found in akbar.ttf
Character 101 (0x65) not found in akbar.ttf
Character 32 (0x20) not found in akbar.ttf
Character 121 (0x79) not found in akbar.ttf

This all makes no sence to me because every other app I have can used
the font just fine. I may be able to fix the font, don't know. Let me
work on it and see what I can do. If I find anything out I'll post it
here.

Hube


Post a reply to this message

From: Twyst
Subject: Re: boxes and other characters instead of my text..
Date: 14 Apr 1998 13:32:21
Message: <6h039j$fs1$1@oz.aussie.org>
>This all makes no sence to me because every other app I have can used
>the font just fine. I may be able to fix the font, don't know. Let me
>work on it and see what I can do. If I find anything out I'll post it
>here.
>
>Hube

Could this be the Double-Byte TTF problem? or was that fixed in 3.02?

Twyst


Post a reply to this message

From: Hube
Subject: Re: boxes and other characters instead of my text..
Date: 15 Apr 1998 00:30:07
Message: <6h1331$h3j$1@oz.aussie.org>
Well, like I said, it was a problem with the font, although I still
don't know what it was. I opened the the old version of the font in
fontographer and then just regenerated the it and noe it works fine, at
least it does for me. I'm attaching a copy in zip format. don't know if
this will work becaus I have many problems with my connection. (I live
in the boonies and the phone lines here really suck!) Let me know if it
comes through OK, if not I'll try to resend it or find another way.

Hube


Post a reply to this message


Attachments:
Download 'akbar.zip' (25 KB) Download 'us-ascii' (20 KB)

From: Psyco Dedman
Subject: Re: boxes and other characters instead of my text..
Date: 15 Apr 1998 11:03:45
Message: <3534CC4F.D4F2D81C@eint.com>
Well... i tried it... still did the same thing, BUT... it was a good idea, so..
what i did was opened it up in my cheap little shareware font maker/editor,
"Softy", (which is actualy not too bad...) and saved it into a new file... and,
well.... now it works.... Thanks for all your help.... Now we know at least
what to do about fonts not working.... Thanks again....

--
"Don't ACT psychotic... BE psychotic!" - PsycoDeadMan and Chris Melton
"Everyone Will Die!" - PsycoDeadMan.
"When I'm God, everyone Dies!", "The world in my hands, there's no one
left to hear you scream!" - Marilyn Manson
"The light is shining from the grave, as darkness falls from the sky."
- Robert Wier (My dad.)
"I am what you fail to fear." - PsycoDeadMan.
Visit my website currently at: http://www.angelfire.com/ca/PsycosDeath/


Post a reply to this message

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