[opensuse] Please help with enscript and fonts
I currently use enscript to print my text files. For a long time I have used the font description "-fCourier7". I wished to change this to a larger font, and perhaps bold. But I cannot determine how I discovered the -fCourier7. I have tried listing fonts without success: xfontsel xlsfonts fc-list and looked in the directory /usr/share/fonts. I do not understand how Courier7 gets translated into a filename, and what fonts are available. There is probably some way to view available fonts using LibreOffice Writer, but I do not know how to do it. I also looked under Yast at configuring fonts, but saw no help there. My major questions are, 1. What fonts can I use under enscript and what do I call them? 2. What fonts are on my machine? I am afraid this is probably a stupid question for those of you in the know, but I have spent many hours under Google without success. Thanks Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, Apr 23, 2018 at 03:41:15AM +0000, don fisher wrote:
I currently use enscript to print my text files. For a long time I have used the font description "-fCourier7". I wished to change this to a larger font, and perhaps bold. But I cannot determine how I discovered the -fCourier7. I have tried listing fonts without success: xfontsel xlsfonts fc-list
Normally enscript uses ghostscript fonts grep -l Courier /usr/share/fonts/*/*font.map /usr/share/fonts/ghostscript/font.map grep n022003l /usr/share/fonts/ghostscript/fonts.dir n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso10646-1 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-1 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-10 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-15 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-2 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-3 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-4 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-5 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-9 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-koi8-e n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-koi8-r n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-koi8-ru n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-koi8-u n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-koi8-uni The name Courier7 is a short cut as it is more like Courier at 7 points (compare with man:enscript(1))
and looked in the directory /usr/share/fonts. I do not understand how Courier7 gets translated into a filename, and what fonts are available. There is probably some way to view available fonts using LibreOffice Writer, but I do not know how to do it. I also looked under Yast at configuring fonts, but saw no help there.
My major questions are, 1. What fonts can I use under enscript and what do I call them?
Anything which is defined below /usr/share/enscript/afm/*.afm
2. What fonts are on my machine?
For embedded fonts there are below /usr/share/fonts/ghostscript/ -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr
On 04/22/2018 11:49 PM, Dr. Werner Fink wrote:
On Mon, Apr 23, 2018 at 03:41:15AM +0000, don fisher wrote:
I currently use enscript to print my text files. For a long time I have used the font description "-fCourier7". I wished to change this to a larger font, and perhaps bold. But I cannot determine how I discovered the -fCourier7. I have tried listing fonts without success: xfontsel xlsfonts fc-list
Normally enscript uses ghostscript fonts
grep -l Courier /usr/share/fonts/*/*font.map /usr/share/fonts/ghostscript/font.map
grep n022003l /usr/share/fonts/ghostscript/fonts.dir n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso10646-1 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-1 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-10 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-15 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-2 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-3 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-4 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-5 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-9 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-koi8-e n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-koi8-r n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-koi8-ru n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-koi8-u n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-koi8-uni
The name Courier7 is a short cut as it is more like Courier at 7 points (compare with man:enscript(1))
and looked in the directory /usr/share/fonts. I do not understand how Courier7 gets translated into a filename, and what fonts are available. There is probably some way to view available fonts using LibreOffice Writer, but I do not know how to do it. I also looked under Yast at configuring fonts, but saw no help there.
My major questions are, 1. What fonts can I use under enscript and what do I call them?
Anything which is defined below /usr/share/enscript/afm/*.afm
2. What fonts are on my machine?
For embedded fonts there are below /usr/share/fonts/ghostscript/
Thanks, but I was curious how courier7 gets translated into one of these ghostscript files. I also wanted to know how to specify bold fonts. How would I specify Courier Bold at 7 points. Thanks Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 04/23/2018 11:41 AM, don fisher wrote:
On 04/22/2018 11:49 PM, Dr. Werner Fink wrote:
On Mon, Apr 23, 2018 at 03:41:15AM +0000, don fisher wrote:
I currently use enscript to print my text files. For a long time I have used the font description "-fCourier7". I wished to change this to a larger font, and perhaps bold. But I cannot determine how I discovered the -fCourier7. I have tried listing fonts without success: xfontsel xlsfonts fc-list
Normally enscript uses ghostscript fonts
grep -l Courier /usr/share/fonts/*/*font.map /usr/share/fonts/ghostscript/font.map
grep n022003l /usr/share/fonts/ghostscript/fonts.dir n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso10646-1 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-1 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-10 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-15 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-2 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-3 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-4 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-5 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-iso8859-9 n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-koi8-e n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-koi8-r n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-koi8-ru n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-koi8-u n022003l.pfb -urw-nimbus mono l-medium-r-normal--0-0-0-0-m-0-koi8-uni
The name Courier7 is a short cut as it is more like Courier at 7 points (compare with man:enscript(1))
and looked in the directory /usr/share/fonts. I do not understand how Courier7 gets translated into a filename, and what fonts are available. There is probably some way to view available fonts using LibreOffice Writer, but I do not know how to do it. I also looked under Yast at configuring fonts, but saw no help there.
My major questions are, 1. What fonts can I use under enscript and what do I call them?
Anything which is defined below /usr/share/enscript/afm/*.afm
2. What fonts are on my machine?
For embedded fonts there are below /usr/share/fonts/ghostscript/
Thanks, but I was curious how courier7 gets translated into one of these ghostscript files. I also wanted to know how to specify bold fonts. How would I specify Courier Bold at 7 points.
Thanks Don
Today was a better day. I found an IBM man page that describes the font description much better. Courier-Bold7 is how one specifies Courier Bold at 7 points. Thanks Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
don fisher
-
Dr. Werner Fink