POV-Ray : Newsgroups : povray.general : text object: utf8 ttf font? : Re: text object: utf8 ttf font? Server Time
29 Jul 2024 08:17:03 EDT (-0400)
  Re: text object: utf8 ttf font?  
From: Le Forgeron
Date: 11 May 2012 17:26:04
Message: <4fad83ec$1@news.povray.org>
Le 11/05/2012 20:49, David J Bush nous fit lire :
> I have version 3.6 runnng under Debian 64 bit. I want to be able to create text
> objects using Latin characters. In particular, I want to generate the ß symbol
> from German. I have been informed the utf8 code for this symbol is 50079 in
> decimal. I understand about the global_settings { charset utf8 } command. I use
> the line of code
> 
> text { ttf "cyrvetic.ttf", concat("text before", chr(50079), "text after") ...
> 
> Apparently, the supplied fonts crystal.ttf, cyrvetic.ttf, and timrom.ttf are all
> ASCII. Where can I find a utf8 True Type font to add to the
> /usr/share/povray/include directory? Are there any tweaks necessary to make it
> work?
> 
> Any clue would be appreciated. Thanks for your patience.

use fontforge to check that glyph U+00DF is available in your candidat font.

U+00DF is UTF-8 0xC39F (aka 50079 in base 10)

One of the largest font (in range) is arialuni.ttf, made by Microsoft.


Post a reply to this message

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