POV-Ray : Newsgroups : povray.newusers : Cyrillic fonts in scene : Re: Cyrillic fonts in scene Server Time
4 Nov 2024 19:17:27 EST (-0500)
  Re: Cyrillic fonts in scene  
From: Patrick Elliott
Date: 12 Apr 2003 14:36:54
Message: <MPG.190206b43c717e129897c4@news.povray.org>
In article <3e981f8d$1@news.povray.org>, dhm### [at] attbicom says...
> A follow-up to the thread in General.
> 
> I am trying to get Cyrillic text to appear in a scene. After reading thru
> the info at a Cyriillic font site, I installed Multilanguage support via the
> Windows Setup in Add/Remove programs, then installed a Keyboard layout
> utility that allows me to switch between English and Russian. Next, I
> specified global_settings { charset utf8   } as specified in the manual and
> the thread in General.
> 
> Next, I entered the text while using the Russian keyboard layout and it
> appears in Cyrillic on my screen in the "text" object in the scene (I tried
> Courier and Times), but when I render the scene, the text itself appears in
> the same block/rectangular font (i.e., the unrecognized font) as described
> by Greg.
> If I switch to Word and start to enter text, I see it in Cyrllic when I use
> either Courier or Times.
> Obviously there is one more step I am missing.
> Any suggestions?
> thanks,
> Dennis
> 
The Cyrillic characters and other special stuff, unless specifically 
gotten from a purely Cyrillic font, only appear if using unicode support. 
Windows when you activate all that suppose stuff basically remapped keys 
you type to the unicode characters imbedded in most of the standard 
fonts. Not sure if POVRay supports the unicode sets though, since it 
requires two bytes per letter and POVRay probably only supports single 
byte letters. In other words, normal letters are 00-FF, while unicode is 
0000 - FFFF. Sadly winbloze confuses the issue by 'remapping' the 
keyboard, not supporting it in the Character Map utility and basically 
hiding the bloody stuff so well that had I not recently downloaded a font 
editor and gone, 'where the heck did all those extra letters come from?', 
when I tried to look at the Lucida Console font, I wouldn't even know 
that those characters where there. I suspect that Linux doesn't 100% 
directly support the extended set either, except in programs specifically 
designed to use unicode.

Basically.. If POVRay has some way to specify that you want to use the 
unicode set in a font that has one, then you are in business. If it 
doesn't, and I don't remember ever seeing anything about it, then you are 
out of luck unless you get a font that was specifically designed to be 
Cyrillic or download a good font manager and make a new copy of the one 
you want to use, with all the characters rearranged so that the non-
unicode part contains what is normally in the unicode section, or in 
other words, renumber most of the entire internal table for all the 
letters and save it under a new font name. :P

-- 
void main () {

    call functional_code()
  else
    call crash_windows();
}


Post a reply to this message

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