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: ps-print question Date: Sat, 1 Jan 2011 21:55:45 +0100 Message-ID: References: <9E47A63C-3337-4CF9-AC0E-C91082557375@arqux.com> <97BBE33A-D586-4CFA-BE9C-96C6ABBD22A3@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1293915390 32261 80.91.229.12 (1 Jan 2011 20:56:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 1 Jan 2011 20:56:30 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: David Penton Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 01 21:56:22 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 1PZ8Us-0006Wk-K9 for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Jan 2011 21:56:22 +0100 Original-Received: from localhost ([127.0.0.1]:35487 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZ8Uq-0000fi-IS for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Jan 2011 15:56:16 -0500 Original-Received: from [140.186.70.92] (port=46870 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZ8UQ-0000fI-2r for help-gnu-emacs@gnu.org; Sat, 01 Jan 2011 15:55:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZ8UO-0004X5-Nl for help-gnu-emacs@gnu.org; Sat, 01 Jan 2011 15:55:49 -0500 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:53596) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PZ8UO-0004Wi-B4 for help-gnu-emacs@gnu.org; Sat, 01 Jan 2011 15:55:48 -0500 Original-Received: from smtp05.web.de ( [172.20.4.166]) by fmmailgate03.web.de (Postfix) with ESMTP id A5B8318391B9C; Sat, 1 Jan 2011 21:55:46 +0100 (CET) Original-Received: from [91.35.214.74] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (WEB.DE 4.110 #2) id 1PZ8UM-0005hJ-00; Sat, 01 Jan 2011 21:55:46 +0100 In-Reply-To: X-Mailer: Apple Mail (2.936) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX18WRdVV6QATIp+53pTviJm60TkGfKwXQKbkyUT1 0b2fIWbQPRr8jmu/npzFVmJrAt0MjB9oe0/3LHyf37eDoG0Lge rj6SXdKzqShOrPr7w8Wg== X-detected-operating-system: by eggs.gnu.org: GNU/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:78029 Archived-At: Am 01.01.2011 um 03:07 schrieb David Penton: > (setq ps-font-info-database > (append > '((BitstreamVera ; the family key > (fonts (normal . "BitstreamVeraSansMono-Roman") > (bold . = "BitstreamVeraSansMono-Bold") > (italic . = "BitstreamVeraSansMono-Oblique") > (bold-italic . = "BitstreamVeraSansMono-BoldOb")) > (size . 10.0) > (line-height . 23.84) > (space-width . 6.31739) > (avg-char-width . 6.31739))) > ps-font-info-database)) I used the font (or rather *compressed* family) name =20 BitstreamVeraSansMono, because of the two proportional text fonts, and =20= I used a line height of only 12.5 pt =96 I think the larger value is a =20= fault. I added the font family via the customisation interface, and =20 the preference to BitstreamVeraSansMono as well. So I have now this =20 customisation: '(ps-font-family (quote BitstreamVeraSansMono)) '(ps-font-info-database (quote ((BitstreamVeraSansMono (fonts =20 (normal . "BitstreamVeraSansMono-Roman") (italic . =20 "BitstreamVeraSansMono-Oblique") (bold . "BitstreamVeraSansMono-Bold") =20= (bold-italic . "BitstreamVeraSansMono-BoldOb")) (size . 10.0) (line-=20 height . 12.5) (space-width . 6.25) (avg-char-width . 6.25)) (Courier =20= (fonts (normal . "Courier") (bold . "Courier-Bold") (italic . "Courier-=20= Oblique") (bold-italic . "Courier-BoldOblique")) (size . 10.0) (line-=20 height . 10.55) (space-width . 6.0) (avg-char-width . 6.0)) (Helvetica =20= (fonts (normal . "Helvetica") (bold . "Helvetica-Bold") (italic . =20 "Helvetica-Oblique") (bold-italic . "Helvetica-BoldOblique")) (size . =20= 10.0) (line-height . 11.56) (space-width . 2.78) (avg-char-width . =20 5.09243)) (Times (fonts (normal . "Times-Roman") (bold . "Times-Bold") =20= (italic . "Times-Italic") (bold-italic . "Times-BoldItalic")) (size . =20= 10.0) (line-height . 11.0) (space-width . 2.5) (avg-char-width . =20 4.71432)) (Palatino (fonts (normal . "Palatino-Roman") (bold . =20 "Palatino-Bold") (italic . "Palatino-Italic") (bold-italic . "Palatino-=20= BoldItalic")) (size . 10.0) (line-height . 12.1) (space-width . 2.5) =20 (avg-char-width . 5.08676)) (Helvetica-Narrow (fonts (normal . =20 "Helvetica-Narrow") (bold . "Helvetica-Narrow-Bold") (italic . =20 "Helvetica-Narrow-Oblique") (bold-italic . "Helvetica-Narrow-=20 BoldOblique")) (size . 10.0) (line-height . 11.56) (space-width . =20 2.2796) (avg-char-width . 4.17579)) (NewCenturySchlbk (fonts (normal . =20= "NewCenturySchlbk-Roman") (bold . "NewCenturySchlbk-Bold") (italic . =20 "NewCenturySchlbk-Italic") (bold-italic . "NewCenturySchlbk-=20 BoldItalic")) (size . 10.0) (line-height . 12.15) (space-width . 2.78) =20= (avg-char-width . 5.31162)) (AvantGarde-Book (fonts (normal . =20 "AvantGarde-Book") (italic . "AvantGarde-BookOblique")) (size . 10.0) =20= (line-height . 11.77) (space-width . 2.77) (avg-char-width . 5.45189)) =20= (AvantGarde-Demi (fonts (normal . "AvantGarde-Demi") (italic . =20 "AvantGarde-DemiOblique")) (size . 10.0) (line-height . 12.72) (space-=20= width . 2.8) (avg-char-width . 5.51351)) (Bookman-Demi (fonts =20 (normal . "Bookman-Demi") (italic . "Bookman-DemiItalic")) (size . =20 10.0) (line-height . 11.77) (space-width . 3.4) (avg-char-width . =20 6.05946)) (Bookman-Light (fonts (normal . "Bookman-Light") (italic . =20 "Bookman-LightItalic")) (size . 10.0) (line-height . 11.79) (space-=20 width . 3.2) (avg-char-width . 5.67027)) (Symbol (fonts (normal . =20 "Symbol")) (size . 10.0) (line-height . 13.03) (space-width . 2.5) =20 (avg-char-width . 3.24324)) (Zapf-Dingbats (fonts (normal . "Zapf-=20 Dingbats")) (size . 10.0) (line-height . 9.63) (space-width . 2.78) =20 (avg-char-width . 2.78)) (ZapfChancery-MediumItalic (fonts (normal . =20 "ZapfChancery-MediumItalic")) (size . 10.0) (line-height . 11.45) =20 (space-width . 2.2) (avg-char-width . 4.10811)) (Zapf-Chancery-=20 MediumItalic (fonts (normal . "ZapfChancery-MediumItalic")) (size . =20 10.0) (line-height . 11.45) (space-width . 2.2) (avg-char-width . =20 4.10811))))) This works fine. With Ghostscript 9.0 =96 8.71 fails. It seems (otool -L = =20 gives a hint) that gs 8.71 has no support for TrueType =20 fonts built-in, i.e., libfreetype... Lucida Sans Typewriter, in /System/Library/Frameworks/JavaVM.framework/=20= Versions/*/Home/lib/fonts, is TTF, and also Liberation Mono or DejaVu =20= Sans Mono or Free Mono. X11 has Luxi Mono in /usr/X11/share/fonts/Type1 =96 as PostScript Type 1 = =20 font files l047*t.pfa. TeX Live distributions come with Latin Modern PostScript Type 1 fonts =20= =96 some of them are monospaced. And Luxi Mono is among them... -- Greetings Pete For some reason, this fortune reminds everyone of Marvin Zelkowitz.