[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ps-print question
From: |
Peter Dyballa |
Subject: |
Re: ps-print question |
Date: |
Sat, 1 Jan 2011 21:55:45 +0100 |
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.
- Re: ps-print question,
Peter Dyballa <=
- Re: ps-print question, Peter Dyballa, 2011/01/01
- Re: ps-print question, David Penton, 2011/01/02
- Re: ps-print question, Peter Dyballa, 2011/01/02
- Re: ps-print question, David Penton, 2011/01/02
- Re: ps-print question, Peter Dyballa, 2011/01/03
- Re: ps-print question, David Penton, 2011/01/03
- Re: ps-print question, Peter Dyballa, 2011/01/03
- Re: ps-print question, Peter Dyballa, 2011/01/03
- Re: ps-print question, Peter Dyballa, 2011/01/04
- Re: ps-print question, David Penton, 2011/01/06