Article View: comp.lang.postscript
Article #2682Real-world limits on path sizes
From: Brian Bartholomew
Date: Tue, 31 Jul 1990 20:47
Date: Tue, 31 Jul 1990 20:47
44 lines
2297 bytes
2297 bytes
I have a question on effective path lengths. I am using the following
code, designed to accumulate the width of a multi-font string (this
is a quick hack for labels, so no flames about design):
/accum 0 def
newpath
0 0 moveto
(before step 1)
/ZapfDingbats findfont [0.19 0 0 0.25 0 0] makefont setfont
(\053) false charpath flattenpath pathbbox currentpoint
newpath moveto
/accum pop exch pop sub 2 div neg accum add def
(after step 1)
0.1 0 rmoveto
(before step 2)
/NewCenturySchlbk-Bold findfont [0.19 0 0 0.25 0 0] makefont setfont
(savvy.math.ufl.edu) false charpath flattenpath pathbbox currentpoint
newpath moveto
/accum pop exch pop sub 2 div neg accum add def
(after step 2)
and I am getting a limitcheck error on the command flattenpath.
Ehandler.ps dumps the strings on the stack, and the last one shown is
"before step 2". This tells me that the flattenpath is failing when
it tries to flatten the path that contains "savvy.math.ufl.edu". The
scaling at this point is in inches, so the characters are a reasonable
size. On the average, how many characters can I expect to fit in a
LaserWriter II Model M6000's path length?
Thanks in advance.
"Any sufficiently advanced technology is indistinguishable from a rigged demo."
-------------------------------------------------------------------------------
Brian Bartholomew UUCP: ...gatech!uflorida!beach.cis.ufl.edu!bb
University of Florida Internet: bb@beach.cis.ufl.edu
--
"Any sufficiently advanced technology is indistinguishable from a rigged demo."
-------------------------------------------------------------------------------
Brian Bartholomew UUCP: ...gatech!uflorida!beach.cis.ufl.edu!bb
University of Florida Internet: bb@beach.cis.ufl.edu
Technical Details
Message-ID:
<24004@uflorida.cis.ufl.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!rex!uflorida!beach.cis.ufl.edu!bbShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!rex!uflorida!beach.cis.ufl.edu!bb From: bb@beach.cis.ufl.edu (Brian Bartholomew) Newsgroups: comp.lang.postscript Subject: Real-world limits on path sizes Message-ID: <24004@uflorida.cis.ufl.EDU> Date: 31 Jul 90 20:47:22 GMT Sender: news@uflorida.cis.ufl.EDU Reply-To: bb@beach.cis.ufl.edu () Distribution: usa Organization: UF CIS Department Lines: 44