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 23:23:53 +0000 (UTC)	[thread overview]
Message-ID: <natb69$139j$1@gioia.aioe.org> (raw)
In-Reply-To: 0ea00ce7-49b2-4025-9bad-1c6eefe3cf7e@googlegroups.com

> Unfortunately that still produces 12x13 Cyrillic glyphs.

Now I realize what it happens.  Latin characters are in 7x13, but
Cyrillic appear in 12x13.

From (info "(emacs) Modifying Fontsets")

    Fontsets do not always have to be created from scratch.  If only minor
    changes are required it may be easier to modify an existing fontset.
    Modifying `fontset-default' will also affect other fontsets that use it
    as a fallback, so can be an effective way of fixing problems with the
    fonts that Emacs chooses for a particular script.

    Fontsets can be modified using the function `set-fontset-font',
    specifying a character, a charset, a script, or a range of characters
    to modify the font for, and a font specification for the font to be
    used.  Some examples are:

This should do the job

;; Use 7x13 for unicode charset.
(set-fontset-font "fontset-default" 'unicode
    "-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1")


In any case, it looks like a bug, emacs by default should not resort
by default to 12x13.  The font 7x13 with iso10646-1 already contains
Cyrillic characters.







  reply	other threads:[~2016-02-27 23:23 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
2016-02-27 22:53   ` Vladimir Panteleev
2016-02-27 23:23     ` Javier [this message]
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='natb69$139j$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).