From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nospam@dev.null (Alexey Pustyntsev) Newsgroups: gmane.emacs.help Subject: Re: pdf or ps from emacs syntax highlighted source code Date: Sun, 06 May 2007 13:42:51 +1100 Message-ID: References: <463A48E0.5030605@xs4all.nl> <87lkg4n5pe.fsf@gmail.com> <463B2E5D.2050501@gmail.com> <1588EA99-25E4-4150-9AE8-35A4239B4469@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1178419223 21843 80.91.229.12 (6 May 2007 02:40:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 6 May 2007 02:40:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 06 04:40:22 2007 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 1HkWfd-0005Sh-L6 for geh-help-gnu-emacs@m.gmane.org; Sun, 06 May 2007 04:40:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HkWmR-0006rZ-Eg for geh-help-gnu-emacs@m.gmane.org; Sat, 05 May 2007 22:47:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HkWmE-0006rK-RE for help-gnu-emacs@gnu.org; Sat, 05 May 2007 22:47:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HkWm8-0006r5-9k for help-gnu-emacs@gnu.org; Sat, 05 May 2007 22:47:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HkWm8-0006r2-4W for help-gnu-emacs@gnu.org; Sat, 05 May 2007 22:47:04 -0400 Original-Received: from [87.242.74.155] (helo=sycore.org) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HkWfJ-00023i-6t for help-gnu-emacs@gnu.org; Sat, 05 May 2007 22:40:01 -0400 Original-Received: by sycore.org (Postfix, from userid 8) id B2C6112FCB; Sun, 6 May 2007 06:39:41 +0400 (MSD) Original-Received: from sycore.org (d2045.ys.dialup.sakhalin.ru [87.251.96.45]) by sycore.org (Postfix) with ESMTP id AB11E12FC7 for ; Sun, 6 May 2007 06:39:38 +0400 (MSD) Original-Received: from alexey by sycore.org with local (Exim 4.63) (envelope-from ) id 1HkWi3-000070-MS for help-gnu-emacs@gnu.org; Sun, 06 May 2007 13:42:51 +1100 User-Agent: Gnus/5.11 Emacs/22.0.95.1 In-Reply-To: <1588EA99-25E4-4150-9AE8-35A4239B4469@Web.DE> (Peter Dyballa's message of "Sat\, 5 May 2007 10\:46\:12 +0200") X-detected-kernel: 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:43757 Archived-At: Peter Dyballa writes: > Am 05.05.2007 um 03:33 schrieb Alexey Pustyntsev: > >> Would you please briefly explain to me (or post a decent link where >> it's been clarified) why printing the non-latin characters is said to >> be impossible in Emacs without htmlizing the buffer? > > Citing myself from six weeks ago: > > The problem with PostScript is that it usually only supports 8 bit > encodings. So you can't print Unicode. You can try to find a CID > keyed PostScript font and with some effort you can print CJK. No such > font is available for free or public domain. TrueType and OpenType > fonts have better Unicode support. Modern PostScript can use such > TrueType fonts, which are quite often free and acceptable quality. > But I have no idea how to create a mapping from an UTF-8 encoded text > to a Unicode encoded font in PostScript. > > Another problem is that GNU Emacs' PS print facility does not support > non-Latin scripts. It actually only supports ISO 8859-1 and it > reports that characters outside this encoding exist in the region or > buffer you want to print. > > -- > Greetings > > Pete Thank you very much, Pete. I understand the problem now. -- Rgds Alexey