POV-Ray : Newsgroups : povray.general : Infinity symbol : Re: Infinity symbol Server Time
11 Jun 2024 09:32:41 EDT (-0400)
  Re: Infinity symbol  
From: Le Forgeron
Date: 10 Dec 2015 01:33:06
Message: <56691ca2$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Le 10/12/2015 01:48, Mike Horvath a écrit :
> On 12/9/2015 7:28 PM, Mike Horvath wrote:
>> I'm trying to paste the infinity symbol ∞ into POV-Ray but it
>> keeps replacing the symbol with the number 8. How do I get around
>> this? I am using utf8 for the text encoding.
>> 
>> Mike
> 
> 
> Can I use unicode escape sequences? I don't see them mentioned in
> the docs.
> 
> Mike

I guess you are on windows. I do not know about the copy-paste
capability of the editor.

there is an escape sequence in povray...

global_settings { charset utf8 }

#local UnicodeString="\ueaa0\ueab0";

As long as the glyph code is less than 0xFFFF. The glyphs needing more
than 2 bytes are not available.

Infinity is 0x221E, so you're fine.

But that is only half of your problem: the font used (in a text{})
must also have the relevant character.

http://www.povray.org/documentation/view/3.6.2/263/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iJwEAQEIAAYFAlZpHKEACgkQhKAm8mTpkW2McwP7BFfiCVWAke5/NmNFePedFzmP
se26d6P3hD/Py9o5v9Js1X/MBSKaVU0HJIjO8kF5WoXD6qaKkOYb66Bbr9rC240v
XRwxc2HB3TBrhxW1FhVcWtOKkp4LFMwNgUGxgJDIs2Jm+66vM7EMVMLQqVaGJ0v5
fqKhSjtD9GXIIitz1Rg=
=upHv
-----END PGP SIGNATURE-----


Post a reply to this message

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