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

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

Re: Use 7x13 fixed X font for Cyrillic


From: Javier
Subject: Re: Use 7x13 fixed X font for Cyrillic
Date: Sat, 27 Feb 2016 20:46:45 +0000 (UTC)
User-agent: tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (Linux/3.18.6-1-ARCH (x86_64))

Vladimir Panteleev <thecybershadow@gmail.com> wrote:
> However, I can use 7x13 for Cyrillic in rxvt-unicode, so the font does exist 
> and is usable.
>
> I've tried variations of this, with no effect:
>
> (set-fontset-font "fontset-default" 'cyrillic-iso8859-5 (font-spec :font 
> "7x13"))
>
> Can I get Emacs to use this font, or is it an Emacs bug?

>From the command line font aliases are understood.  'emacs -Q -fn 7x13' should 
>work

You can check the explicit name of the font in /usr/share/fonts/misc/fonts.alias

7x13         -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1
7x13bold     -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1
7x13euro     -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-15
7x13eurobold -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-15

What I have in .emacs is like:

(when (equal window-system 'x)
       (set-face-font 'default 
"-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1"))

Since you want to display cyrillic I changed iso8859 (latin1) to
iso10646 (unicode) in the fontname.

PS: Not related to your question, but this is also worth checking for
setting a list of fonts and changing them on the fly with the keyboard:

Firefox-like zooming of fonts.
http://www.emacswiki.org/emacs/CycleFontSizes


reply via email to

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