Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #1298
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Michael Unger <spam.to.unger@spamgourmet.com> |
| Newsgroups | comp.lang.postscript |
| Subject | 'eofill'ing areas |
| Date | Sun, 10 Mar 2013 18:46:27 +0100 |
| Organization | not that I'm aware of ... |
| Lines | 67 |
| Message-ID | <aq418tFpv7gU1@mid.individual.net> (permalink) |
| Reply-To | 2013Q1.usenet.michaelunger@spamgourmet.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net KHMJ3FLVqK+UvLvXBFvH0AulG99R64c6BZOTwUy/0u8PPk0a5/QBptvGYmliP88vQq |
| Cancel-Lock | sha1:+PWDaXJZCujzv/WWQ7A6UhxZV+k= |
| User-Agent | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.24) Gecko/20100228 SeaMonkey/1.1.19 |
| Xref | csiph.com comp.lang.postscript:1298 |
Show key headers only | View raw
I want to create areas with transparent elements on a coloured
background. "eofill" is working exactly as expected within the
"35mmFilmFrame" procedure, but it isn't within the "Logo" procedure -- I
simply get coloured text on a transparent background instead of the
other way round.
---><8------><8------><8------><8------><8------><8------><8------><8---
%!PS-Adobe-3.0 EPSF-3.0
<< /PageSize [595.3 841.9]
>> setpagedevice
297.65 420.95 translate % center of page
/inch {72 mul} def
/35mmFilmFrame { % perforation vastly simplified
+0.7480 inch +0.7000 inch moveto
-0.7480 inch +0.7000 inch lineto
-0.7480 inch -0.7000 inch lineto
+0.7480 inch -0.7000 inch lineto
+0.7480 inch +0.7000 inch lineto
+0.7086 inch +0.4724 inch moveto
-0.7086 inch +0.4724 inch lineto
-0.7086 inch -0.4724 inch lineto
+0.7086 inch -0.4724 inch lineto
+0.7086 inch +0.4724 inch lineto
-0.6545 inch +0.5862 inch translate
+0.0190 inch +0.0550 inch moveto
-0.0390 inch +0.0550 inch -0.0390 inch +0.0350 inch 0.0200 inch arct
-0.0390 inch -0.0550 inch -0.0190 inch -0.0550 inch 0.0200 inch arct
+0.0390 inch -0.0550 inch +0.0390 inch -0.0350 inch 0.0200 inch arct
+0.0390 inch +0.0550 inch +0.0190 inch +0.0550 inch 0.0200 inch arct
eofill
} def
/Logo { % within the 24 mm x 36 mm film frame area
+0.7086 inch +0.4724 inch moveto
-0.7086 inch +0.4724 inch lineto
-0.7086 inch -0.4724 inch lineto
+0.7086 inch -0.4724 inch lineto
+0.7086 inch +0.4724 inch lineto
/Helvetica-Bold 36 selectfont
+0.0000 inch -0.0500 inch moveto
(test) stringwidth pop -0.5 mul 0 rmoveto
(test) true charpath
eofill
} def
0.0 0.0 0.8 0.0 setcmykcolor
Logo
0.1 0.0 0.0 0.9 setcmykcolor
35mmFilmFrame
---><8------><8------><8------><8------><8------><8------><8------><8---
There is _no_ difference whether "true" or "false" is used as the second
parameter for the "charpath" command. What am I doing wrong? (Adobe
Distiller from Acrobat 6.0 Standard, Windows; no more recent version
available)
Michael
--
Real names enhance the probability of getting real answers.
My e-mail account at DECUS Munich is no longer valid.
Back to comp.lang.postscript | Previous | Next — Next in thread | Find similar | Unroll thread
'eofill'ing areas Michael Unger <spam.to.unger@spamgourmet.com> - 2013-03-10 18:46 +0100
Re: 'eofill'ing areas Helge Blischke <h.blischke@acm.org> - 2013-03-10 22:22 +0100
Re: 'eofill'ing areas Michael Unger <spam.to.unger@spamgourmet.com> - 2013-03-11 17:31 +0100
Re: 'eofill'ing areas Helge Blischke <h.blischke@acm.org> - 2013-03-11 18:02 +0100
Re: 'eofill'ing areas Michael Unger <spam.to.unger@spamgourmet.com> - 2013-03-12 18:45 +0100
Re: 'eofill'ing areas Helge Blischke <h.blischke@acm.org> - 2013-03-13 11:59 +0100
Re: 'eofill'ing areas Michael Unger <spam.to.unger@spamgourmet.com> - 2013-03-13 18:00 +0100
Re: 'eofill'ing areas Helge Blischke <h.blischke@acm.org> - 2013-03-13 18:20 +0100
Re: 'eofill'ing areas Olle <olavi.sakari@gmail.com> - 2013-03-19 00:25 -0700
Re: 'eofill'ing areas Olle <olavi.sakari@gmail.com> - 2013-03-19 00:31 -0700
Re: 'eofill'ing areas luser- -droog <mijoryx@yahoo.com> - 2013-03-20 13:28 -0700
Re: 'eofill'ing areas Michael Unger <spam.to.unger@spamgourmet.com> - 2013-03-21 17:30 +0100
Re: 'eofill'ing areas Helge Blischke <h.blischke@acm.org> - 2013-03-21 17:52 +0100
Re: 'eofill'ing areas luser- -droog <mijoryx@yahoo.com> - 2013-03-10 18:48 -0700
csiph-web