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: display of ancient Greek chars (after: Re: set UTF-8 for a file (HTML)) Date: Mon, 11 Feb 2008 00:11:57 +0100 Message-ID: <2C88ADB5-83F9-4963-BC24-5F3AAA1A1FD6@Web.DE> References: <47AF5A17.4090709@speakeasy.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1202685144 8389 80.91.229.12 (10 Feb 2008 23:12:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Feb 2008 23:12:24 +0000 (UTC) Cc: GNU Emacs List To: ken Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 11 00:12:46 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 1JOLLo-0005St-Ti for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Feb 2008 00:12:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOLLL-0005US-Gz for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Feb 2008 18:12:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOLL8-0005UM-Bw for help-gnu-emacs@gnu.org; Sun, 10 Feb 2008 18:12:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOLL7-0005UA-OB for help-gnu-emacs@gnu.org; Sun, 10 Feb 2008 18:12:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOLL7-0005U7-LL for help-gnu-emacs@gnu.org; Sun, 10 Feb 2008 18:12:01 -0500 Original-Received: from fmmailgate03.web.de ([217.72.192.234]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JOLL7-00062p-87 for help-gnu-emacs@gnu.org; Sun, 10 Feb 2008 18:12:01 -0500 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate03.web.de (Postfix) with ESMTP id 51EB5CE6BFD6; Mon, 11 Feb 2008 00:12:00 +0100 (CET) Original-Received: from [195.4.206.106] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.109 #226) id 1JOLL5-0003R1-00; Mon, 11 Feb 2008 00:12:00 +0100 In-Reply-To: <47AF5A17.4090709@speakeasy.net> X-Mailer: Apple Mail (2.753) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX19fjsNiIEwbDR1jA6msmT9G3hBQuOkldaClpGKn 5DbL1Zz2fyQwXo3fRe0o6+Yua2/cwVPvzepUsvOmYL0ze21d9o 7zOKPlm+N2dGpIq5OlAQ== 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:51406 Archived-At: Am 10.02.2008 um 21:09 schrieb ken: > Is there another variable:value pair I can include in the first =20 > line (specified above) to make the Greek characters display =20 > correctly in emacs? No, not that easily (there were rich or augmented text modes =20 mentioned on this list, but I don't remember). The problem you have =20 in GNU Emacs is that you either need a (mono-spaced) font that has =20 Latin and Greek glyphs (xfd can display a font's contents, you could =20 also set for xfontsel a sampleTextUCS resource that combines Greek =20 and some Latin to instantly show whether the chosen font is able to =20 display it, you also can use fc-list to display only fonts that have =20 Greek support: 'fc-list :lang=3Del', the "word" ``el=B4=B4 is from = RFC-3066/=20 ISO 639, which you should know as HTML programmer) or you need to =20 setup a fontset in which you combine font A to serve for Latin and =20 font B to serve for Greek (and font C for Indic ...). Something like =20 this might work (for one font size): (create-fontset-from-fontset-spec "-adobe-courier-medium-r-*-*-9-=20= *-*-*-*-*-fontset-09pt_adobe_courier" t 'noerror) (set-fontset-font "fontset-09pt_adobe_courier" 'latin-=20 iso8859-1 '("adobe-courier" . "iso8859-1")) (set-fontset-font "fontset-09pt_adobe_courier" 'latin-=20 iso8859-2 '("adobe-courier" . "iso8859-2")) (set-fontset-font "fontset-09pt_adobe_courier" 'latin-=20 iso8859-3 '("adobe-courier" . "iso8859-3")) (set-fontset-font "fontset-09pt_adobe_courier" 'latin-=20 iso8859-4 '("adobe-courier" . "iso8859-4")) (set-fontset-font "fontset-09pt_adobe_courier" 'latin-=20 iso8859-9 '("adobe-courier" . "iso8859-9")) (set-fontset-font "fontset-09pt_adobe_courier" 'latin-=20 iso8859-14 '("adobe-courier" . "iso8859-14")) (set-fontset-font "fontset-09pt_adobe_courier" 'latin-=20 iso8859-15 '("adobe-courier" . "iso8859-15")) (set-fontset-font "fontset-09pt_adobe_courier" 'mule-=20 unicode-0100-24ff '("adobe-courier" . "iso10646-1")) (set-fontset-font "fontset-09pt_adobe_courier" 'mule-=20 unicode-2500-33ff '("adobe-courier" . "iso10646-1")) (set-fontset-font "fontset-09pt_adobe_courier" = 'mule-unicode-e000-=20 ffff '("adobe-courier" . "iso10646-1")) (set-fontset-font "fontset-09pt_adobe_courier" (cons = (decode-char =20 'ucs #x0370) (decode-char 'ucs #x03cf)) '("courier new" . =20 "iso10646-1")) ; Greek (set-fontset-font "fontset-09pt_adobe_courier" (cons = (decode-char =20 'ucs #x03d0) (decode-char 'ucs #x03ff)) '("lucida sans typewriter" . =20 "iso10646-1")) ; Coptic (set-fontset-font "fontset-09pt_adobe_courier" (cons = (decode-char =20 'ucs #x0400) (decode-char 'ucs #x04ff)) '("lucida sans typewriter" . =20 "iso10646-1")) ; Cyrillic (set-fontset-font "fontset-09pt_adobe_courier" (cons = (decode-char =20 'ucs #x0500) (decode-char 'ucs #x052f)) '("lucida sans typewriter" . =20 "iso10646-1")) ; Cyrillic Suppl (set-fontset-font "fontset-09pt_adobe_courier" (cons = (decode-char =20 'ucs #x0530) (decode-char 'ucs #x058f)) '("aramian unicode" . =20 "iso10646-1")) ; Armenian (sylfaen (set-fontset-font "fontset-09pt_adobe_courier" (cons = (decode-char =20 'ucs #x0590) (decode-char 'ucs #x05ff)) '("courier new" . =20 "iso10646-1")) ; Hebrew (set-fontset-font "fontset-09pt_adobe_courier" (cons = (decode-char =20 'ucs #x0600) (decode-char 'ucs #x06ff)) '("lucida sans typewriter" . =20 "iso10646-1")) ; Arabic (set-fontset-font "fontset-09pt_adobe_courier" (cons = (decode-char =20 'ucs #x0700) (decode-char 'ucs #x074f)) '("courier new" . =20 "iso10646-1")) ; Syriac -- Greetings Pete Our enemies are innovative and resourceful, and so are we. They never =20= stop thinking about new ways to harm our country and our people, and =20 neither do we. =96 Georges W. Bush