POV-Ray : Newsgroups : povray.animations : UTF-8 : Re: UTF-8 Server Time
1 Jun 2024 07:31:40 EDT (-0400)
  Re: UTF-8  
From: Warp
Date: 17 Nov 2005 15:15:12
Message: <437ce4cf@news.povray.org>
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

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