all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: David Penton <djp@arqux.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: ps-print question
Date: Sat, 1 Jan 2011 21:55:45 +0100	[thread overview]
Message-ID: <BD3EA97B-7464-42F8-B4D4-AC1AF01E979D@Web.DE> (raw)
In-Reply-To: <D16AEA8B-8D9E-4560-BB76-773A7B268FEA@arqux.com>


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  
BitstreamVeraSansMono, because of the two proportional text fonts, and  
I used a line height of only 12.5 pt – I think the larger value is a  
fault. I added the font family via the customisation interface, and  
the preference to BitstreamVeraSansMono as well. So I have now this  
customisation:

  '(ps-font-family (quote BitstreamVeraSansMono))
  '(ps-font-info-database (quote ((BitstreamVeraSansMono (fonts  
(normal . "BitstreamVeraSansMono-Roman") (italic .  
"BitstreamVeraSansMono-Oblique") (bold . "BitstreamVeraSansMono-Bold")  
(bold-italic . "BitstreamVeraSansMono-BoldOb")) (size . 10.0) (line- 
height . 12.5) (space-width . 6.25) (avg-char-width . 6.25)) (Courier  
(fonts (normal . "Courier") (bold . "Courier-Bold") (italic . "Courier- 
Oblique") (bold-italic . "Courier-BoldOblique")) (size . 10.0) (line- 
height . 10.55) (space-width . 6.0) (avg-char-width . 6.0)) (Helvetica  
(fonts (normal . "Helvetica") (bold . "Helvetica-Bold") (italic .  
"Helvetica-Oblique") (bold-italic . "Helvetica-BoldOblique")) (size .  
10.0) (line-height . 11.56) (space-width . 2.78) (avg-char-width .  
5.09243)) (Times (fonts (normal . "Times-Roman") (bold . "Times-Bold")  
(italic . "Times-Italic") (bold-italic . "Times-BoldItalic")) (size .  
10.0) (line-height . 11.0) (space-width . 2.5) (avg-char-width .  
4.71432)) (Palatino (fonts (normal . "Palatino-Roman") (bold .  
"Palatino-Bold") (italic . "Palatino-Italic") (bold-italic . "Palatino- 
BoldItalic")) (size . 10.0) (line-height . 12.1) (space-width . 2.5)  
(avg-char-width . 5.08676)) (Helvetica-Narrow (fonts (normal .  
"Helvetica-Narrow") (bold . "Helvetica-Narrow-Bold") (italic .  
"Helvetica-Narrow-Oblique") (bold-italic . "Helvetica-Narrow- 
BoldOblique")) (size . 10.0) (line-height . 11.56) (space-width .  
2.2796) (avg-char-width . 4.17579)) (NewCenturySchlbk (fonts (normal .  
"NewCenturySchlbk-Roman") (bold . "NewCenturySchlbk-Bold") (italic .  
"NewCenturySchlbk-Italic") (bold-italic . "NewCenturySchlbk- 
BoldItalic")) (size . 10.0) (line-height . 12.15) (space-width . 2.78)  
(avg-char-width . 5.31162)) (AvantGarde-Book (fonts (normal .  
"AvantGarde-Book") (italic . "AvantGarde-BookOblique")) (size . 10.0)  
(line-height . 11.77) (space-width . 2.77) (avg-char-width . 5.45189))  
(AvantGarde-Demi (fonts (normal . "AvantGarde-Demi") (italic .  
"AvantGarde-DemiOblique")) (size . 10.0) (line-height . 12.72) (space- 
width . 2.8) (avg-char-width . 5.51351)) (Bookman-Demi (fonts  
(normal . "Bookman-Demi") (italic . "Bookman-DemiItalic")) (size .  
10.0) (line-height . 11.77) (space-width . 3.4) (avg-char-width .  
6.05946)) (Bookman-Light (fonts (normal . "Bookman-Light") (italic .  
"Bookman-LightItalic")) (size . 10.0) (line-height . 11.79) (space- 
width . 3.2) (avg-char-width . 5.67027)) (Symbol (fonts (normal .  
"Symbol")) (size . 10.0) (line-height . 13.03) (space-width . 2.5)  
(avg-char-width . 3.24324)) (Zapf-Dingbats (fonts (normal . "Zapf- 
Dingbats")) (size . 10.0) (line-height . 9.63) (space-width . 2.78)  
(avg-char-width . 2.78)) (ZapfChancery-MediumItalic (fonts (normal .  
"ZapfChancery-MediumItalic")) (size . 10.0) (line-height . 11.45)  
(space-width . 2.2) (avg-char-width . 4.10811)) (Zapf-Chancery- 
MediumItalic (fonts (normal . "ZapfChancery-MediumItalic")) (size .  
10.0) (line-height . 11.45) (space-width . 2.2) (avg-char-width .  
4.10811)))))

This works fine. With Ghostscript 9.0 – 8.71 fails. It seems (otool -L  
<gs binary> gives a hint) that gs 8.71 has no support for TrueType  
fonts built-in, i.e., libfreetype...

Lucida Sans Typewriter, in /System/Library/Frameworks/JavaVM.framework/ 
Versions/*/Home/lib/fonts, is TTF, and also Liberation Mono or DejaVu  
Sans Mono or Free Mono.

X11 has Luxi Mono in /usr/X11/share/fonts/Type1 – as PostScript Type 1  
font files l047*t.pfa.

TeX Live distributions come with Latin Modern PostScript Type 1 fonts  
– some of them are monospaced. And Luxi Mono is among them...

--
Greetings

   Pete

For some reason, this fortune reminds everyone of Marvin Zelkowitz.




  reply	other threads:[~2011-01-01 20:55 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-31  7:22 ps-print question David Penton
2010-12-31  7:33 ` David Penton
2010-12-31  9:22 ` Peter Dyballa
2010-12-31 14:02   ` David Penton
2010-12-31 14:44     ` Peter Dyballa
2011-01-01  2:07     ` David Penton
2011-01-01 20:55       ` Peter Dyballa [this message]
2011-01-02  0:43         ` Peter Dyballa
2011-01-02 21:20           ` David Penton
2011-01-03  0:22             ` Peter Dyballa
2011-01-03  2:19               ` David Penton
2011-01-03 13:15                 ` Peter Dyballa
2011-01-03 14:25                   ` David Penton
2011-01-03 18:02                     ` Peter Dyballa
2011-01-03 23:43                     ` Peter Dyballa
2011-01-05  0:20                     ` Peter Dyballa
2011-01-07  3:56                       ` David Penton
2011-01-07 10:28                         ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BD3EA97B-7464-42F8-B4D4-AC1AF01E979D@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=djp@arqux.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.