🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.ghostscript.bug
Article #30

Re: Font/rasterization problem

#30
From: Bernhard Fabricius
Date: Wed, 04 Nov 1992 01:41
53 lines
2786 bytes
In article <1992Nov2.222018.5523@imax.imax.com>, linda@imax.imax.COM (Linda Xiao) writes:
>We use Ghostscript to convert Postscript to high-resolution raster
>images that are eventually fed to a film recorder.  The output
>frame is about 8000 pixels wide, which is considerably higher than
>most laser printers use.
>
>Simple graphics look fine at this resolution, but text is awful.
>Diagonal lines have "jaggies" that are much coarser than the output
>pixel resolution.  To see an example of this try:
>
>	% gs
>	GS>/F1 /Times-Bold findfont 200 scalefont def
>	GS>F1 setfont 0 0 moveto (AY) show
>	GS>quit
>
>Notice the awful-looking edges of the letters.  Feeding the same Postscript
>code to "xpsview" produces fine-looking output, so the problem is in
>Ghostscript itself or perhaps its font descriptions.

This is NOT A BUG and not surprising at all. The font you are using is NOT
a Type 1 font - it is a rough font generated from a bitmap. If you try

	% gs
	GS>/F2 /Charter-Roman findfont 200 scalefont def
	GS>F2 setfont 0 0 moveto (AY) show
	GS>quit

you'll get lines smooth as silk.

>Is this a known problem?  Is there an easy fix?  We just got
>Ghostscript running last week, but the images will be shown at a
>conference a week from today, so there is some urgency to getting this
>fixed!

Have a look in FONTMAP and see which fonts are true Type 1 (CHARTER, COURIER
UTOPIA in version 2.5.1). I suggest you use these fonts where possible.

The fact that xpsview gives you smooth lines simply shows that your X11 Server
has Type 1 fonts built in. The next version of GhostScript (2.6) will use these
fonts where available, until then use the Type 1 fonts in the GhostScript
distribution.

Cheers

Bernhard
--------------------------------------------------------------------------------
Dr Bernhard Fabricius              |
Academic VAX/VMS Support           |  "I am a Bear of Very Little Brain,
Department of Nuclear Physics      |           and long words Bother me."
Australian National University     |
                                   |                           - A.A. Milne
InterNet: BEAR@NUC.ANU.EDU.AU      |
    POSTMASTER@NUC.ANU.EDU.AU      |
Technical Details
Message-ID: <1d79nfINNd36@manuel.anu.edu.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!nucvs7.anu.edu.au!bear
References: <1992Nov2.222018.5523@imax.imax.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!nucvs7.anu.edu.au!bear
From: bear@nucvs7.anu.edu.au (Bernhard Fabricius)
Newsgroups: gnu.ghostscript.bug
Subject: Re: Font/rasterization problem
Message-ID: <1d79nfINNd36@manuel.anu.edu.au>
Date: 4 Nov 92 01:41:03 GMT
Article-I.D.: manuel.1d79nfINNd36
References: <1992Nov2.222018.5523@imax.imax.com>
Sender: gnulists@ai.mit.edu
Reply-To: BEAR@nucvs7.anu.edu.au
Distribution: gnu
Organization: Nuclear Physics, ANU
Lines: 53
Approved: bug-ghostscript@prep.ai.mit.edu