From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Thai fonts Date: Wed, 9 Jul 2008 10:19:31 +0200 Message-ID: <78F8CC95-30C3-4F6A-99E7-46C2E3B26A21@Web.DE> References: <1215534737.29795.10.camel@henux> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1215591604 22706 80.91.229.12 (9 Jul 2008 08:20:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jul 2008 08:20:04 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: =?ISO-8859-1?Q?Henri_H=E4kkinen?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 09 10:20:51 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 1KGUuv-0000uU-8O for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Jul 2008 10:20:50 +0200 Original-Received: from localhost ([127.0.0.1]:36985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KGUu3-0005En-8h for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Jul 2008 04:19:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KGUtk-0005Eg-QA for help-gnu-emacs@gnu.org; Wed, 09 Jul 2008 04:19:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KGUtk-0005EU-5M for help-gnu-emacs@gnu.org; Wed, 09 Jul 2008 04:19:36 -0400 Original-Received: from [199.232.76.173] (port=47907 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KGUtk-0005EQ-1b for help-gnu-emacs@gnu.org; Wed, 09 Jul 2008 04:19:36 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]:56630) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KGUtj-00040U-9a for help-gnu-emacs@gnu.org; Wed, 09 Jul 2008 04:19:35 -0400 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate02.web.de (Postfix) with ESMTP id 6F50EE4D8535; Wed, 9 Jul 2008 10:19:34 +0200 (CEST) Original-Received: from [91.35.225.102] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.109 #226) id 1KGUth-0004Ml-00; Wed, 09 Jul 2008 10:19:34 +0200 In-Reply-To: <1215534737.29795.10.camel@henux> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX197k9zpPimzFmcooKcjkB4pbHhN64ILmZSKtvLT lzgeZ0iRh0SGEVdjnSxGIV/8ahkKRYPSdUrO2LMbxiPLrYH/Vl WS93e7FeJDy0Rnfo3w/w== X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:55333 Archived-At: Am 08.07.2008 um 18:32 schrieb Henri H=E4kkinen: > (set-fontset-font "fontset-startup" TARGET FONTSPEC) It's a bit complicated and needs too much work. You could try =20 something like this: ;; my naming! (create-fontset-from-fontset-spec "-adobe-courier-=20 medium-r-*-*-11-*-*-*-*-*-fontset-11pt_adobe_courier" t 'noerror) (set-fontset-font "fontset-11pt_adobe_courier" 'latin-=20 iso8859-1 '("adobe-courier" . "iso8859-1")) (set-fontset-font "fontset-11pt_adobe_courier" 'latin-=20 iso8859-2 '("adobe-courier" . "iso8859-2")) (set-fontset-font "fontset-11pt_adobe_courier" 'latin-=20 iso8859-3 '("adobe-courier" . "iso8859-3")) (set-fontset-font "fontset-11pt_adobe_courier" 'latin-=20 iso8859-4 '("adobe-courier" . "iso8859-4")) (set-fontset-font "fontset-11pt_adobe_courier" 'greek-=20 iso8859-7 '("adobe-couriergr" . "iso8859-7")) (set-fontset-font "fontset-11pt_adobe_courier" 'latin-=20 iso8859-9 '("adobe-courier" . "iso8859-9")) (set-fontset-font "fontset-11pt_adobe_courier" 'latin-=20 iso8859-14 '("adobe-courier" . "iso8859-14")) (set-fontset-font "fontset-11pt_adobe_courier" 'latin-=20 iso8859-15 '("adobe-courier" . "iso8859-15")) ; (set-fontset-font "fontset-11pt_adobe_courier" 'latin-=20 iso8859-16 '("adobe-courier" . "iso8859-16")) (set-fontset-font "fontset-11pt_adobe_courier" 'mule-=20 unicode-0100-24ff '("adobe-courier" . "iso10646-1")) (set-fontset-font "fontset-11pt_adobe_courier" 'mule-=20 unicode-2500-33ff '("adobe-courier" . "iso10646-1")) (set-fontset-font "fontset-11pt_adobe_courier" = 'mule-unicode-e000-=20 ffff '("adobe-courier" . "iso10646-1")) (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0370) (decode-char 'ucs #x03cf)) '("courier new" . =20 "iso10646-1")) ; Greek (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x03d0) (decode-char 'ucs #x03ff)) '("lucida sans typewriter" . =20 "iso10646-1")) ; Coptic (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0400) (decode-char 'ucs #x04ff)) '("lucida sans typewriter" . =20 "iso10646-1")) ; Cyrillic (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0500) (decode-char 'ucs #x052f)) '("lucida sans typewriter" . =20 "iso10646-1")) ; Cyrillic Supplement (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0530) (decode-char 'ucs #x058f)) '("aramian unicode" . =20 "iso10646-1")) ; Armenian (sylfaen (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0590) (decode-char 'ucs #x05af)) '("lucida sans typewriter" . =20 "iso10646-1")) ; Hebrew (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x05b0) (decode-char 'ucs #x05ff)) '("courier new" . =20 "iso10646-1")) ; Hebrew (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0600) (decode-char 'ucs #x066f)) '("courier new" . =20 "iso10646-1")) ; Arabic (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0670) (decode-char 'ucs #x06ff)) '("lucida sans typewriter" . =20 "iso10646-1")) ; Arabic (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0700) (decode-char 'ucs #x074f)) '("titus cyberbit basic" . =20 "iso10646-1")) ; Syriac (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0780) (decode-char 'ucs #x07bf)) '("titus cyberbit basic" . =20 "iso10646-1")) ; Thaana (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0900) (decode-char 'ucs #x097f)) '("titus cyberbit basic" . =20 "iso10646-1")) ; Devanagari (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0980) (decode-char 'ucs #x09ff)) '("code2000" . =20 "iso10646-1")) ; Bengali (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0a00) (decode-char 'ucs #x0a7f)) '("code2000" . =20 "iso10646-1")) ; Gurmukhi (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0a80) (decode-char 'ucs #x0aff)) '("code2000" . =20 "iso10646-1")) ; Gujarati (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0b00) (decode-char 'ucs #x0b7f)) '("code2000" . =20 "iso10646-1")) ; Oriya (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0b80) (decode-char 'ucs #x0bff)) '("code2000" . =20 "iso10646-1")) ; Tamil (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0c00) (decode-char 'ucs #x0c7f)) '("code2000" . =20 "iso10646-1")) ; Telugu (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0c80) (decode-char 'ucs #x0cff)) '("code2000" . =20 "iso10646-1")) ; Kannada (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0d00) (decode-char 'ucs #x0d7f)) '("code2000" . =20 "iso10646-1")) ; Malayalam (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0d80) (decode-char 'ucs #x0dff)) '("akshar unicode" . =20 "iso10646-1")) ; Sinhala (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0e00) (decode-char 'ucs #x0e7f)) '("code2000" . =20 "iso10646-1")) ; Thai (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0e80) (decode-char 'ucs #x0eff)) '("code2000" . =20 "iso10646-1")) ; Lao (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x0f00) (decode-char 'ucs #x0fff)) '("xtashi" . "iso10646-1")) = ; =20 Tibetan (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x1000) (decode-char 'ucs #x109f)) '("code2000" . =20 "iso10646-1")) ; Myanmar (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x10a0) (decode-char 'ucs #x10ff)) '("everson mono unicode" . =20 "iso10646-1")) ; Georgian (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x1100) (decode-char 'ucs #x11ff)) '("code2000" . =20 "iso10646-1")) ; Hangul Jamo (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x1200) (decode-char 'ucs #x137f)) '("ethiopia jiret" . =20 "iso10646-1")) ; Ethiopic (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x13a0) (decode-char 'ucs #x13ff)) '("everson mono unicode" . =20 "iso10646-1")) ; Cherokee (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x1400) (decode-char 'ucs #x167f)) '("everson mono unicode" . =20 "iso10646-1")) ; Canadian Aboriginal Syllabics (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x1680) (decode-char 'ucs #x169f)) '("everson mono unicode" . =20 "iso10646-1")) ; Ogham (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x16a0) (decode-char 'ucs #x16ff)) '("everson mono unicode" . =20 "iso10646-1")) ; Runic ; (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x1700) (decode-char 'ucs #x171f)) '("code2000" . =20 "iso10646-1")) ; Tagalog ; (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x1720) (decode-char 'ucs #x173f)) '("code2000" . =20 "iso10646-1")) ; Hanunoo (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x1740) (decode-char 'ucs #x175f)) '("code2000" . =20 "iso10646-1")) ; Buhid ; (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x1760) (decode-char 'ucs #x177f)) '("code2000" . =20 "iso10646-1")) ; Tagbanwa (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x1780) (decode-char 'ucs #x17ff)) '("code2000" . =20 "iso10646-1")) ; Khmer (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x1800) (decode-char 'ucs #x18af)) '("code2000" . =20 "iso10646-1")) ; Mongolian (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x1900) (decode-char 'ucs #x194f)) '("code2000" . =20 "iso10646-1")) ; Limbu (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x1950) (decode-char 'ucs #x197f)) '("tai le valentinium" . =20 "iso10646-1")) ; Tai Le (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x19e0) (decode-char 'ucs #x19ff)) '("cdt khmer" . =20 "iso10646-1")) ; Khmer Symbols (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x1d00) (decode-char 'ucs #x1d7f)) '("everson mono unicode" . =20 "iso10646-1")) ; Phonetic Extensions (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x1e00) (decode-char 'ucs #x1eff)) '("courier" . =20 "iso10646-1")) ; Latin Extended Additional (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x1f00) (decode-char 'ucs #x1fff)) '("everson mono unicode" . =20 "iso10646-1")) ; Greek Extended (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2000) (decode-char 'ucs #x206f)) '("everson mono unicode" . =20 "iso10646-1")) ; General Puctuation (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2070) (decode-char 'ucs #x209f)) '("everson mono unicode" . =20 "iso10646-1")) ; Superscripts and Subscripts (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x20a0) (decode-char 'ucs #x20cf)) '("everson mono unicode" . =20 "iso10646-1")) ; Currency Symbols (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x20d0) (decode-char 'ucs #x20ff)) '("everson mono unicode" . =20 "iso10646-1")) ; Combining Marks for Symbols (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2100) (decode-char 'ucs #x214f)) '("everson mono unicode" . =20 "iso10646-1")) ; Letterlike Symbols ; (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2150) (decode-char 'ucs #x218f)) '("courier new" . =20 "iso10646-1")) ; Number Forms (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2190) (decode-char 'ucs #x21ff)) '("code2000" . =20 "iso10646-1")) ; *Arrows (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2200) (decode-char 'ucs #x22ff)) '("code2000" . =20 "iso10646-1")) ; Mathematical Operators (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2300) (decode-char 'ucs #x23ff)) '("code2000" . =20 "iso10646-1")) ; Miscellaneous Technical (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2400) (decode-char 'ucs #x243f)) '("code2000" . =20 "iso10646-1")) ; Control Pictures (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2440) (decode-char 'ucs #x245f)) '("code2000" . =20 "iso10646-1")) ; Optical Character Recognition (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2460) (decode-char 'ucs #x24ff)) '("code2000" . =20 "iso10646-1")) ; Enclosed Alphanumerics (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2500) (decode-char 'ucs #x257f)) '("code2000" . =20 "iso10646-1")) ; Box Drawing (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2580) (decode-char 'ucs #x259f)) '("code2000" . =20 "iso10646-1")) ; Block Elements (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x25a0) (decode-char 'ucs #x25ff)) '("code2000" . =20 "iso10646-1")) ; Geometric Shapes (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2600) (decode-char 'ucs #x26ff)) '("code2000" . =20 "iso10646-1")) ; Miscellaneous Symbols (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2700) (decode-char 'ucs #x27bf)) '("code2000" . =20 "iso10646-1")) ; Dingbats (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x27c0) (decode-char 'ucs #x27ef)) '("code2000" . =20 "iso10646-1")) ; Miscellaneous Math Symbols-A (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x27f0) (decode-char 'ucs #x27ff)) '("code2000" . =20 "iso10646-1")) ; Supplemental Arrows-A (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2800) (decode-char 'ucs #x28ff)) '("code2000" . =20 "iso10646-1")) ; Braille Patterns (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2900) (decode-char 'ucs #x297f)) '("code2000" . =20 "iso10646-1")) ; Supplemental Arrows-B (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2980) (decode-char 'ucs #x29ff)) '("code2000" . =20 "iso10646-1")) ; Miscellaneous Math Symbols-B (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2a00) (decode-char 'ucs #x2aff)) '("code2000" . =20 "iso10646-1")) ; Supplemental Math Operators (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2b00) (decode-char 'ucs #x2bff)) '("code2000" . =20 "iso10646-1")) ; Miscellaneous Symbols and Arrows (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2e80) (decode-char 'ucs #x2eff)) '("code2000" . =20 "iso10646-1")) ; CJK Radicals Supplement (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2f00) (decode-char 'ucs #x2fdf)) '("code2000" . =20 "iso10646-1")) ; Kangxi Radicals (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x2ff0) (decode-char 'ucs #x2fff)) '("code2000" . =20 "iso10646-1")) ; Ideographic Description Characters (set-fontset-font "fontset-11pt_adobe_courier" (cons = (decode-char =20 'ucs #x3000) (decode-char 'ucs #x303f)) '("code2000" . =20 "iso10646-1")) ; CJK Symbols and Punctuation It works in GNU Emacsen 22.x and the latest releases of 23.x. I think =20= you would need to substitute my fontset name =20 "fontset-11pt_adobe_courier" with "fontset-startup." -- Greetings Pete There's something the technicians need to learn from the artists. If =20 it isn't aesthetically pleasing, it's probably wrong.