|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hello there.
I have some questions.
I got Devinnei font and i wanna put a letter that in windows is ALT-164. So
if i add to my .pov file:
global_settings { charset utf8 }
then i can get that letter?
Does it depend of the font type or can i get that letter independently of
font file used?
Is that independent of system used?. I mean I'm using povray in LINUX.
Thanks in advance.
Alfredo
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Alfredo <ful### [at] yahoocom> wrote:
> I got Devinnei font and i wanna put a letter that in windows is ALT-164. So
> if i add to my .pov file:
> global_settings { charset utf8 }
> then i can get that letter?
AFAIK for utf8 to work with a ttf file the file has to have unicode
mapping info in them. Most modern fonts do, but some very old ones probably
don't.
And then, if you want a non-ascii character you have to give it to
povray utf8-encoded. For this you need an editor which supports editing
a utf8-encoded text file (no, I don't know if the winpov editor supports
this; my guess is that it doesn't). I don't know right now of a unix editor
which supports utf8 encoding.
Utf8 is an encoding for unicode characters which is different from
the most common ISO-8859-1 encoding (which only supports character
codes between 32 and 255) with all characters which code is >127.
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thanks warp for ur reply.
Let me tell u about that letter I want to put in an animated text.
This is a Latin letter. It looks like a "N" but with a tilde .
Like Spain is spelled in Spanish. (Espana)
Like Boy in espanish . Nino.
Thanks
Alfredo
Warp <war### [at] tagpovrayorg> wrote:
> Alfredo <ful### [at] yahoocom> wrote:
> > I got Devinnei font and i wanna put a letter that in windows is ALT-164. So
> > if i add to my .pov file:
> > global_settings { charset utf8 }
>
> > then i can get that letter?
>
> AFAIK for utf8 to work with a ttf file the file has to have unicode
> mapping info in them. Most modern fonts do, but some very old ones probably
> don't.
>
> And then, if you want a non-ascii character you have to give it to
> povray utf8-encoded. For this you need an editor which supports editing
> a utf8-encoded text file (no, I don't know if the winpov editor supports
> this; my guess is that it doesn't). I don't know right now of a unix editor
> which supports utf8 encoding.
>
> Utf8 is an encoding for unicode characters which is different from
> the most common ISO-8859-1 encoding (which only supports character
> codes between 32 and 255) with all characters which code is >127.
>
> --
> - Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thanks Warp.
I want to get a Latin letter. It seems like an "n" but with a tilde.
Like Spain in Spanish....Espana.
Like Boy in Spanish...Nino.
Thanks
Alfredo
Warp <war### [at] tagpovrayorg> wrote:
> Alfredo <ful### [at] yahoocom> wrote:
> > I got Devinnei font and i wanna put a letter that in windows is ALT-164. So
> > if i add to my .pov file:
> > global_settings { charset utf8 }
>
> > then i can get that letter?
>
> AFAIK for utf8 to work with a ttf file the file has to have unicode
> mapping info in them. Most modern fonts do, but some very old ones probably
> don't.
>
> And then, if you want a non-ascii character you have to give it to
> povray utf8-encoded. For this you need an editor which supports editing
> a utf8-encoded text file (no, I don't know if the winpov editor supports
> this; my guess is that it doesn't). I don't know right now of a unix editor
> which supports utf8 encoding.
>
> Utf8 is an encoding for unicode characters which is different from
> the most common ISO-8859-1 encoding (which only supports character
> codes between 32 and 255) with all characters which code is >127.
>
> --
> - Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi Alfredo,
to put in some foreign characters in your text you can do it this way:
look up the character in the character table
(N tilde = Alt 209, n tilde = Alt 241)
then declare it in your .pov file
#declare Nt=chr(209);
#declare nt=chr(241);
and use it in your text like this
concat("Ni",nt,"o");
This sounds a little complicated, but it works.
Hope it helps,
greetings, em-sigma
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
That was a great solution.
Thanks Em-sigma.
"em-sigma" <em-### [at] webde> wrote:
> Hi Alfredo,
> to put in some foreign characters in your text you can do it this way:
>
> look up the character in the character table
> (N tilde = Alt 209, n tilde = Alt 241)
>
> then declare it in your .pov file
> #declare Nt=chr(209);
> #declare nt=chr(241);
>
> and use it in your text like this
> concat("Ni",nt,"o");
>
> This sounds a little complicated, but it works.
>
> Hope it helps,
>
> greetings, em-sigma
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |