From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Penton Newsgroups: gmane.emacs.help Subject: Re: ps-print question Date: Sun, 2 Jan 2011 21:19:48 -0500 Message-ID: <5B72ACF7-0ACA-4DC9-A49F-98AA1DF0B504@arqux.com> References: <9E47A63C-3337-4CF9-AC0E-C91082557375@arqux.com> <97BBE33A-D586-4CFA-BE9C-96C6ABBD22A3@Web.DE> <63E6A495-DFCF-4791-B39A-9B9893228275@Freenet.DE> <47A0F9E5-9581-4484-99DA-71B1D2E54DF2@arqux.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1294021931 29884 80.91.229.12 (3 Jan 2011 02:32:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 Jan 2011 02:32:11 +0000 (UTC) To: GNU Emacs List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 03 03:32:07 2011 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.69) (envelope-from ) id 1PZaDN-0002ue-Bk for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Jan 2011 03:32:05 +0100 Original-Received: from localhost ([127.0.0.1]:39633 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZa1x-0004rC-TU for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Jan 2011 21:20:17 -0500 Original-Received: from [140.186.70.92] (port=38267 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZa1Y-0004oC-0S for help-gnu-emacs@gnu.org; Sun, 02 Jan 2011 21:19:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZa1W-0003zj-5o for help-gnu-emacs@gnu.org; Sun, 02 Jan 2011 21:19:51 -0500 Original-Received: from hp37.hostpapa.com ([69.90.162.35]:34846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PZa1V-0003zY-WD for help-gnu-emacs@gnu.org; Sun, 02 Jan 2011 21:19:50 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=arqux.com; h=Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer:X-ACL-Warn; b=QrpFeJvyciw260i7y0BHb8UOaqJoRaYffe8zVgvTq53V5qM9l+oR1LBVLuoD31D2t8pn1Q4l5+aEWCRrTiD4AOuJTgXfgDkx/oEYiMIqwFgruJjprQCrjGo3W+ZVjfTh; Original-Received: from d226-44-36.home.cgocable.net ([24.226.44.36] helo=[10.0.1.5]) by hp37.hostpapa.com with esmtp (Exim 4.69) (envelope-from ) id 1PZa1T-0007yC-I2 for help-gnu-emacs@gnu.org; Sun, 02 Jan 2011 21:19:47 -0500 In-Reply-To: X-Mailer: Apple Mail (2.1082) X-ACL-Warn: { X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hp37.hostpapa.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - arqux.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:78081 Archived-At: On 2011-01-02, at 7:22 PM, Peter Dyballa wrote: >=20 > Am 02.01.2011 um 22:20 schrieb David Penton: >=20 >> (This is in `Bitstream Vera Sans Mono Roman) >=20 >=20 > Yeah =96 this is OK, except that the font is not "Roman". The ` = character becomes Actually, the font IS a Roman font. In typography Roman can either mean = a serif font or an upright (not slanted, not italic) font. (Check = wikipedia on this point.) The Bitstream Vera font name uses Roman in = the second sense. In any case this font name was generated by the genfontmap.ps utility = that comes with ghostscript, which extracts the font name directly from = the TTF font file. That is what I used to generate a new fontmap for = ghostscript; I did not choose the font names. No matter; this is not part of the problem in any case. >=20 > character: =91 (8216, #o20030, #x2018) >=20 > in the PDF file via a CMAP (character mapping) in the PDF output file! = Heh, this is a GNU service! Messages from the GNU Compiler Collection = (GCC) are quoted in these "typographic" single or double quotes. (For = which you can see in the *compilation* buffer lots of \342\200\234, = \342\200\235, \342\200\236, \342\200\237 sequences.) >=20 > I tried to use -dCMAPDEBUG -dTTFDEBUG to debug a bit what gs is doing, = but it's not clear why and when which CMap file gets inserted. Maybe you = can find on the Ghostscript home page a clue to get specific ps2pdfwr = help. >=20 Well, thanks for the information, Peter, but this line of analysis may = not help very much, I fear. The content of the pdf file is not directly relevant to the problem, nor = is ps2pdfwr. The problem arises before conversion to pdf. In my earlier posts I pointed out that the backquote IS preserved in the = simple little postscript example that I supplied. It is preserved in = interactive ghostscript, and also by my modified ps2pdfwr script so that = the backquote appears properly in the resulting pdf file. However, postscript generated by ps-print does NOT preserve the = backquote - even when viewed interactively in ghostscript, without = converting to pdf. So something about the way ps-print generates = postscript is interfering with the use of the added fonts, perhaps. Thus inspecting the resulting PDF is unlikely to tell us anything = interesting. It would be far easier to just inspect the original = postscript generated by ps-print. >=20 > What keeps you from using mac-print-mode? It preserves the backquote. = Or /quoteleft in PostScript. By now I already have more than one way of printing that preserves the = backquote. But I am still interested in getting ps-print to work as I = believe it should. >=20 > -- > Greetings >=20 > Pete >=20 > A common mistake that people make when trying to design something = completely foolproof is to underestimate the ingenuity of complete = fools. > - Douglas Adams, =BBMostly Harmless=AB >=20