[XeTeX] Russian fonts
Jonathan Kew
jonathan at jfkew.plus.com
Fri Jan 16 12:34:58 CET 2009
On 16 Jan 2009, at 10:30, Olly Powell wrote:
> Hello fellow Xetexers
>
> I am having trouble with a Cyrillic font named "Perestroika", I
> downloaded somewhere. It works fine in open-office, but is giving
> funny results in Xetex. Perhaps somebody could explain the problem,
> or suggest a good Cyrillic font for Russian placenames in an English
> novel.
>
> Here is the code:
> ------
> \begin{document}
> \setmainfont{Times New Roman}
>
>
> 1. \russ{уфе ьн ырщкеы}
>
> 2. \russ{eat my shorts}
>
> 3. \rusp{уфе ьн ырщкеы}
>
> 4. \rusp{eat my shorts}
> \end{document}
>
> ------
> 1. and 2. work as expected. 3 gives square boxes, and the error
> messages "Missing character: there is no N$f in font Perestroika/ICU !
> 4. Gives some russian characters.
Sounds like that font has the Russian glyphs assigned to the Latin
Unicode codepoints. Use a properly Unicode-compliant font (such as
Times New Roman, or many others). Some are listed at http://www.alanwood.net/unicode/fonts.html#wgl4
, for example.
JK
More information about the XeTeX
mailing list