POV-Ray : Newsgroups : povray.newusers : Cyrillic fonts in scene Server Time
4 Nov 2024 21:25:50 EST (-0500)
  Cyrillic fonts in scene (Message 1 to 4 of 4)  
From: Dennis Miller
Subject: Cyrillic fonts in scene
Date: 12 Apr 2003 10:15:41
Message: <3e981f8d$1@news.povray.org>
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

--

dhm### [at] attbicom
http://www.dennismiller.neu.edu


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Cyrillic fonts in scene
Date: 12 Apr 2003 14:02:41
Message: <3e9854c1@news.povray.org>
In article <3e981f8d$1@news.povray.org> , "Dennis Miller" 
<dhm### [at] attbicom> wrote:

> Obviously there is one more step I am missing.

What you do won't get you anywhere because the text format also needs to be
UTF-8, and you cannot get that with the built-in POV-Ray editors.  On
Windows 2000 and XP the editor that comes with the system should support
saving files in UTF-8 format. Alternatively, you can enter the Unicode
character code directly using the \u option.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Patrick Elliott
Subject: Re: Cyrillic fonts in scene
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

From: Dennis Miller
Subject: Re: Cyrillic fonts in scene
Date: 17 Apr 2003 18:43:30
Message: <3e9f2e12$1@news.povray.org>
Thanks much for the help. I've pretty much given up on this and was able to
get what I needed in Photoshop, without all the processing I intended to do
however.
Best,
D.

"Patrick Elliott" <sha### [at] hotmailcom> wrote in message
news: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.