From: "Henri Häkkinen" <henri.hakkinen@pp2.inet.fi>
To: help-gnu-emacs@gnu.org
Subject: Thai fonts
Date: Tue, 08 Jul 2008 19:32:17 +0300 [thread overview]
Message-ID: <1215534737.29795.10.camel@henux> (raw)
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
next reply other threads:[~2008-07-08 16:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-08 16:32 Henri Häkkinen [this message]
2008-07-09 8:19 ` Thai fonts Peter Dyballa
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1215534737.29795.10.camel@henux \
--to=henri.hakkinen@pp2.inet.fi \
--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.
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.