From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.help Subject: Re: PostScript printing Latin-N (with N != 1) Date: Wed, 11 Jan 2006 16:55:15 +0100 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: <534d19de0601031634o49dfd53dl7d701ff6512900f9@mail.gmail.com> <6FC795CC-C015-4A12-81DF-15E01A9E9EDA@Web.DE> <534d19de0601041756x783e8094v1f0397efaa7a6662@mail.gmail.com> <9610A538-831B-4CBD-97D3-93FDC4025A51@Web.DE> Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1137005247 32462 80.91.229.2 (11 Jan 2006 18:47:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 Jan 2006 18:47:27 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 11 19:47:25 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EwkzO-0005EO-72 for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jan 2006 19:46:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ewl1Q-0003Br-Vd for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jan 2006 13:48:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EwiuU-0005Oe-JW for help-gnu-emacs@gnu.org; Wed, 11 Jan 2006 11:33:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EwiuO-0005LT-5G for help-gnu-emacs@gnu.org; Wed, 11 Jan 2006 11:33:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EwiuN-0005Kt-0q for help-gnu-emacs@gnu.org; Wed, 11 Jan 2006 11:33:11 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Ewix1-0000YC-FY for help-gnu-emacs@gnu.org; Wed, 11 Jan 2006 11:35:55 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ewirm-0001ml-IN for help-gnu-emacs@gnu.org; Wed, 11 Jan 2006 17:30:30 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de ([134.60.10.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jan 2006 17:30:30 +0100 Original-Received: from Reiner.Steib by bridgekeeper.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jan 2006 17:30:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-To: help-gnu-emacs@gnu.org Original-Lines: 58 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de X-Face: #vK]N[`vqjuod*|)'[iD7/"3AB-ApT%fmN"LWAg@oS7OesGv~)n[OBTLM#I="J'Y^-7I I/ps7o_'IK@#-Rs{::DZ@O8yS|fexe,XslY[:dNWOb~>?mC-&i_c)say:"\IpA.5U.b]'NY; Pks{lb h.+#6%DpZuaK3dcHB`Av3zc:r!C%~s0&m, tWj]&}, qg.+0ww2gK%f!:GK|wMl.I!(voY*1"^li8"~B BNG)9LvPi?^DMR-GVDnZqhu*3Hi, +g=wFhI)BL6&u{EOVEHjVEVq~d?_}lMntWAc3(6?kftjc>_f>! g0wM(qPM$d5]^TT_Qyi&L?LGVG)SHN;Gk/,pkY9,~ Mail-Copies-To: nobody User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:r6RnfXdkzXORwHdiUhzOyIaXkNY= 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:32592 Archived-At: On Tue, Jan 10 2006, Eli Zaretskii wrote: >> /usr/share/fonts/bdf$ ls [...] > Does any of these fonts support Latin-9? If not, that's the reason > for the empty box instead of the Euro. I don't know. Probably not, as you message on emacs-devel suggests. > But if your printer has Latin-9 fonts, you could use > 'bdf-font-except-latin if you modify > ps-mule-font-info-database-latin to handle Latin-9 instead of > Latin-1. With the patch and setup suggested by Kenichi Handa I was able to print Latin-9 but it was wrong for Latin-1. (see my previous message: ) Maybe Emacs could do something similar to GNU enscript. Printing my sample file with "enscript --encoding=latin9" (and latin1) works there: gs is able to display the correct glyphs. (Since most end-users don't have real PostScript printers, it should be possible to render the output with gs as most print systems on GNU/Linux use it, AFAIK.) > Anyway, the original issue was this: > >> On Fri, Jan 06 2006, Eli Zaretskii wrote: >> >> > Your message to which I replied made it sound like Emacs PostScript >> > printing is broken for anything but Latin-1. Which is clearly not >> > true. All one needs is download and install the GNU Intlfonts >> > package and customize a few variables as documented in ps-mule.el. > > So, even if Latin-9 is not supported because Intlfonts doesn't have a > font for it, it doesn't mean only Latin-1 is supported. I didn't claim that it doesn't work for anything else but Latin-1. I only tested the most important encoding beyond Latin-1 for my region which is Latin-9 because of the Euro sign. > Try printing Latin-2, Latin-3, Cyrillic, Thai, Japanese, etc. Printing the same file (with the ¤uro) encoded in UTF-8 fails with: "bdf-read-font-info: BDF file etl24-unicode.bdf doesn't exist" Printing the Thai example text from HELLO produces a PS file, but gs can't display the PS file (as in my previous mail): Unrecoverable error: typecheck in aload Operand stack: SpaceWidth --nostringval-- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/