From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Colors changing when applying "transparent"
Date: Tue, 25 Nov 2003 10:37:31 +0100 [thread overview]
Message-ID: <6.0.0.22.2.20031125103235.02c8a220@server-1> (raw)
In-Reply-To: <6.0.0.22.1.20031125091011.01b77a68@digitpaint.nl>
At 09:20 25/11/2003, you wrote:
>\setupoutput[pdftex]
>\starttext
>\setupcolors[state=start]
>
>\startuseMPgraphic{tBG}
> path p ;
> p := unitsquare xscaled \overlaywidth yscaled \overlayheight ;
> fill p withcolor \MPcolor{white}; % With normal colors,
> everything is fine (blue is really RGB(0,0,1)
> % fill p withcolor transparent("normal",.5,\MPcolor{white}); %
> This however results in fading of ALL of the colors...
>\stopuseMPgraphic
>
>\defineoverlay[textBG][\useMPgraphic{tBG}]
>
>\setupbackgrounds[page][background=color,backgroundcolor=blue]
>\setupbackgrounds[text][background=textBG]
>
>\input tufte
>\stoptext
Looks like an acrobat bug to me; if you use gsview, it works ok; there are
more problems with acrobat and transparencies, like
- no smoothing when a vector graphic is on top of a transparency
- disappearing characters (esp very big ones)
- funny flattener preview colors
One of the reasons for such problems is that there is no 'reset graphics
state' operator and i guess that occasionally the acrobat graphic state
stack gets messed up.
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
next prev parent reply other threads:[~2003-11-25 9:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-25 8:20 Willi Egger
2003-11-25 9:37 ` Hans Hagen [this message]
2003-11-25 11:46 ` Willi Egger
2003-11-25 12:10 ` Hans Hagen
2003-11-25 13:00 ` Willi Egger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6.0.0.22.2.20031125103235.02c8a220@server-1 \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).