🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #610

Re: Rounding Corners

#610
From: James Ashton
Date: Tue, 27 Jun 1989 05:51
21 lines
1735 bytes
In article <5665@rpi.edu> kibo@pawl.rpi.edu (James 'Kibo' Parry) writes:
>	Does anyone have a good way for rounding the corners/ends of letters
>in a font?  (I.e. to change Helvetica into an approximation of Helvetica
>Rounded, etc.)  I suppose a routine that knocked pixels off of corners
>would work, if anyone has bothered to program such a thing...

If you mean can you do this in postscript, the answer is no.  It is true
that some fonts (like those in the Courier family) are described as
strokes and somewhere in their font dictionaries (I'd love to know where)
is the linecap, linejoin, miterlimit and linewidth information.
By changing these four parameters you could create a reasonable new
font.  For example you could change linecap and linejoin from 1 to 2
for the Courier family fonts and have a Square Courier family.  In your
example you'd change linecap and linejoin from 2 to 1 if only Helvetica 
was defined as a stroked font.  Sadly it is an outline font, meaning
the outline shape of the glyphs is given instead of the centre paths.
PostScript insulates the user from the output device's bit map as much
as possible and so there is no (even faintly easy) way for you to go
around turning off the `corner' pixels either.

						James Ashton.
Technical Details
Message-ID: <2277@basser.oz>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!csd4.milw.wisc.edu!bionet!agate!helios.ee.lbl.gov!nosc!humu!uhccux!munnari.oz.au!basser!jaa
References: <5665@rpi.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!csd4.milw.wisc.edu!bionet!agate!helios.ee.lbl.gov!nosc!humu!uhccux!munnari.oz.au!basser!jaa
From: jaa@basser.oz (James Ashton)
Newsgroups: comp.lang.postscript
Subject: Re: Rounding Corners
Message-ID: <2277@basser.oz>
Date: 27 Jun 89 05:51:39 GMT
References: <5665@rpi.edu>
Followup-To: comp.lang.postscript
Organization: Dept of Comp Sci, Uni of Sydney, Australia
Lines: 21