From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Henri =?ISO-8859-1?Q?H=E4kkinen?= Newsgroups: gmane.emacs.help Subject: Thai fonts Date: Tue, 08 Jul 2008 19:32:17 +0300 Message-ID: <1215534737.29795.10.camel@henux> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: Quoted-Printable X-Trace: ger.gmane.org 1215576325 16283 80.91.229.12 (9 Jul 2008 04:05:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jul 2008 04:05:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 09 06:06:12 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KGQwL-0002FV-KD for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Jul 2008 06:06:01 +0200 Original-Received: from localhost ([127.0.0.1]:41052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KGQvU-0004qi-DZ for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Jul 2008 00:05:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KGG74-0004y2-Gp for help-gnu-emacs@gnu.org; Tue, 08 Jul 2008 12:32:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KGG72-0004xS-QG for help-gnu-emacs@gnu.org; Tue, 08 Jul 2008 12:32:22 -0400 Original-Received: from [199.232.76.173] (port=53132 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KGG72-0004xM-Mu for help-gnu-emacs@gnu.org; Tue, 08 Jul 2008 12:32:20 -0400 Original-Received: from mta-out.inet.fi ([195.156.147.13]:60916 helo=kirsi1.rokki.sonera.fi) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KGG72-0005HX-5j for help-gnu-emacs@gnu.org; Tue, 08 Jul 2008 12:32:20 -0400 Original-Received: from [192.168.11.2] (88.193.128.169) by kirsi1.rokki.sonera.fi (8.5.014) (authenticated as hakkh-2t) id 483E837C01B7277E for help-gnu-emacs@gnu.org; Tue, 8 Jul 2008 19:32:18 +0300 X-Mailer: Evolution 2.22.2 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-Mailman-Approved-At: Wed, 09 Jul 2008 00:04:49 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:55325 Archived-At: 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=C3=A4kkinen