unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Multilingual Font  Control
@ 2018-01-25  8:26 Richard Wordingham
  2018-01-25 17:05 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Wordingham @ 2018-01-25  8:26 UTC (permalink / raw)
  To: help-gnu-emacs

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.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-01-26  7:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-25  8:26 Multilingual Font Control Richard Wordingham
2018-01-25 17:05 ` Eli Zaretskii
2018-01-25 19:37   ` Richard Wordingham
2018-01-26  7:47     ` Eli Zaretskii

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).