From: Richard Wordingham <richard.wordingham@ntlworld.com>
To: help-gnu-emacs@gnu.org
Subject: Multilingual Font Control
Date: Thu, 25 Jan 2018 08:26:06 +0000 [thread overview]
Message-ID: <20180125082606.11435b2f@JRWUBU2> (raw)
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.
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. Is there
some other method I should use? I need to specify a font for other
character ranges, so I currently have:
(set-fontset-font "fontset-default" '(#x1a20 . #x1aad) "Da Lekh")
(set-fontset-font "fontset-default" '(#x13000 . #x1342f) "NewGardiner")
(set-fontset-font "fontset-default" 'thai "Kinnari") ;; Def. not Purisa
Richard.
next reply other threads:[~2018-01-25 8:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-25 8:26 Richard Wordingham [this message]
2018-01-25 17:05 ` Multilingual Font Control Eli Zaretskii
2018-01-25 19:37 ` Richard Wordingham
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=20180125082606.11435b2f@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).