all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.