unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Richard Wordingham <richard.wordingham@ntlworld.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Multilingual Font  Control
Date: Thu, 25 Jan 2018 19:37:41 +0000	[thread overview]
Message-ID: <20180125193741.6f9542e9@JRWUBU2> (raw)
In-Reply-To: <83inbpna2o.fsf@gnu.org>

On Thu, 25 Jan 2018 19:05:03 +0200
Eli Zaretskii <eliz@gnu.org> wrote:

> > Date: Thu, 25 Jan 2018 08:26:06 +0000
> > From: Richard Wordingham <richard.wordingham@ntlworld.com>
> > 
> > I don't use Thai in Emacs very often at the moment, and I hit a
> > display problem when I had to use it urgently the other night.  I
> > used describe-char to identify the immediate cause - Emacs was
> > using the barely readable 'handwritten' font Purisa instead of the
> > usual default, Kinnari.  
> 
> What Emacs version was that, and on what OS?
OS is Ubuntu 16.04.3, Emacs versions 24.4 and 25.3.

> 
> > I've fixed the problem for many purposes by simply adding the line
> > 
> > (set-fontset-font "fontset-default" 'thai "Kinnari") ;; Def. not
> > Purisa
> > 
> > to my .emacs.  However, this command looks as though it may not work
> > well with font-locking, which may select other font sets.  
> 
> Why do you think it will not work with font-lock?  I see no reason why
> it shouldn't.

I thought that other faces would be defined by the time .emacs executed
the expression.  Looking closer, it does seem that they are defined
later, and presumably based on fontset-default by default.

Richard.



  reply	other threads:[~2018-01-25 19:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-25  8:26 Multilingual Font Control Richard Wordingham
2018-01-25 17:05 ` Eli Zaretskii
2018-01-25 19:37   ` Richard Wordingham [this message]
2018-01-26  7:47     ` Eli Zaretskii

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=20180125193741.6f9542e9@JRWUBU2 \
    --to=richard.wordingham@ntlworld.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).