all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Thai fonts
@ 2008-07-08 16:32 Henri Häkkinen
  2008-07-09  8:19 ` Peter Dyballa
  0 siblings, 1 reply; 2+ messages in thread
From: Henri Häkkinen @ 2008-07-08 16:32 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I am editing a text document that contains some portions written in Thai
script. When I open this document in gedit, for example, I see the Thai
text as I think they should be written. But when the same document is
opened with emacs, the Thai becomes gibberish to me as emacs is
substituting some other Thai font for it that I am not familiar with.

Somebody told me that I am required to use fontsets to define the font
which is to be used for Thai. Something like this:

(set-fontset-font "fontset-startup" TARGET FONTSPEC)

TARGET needs to be the character set I am setting the font for, and
FONTSPEC either the name of the font or object returned by font-spec
function.

Can you help me with this? How do I find out the correct charset TARGET
and a font that supports Thai script? Can I use "thai" for TARGET or
what?

--
Henri Häkkinen






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

end of thread, other threads:[~2008-07-09  8:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-08 16:32 Thai fonts Henri Häkkinen
2008-07-09  8:19 ` Peter Dyballa

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.