unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Javier <nospam@nospam.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Use 7x13 fixed X font for Cyrillic
Date: Sat, 27 Feb 2016 20:46:45 +0000 (UTC)	[thread overview]
Message-ID: <nat1vl$ks0$1@gioia.aioe.org> (raw)
In-Reply-To: 2b5da096-ab4d-4803-9a62-dbed5c036514@googlegroups.com

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


  parent reply	other threads:[~2016-02-27 20:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-27  1:59 Use 7x13 fixed X font for Cyrillic Vladimir Panteleev
2016-02-27  7:59 ` Eli Zaretskii
     [not found] ` <mailman.6021.1456560027.843.help-gnu-emacs@gnu.org>
2016-02-27 20:26   ` Vladimir Panteleev
2016-02-27 20:46 ` Javier [this message]
2016-02-27 22:53   ` Vladimir Panteleev
2016-02-27 23:23     ` Javier
2016-02-27 23:44       ` Javier
2016-02-28  5:20       ` Vladimir Panteleev
2016-02-28 15:52         ` Javier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='nat1vl$ks0$1@gioia.aioe.org' \
    --to=nospam@nospam.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).