help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange font used for Cyrillic characters


From: Андрей Парамонов
Subject: Re: Strange font used for Cyrillic characters
Date: Thu, 20 Dec 2012 08:28:26 +0300

Thank you for your response.

I'm pretty sure I do have Cyrillic font. Moreover, the monospace font used to display Latin characters in Emacs does display Cyrillic characters in other programs.
FC_DEBUG works but output a little bit too much of info. It would help if Emacs could tell in which font particular symbol is rendered. What is the command for it?

Best wishes,
Andrey Paramonov



2012/12/20 Peter Dyballa <Peter_Dyballa@web.de>

Am 19.12.2012 um 22:52 schrieb cmr.pent@gmail.com:

> In which direction should I dig?

Get yourself a monospaced Cyrillic font! If you already have one: does your fonts service list it (with fc-list, fc-match)? If it does, then it might be a problem in the setup of libfontconfig, i.e. the contents of ~/.fonts.conf and /etc/fonts/fonts.conf and the other configuration files in that area (/etc/fonts/conf.avail, /etc/fonts/conf.d).

OTOH it's also possible that GNU Emacs font family names from the fonts service which this one cannot handle correctly because its setup says to substitute the requested monospaced fonts with proportional ones.

You can set FC_DEBUG to some value (see the fontconfig-user documents in PDF or HTML or plain text form) and then launch GNU Emacs from this environment. The debug output might explain what's happening.

Another option is to set the X resource Emacs.FontBackend to the value x. This will, hopefully, disable the use of libfontconfig and allow GNU Emacs to use only fonts known by the X server.

--
Greetings

  Pete

If you're not confused, you're not paying attention.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]