[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multilingual Font Control
From: |
Richard Wordingham |
Subject: |
Re: Multilingual Font Control |
Date: |
Thu, 25 Jan 2018 19:37:41 +0000 |
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.