Article View: comp.lang.postscript
Article #3943patterns in Level 1
From: John Salmon
Date: Sat, 03 Oct 1992 15:57
Date: Sat, 03 Oct 1992 15:57
23 lines
1551 bytes
1551 bytes
I'd like to fill a path with a pattern, but I only have a Level 1 PS printer. The PostScript Language Reference Manual (p. 200) says "it is possible to achieve a limited form of patterns in Level 1 by defining them as characters in a special font and showing them repeatedly." My question is: has anybody got code to do this? I can pretty much see how to do it (using pathbbox and some arithmetic to figure out how many times to replicate the glyphs), but I'd hate to reinvent the wheel if this is something that has been done by others. Any help would be appreciated. Thanks John Salmon Internet: johns@delilah.ccsf.caltech.edu 206-49 Caltech UUCP: johns%delilah.ccsf.caltech.edu@uunet.uu.net Pasadena, CA 91125 USA Bitnet: johns@caltech.bitnet (818)356-2907 delilah.ccsf.caltech.edu=[131.215.145.137] -- John Salmon Internet: johns@delilah.ccsf.caltech.edu 206-49 Caltech UUCP: johns%delilah.ccsf.caltech.edu@uunet.uu.net Pasadena, CA 91125 USA Bitnet: johns@caltech.bitnet (818)356-2907 delilah.ccsf.caltech.edu=[131.215.145.137]
Technical Details
Message-ID:
<JOHNS.92Oct3155727@haggis.ccsf>Path:
arc1-ca.pugleaf.net!sparky!uunet!kithrup!stanford.edu!agate!spool.mu.edu!uwm.edu!caen!sdd.hp.com!elroy.jpl.nasa.gov!news.claremont.edu!nntp-server.caltech.edu!nntp-server!johnsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!kithrup!stanford.edu!agate!spool.mu.edu!uwm.edu!caen!sdd.hp.com!elroy.jpl.nasa.gov!news.claremont.edu!nntp-server.caltech.edu!nntp-server!johns From: johns@haggis.ccsf (John Salmon) Newsgroups: comp.lang.postscript Subject: patterns in Level 1 Date: 3 Oct 92 15:57:27 Organization: Caltech Concurrent Supercomputing Facility. Lines: 23 Distribution: all Message-ID: <JOHNS.92Oct3155727@haggis.ccsf> NNTP-Posting-Host: haggis.ccsf.caltech.edu