From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55152 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: Bug with overprinting in Mark II/IV? Date: Fri, 11 Dec 2009 18:35:46 +0100 Message-ID: <4B2282F2.1000200@gmx.net> References: <874onxhdu7.fsf@sopos.org> <4B224BE7.4010203@gmx.net> <87zl5pfp47.fsf@sopos.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0995077676==" X-Trace: ger.gmane.org 1260552975 13380 80.91.229.12 (11 Dec 2009 17:36:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Dec 2009 17:36:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 11 18:36:08 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NJ9PP-0002K8-Tv for gctc-ntg-context-518@m.gmane.org; Fri, 11 Dec 2009 18:36:04 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CB7EEC9C50; Fri, 11 Dec 2009 18:36:02 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id oDYltJ+7bPDn; Fri, 11 Dec 2009 18:35:59 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6576CC9BF1; Fri, 11 Dec 2009 18:35:59 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3B9C9C9BF1 for ; Fri, 11 Dec 2009 18:35:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id iUTwxd7sVTht for ; Fri, 11 Dec 2009 18:35:46 +0100 (CET) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by balder.ntg.nl (Postfix) with SMTP id 77C7EC9BC6 for ; Fri, 11 Dec 2009 18:35:46 +0100 (CET) Original-Received: (qmail invoked by alias); 11 Dec 2009 17:35:45 -0000 Original-Received: from i577BEF4D.versanet.de (EHLO [192.168.1.3]) [87.123.239.77] by mail.gmx.net (mp069) with SMTP; 11 Dec 2009 18:35:45 +0100 X-Authenticated: #24293357 X-Provags-ID: V01U2FsdGVkX19AKtkPRLhAjrjM8g4pLlDqQO8KEVdal6LFpq9FeG kP+R80sDKYkHIt User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <87zl5pfp47.fsf@sopos.org> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6,0.6 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:55152 Archived-At: This is a multi-part message in MIME format. --===============0995077676== Content-Type: multipart/alternative; boundary="------------070507080001080203020201" This is a multi-part message in MIME format. --------------070507080001080203020201 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Oliver Heins schrieb: > Hi Peter, > > Peter Rolf writes: > > =20 >> Oliver Heins schrieb: >> =20 >>> Hello, >>> >>> with color black overprinting is not working. You can easily spot th= is >>> when you use the =BBAusgabevorschau=AB (sorry, my acrobat is in germa= n >>> locale, must be something with =BBpreview=AB in english; located in t= he >>> =BBtools=AB menu) in acrobat and remove magenta and black from the pr= eview. >>> Whilst under the region with the magenta colored text the picture get= s >>> shown, in the region with the black colored text the text is cut out = of >>> the picture, leaving white. >>> >>> =20 >>> =20 >> I think the visible 'knockedout' text on the picture is just another >> acrobat bug. I manually checked the text and the OVP attributes are >> correctly set. If you use the coloring mechanism (Ausgabenvorschau ->=20 >> Farbwarnungen -> [x] =DCberdruck anzeigen), you will see that everythi= ng >> looks ok. >> =20 > > Yes, I noticed that, too. But to me it looks like it is first knocked > out in the pdf, and then the overprint flag is set. > > =20 Good point. In that case the text must be set twice, as knockout and=20 overprint can't coexist. I have looked into the uncompressed mkii PDF=20 (\nopdfcompression) and I can not see any obvious flaw. The parts are=20 clearly separeted by '/GSknockout gs' and '/GSoverprint gs', the black=20 text is not set twice. Just an idea: the colorspace of the picture is RGB, the text is set in=20 CMYK. Maybe the mixed color spaces mess up things here. > I made a document with scribus, which looks alright in acrobats preview= : > http://www.sopos.org/olli/overprinting-scribus.pdf > > =20 Same here. The difference is, that the picture here is also set in CMYK.=20 So this points to the 'colorspace mess' theory too ;) > So I doubt that this is a bug in acrobat, but in context or even in > pdftex/luatex. > > =20 >>> you have to manually copy the hacker.jpg to your working directory >>> (under linux e.g. with cp $(kpsewhich hacker.jpg) >>> /path/to/your/working/directory) and change the path to make the >>> minimal example work under mark iv. >>> =20 >> I noticed this too (no picture with mkiv). BOF =3D Bug Or Feature :) >> =20 > > Feature, as Taco kindly pointed out :-) > > Regards, > olli > > =20 --------------070507080001080203020201 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Oliver Heins schrieb:
Hi Peter,

Peter Rolf <indiego@gmx.net> writes:

  
Oliver Heins schrieb:
    
Hello,

with color black overprinting is not working.  You can easily spot this
when you use the »Ausgabevorschau« (sorry, my acrobat is in german
locale, must be something with »preview« in english; located in the
»tools« menu) in acrobat and remove magenta and black from the preview.
Whilst under the region with the magenta colored text the picture gets
shown, in the region with the black colored text the text is cut out of
the picture, leaving white.

  
      
I think the visible 'knockedout' text on the picture is just another
acrobat bug. I manually checked the text and the OVP attributes are
correctly set. If you use the coloring mechanism (Ausgabenvorschau -> 
Farbwarnungen -> [x] Überdruck anzeigen), you will see that everything
looks ok.
    

Yes, I noticed that, too.  But to me it looks like it is first knocked
out in the pdf, and then the overprint flag is set.

  
Good point. In that case the text must be set twice, as knockout and overprint can't coexist. I have looked into the uncompressed mkii PDF (\nopdfcompression) and I can not see any obvious flaw. The parts are clearly separeted by '/GSknockout gs' and '/GSoverprint gs', the black text is not set twice.

Just an idea: the colorspace of the picture is RGB, the text is set in CMYK. Maybe the mixed color spaces mess up things here.


I made a document with scribus, which looks alright in acrobats preview:
http://www.sopos.org/olli/overprinting-scribus.pdf

  
Same here. The difference is, that the picture here is also set in CMYK. So this points to the 'colorspace mess' theory too ;)


So I doubt that this is a bug in acrobat, but in context or even in
pdftex/luatex.

  
you have to manually copy the hacker.jpg to your working directory
(under linux e.g. with cp $(kpsewhich hacker.jpg)
/path/to/your/working/directory) and change the path to make the
minimal example work under mark iv.
      
I noticed this too (no picture with mkiv). BOF = Bug Or Feature :)
    

Feature, as Taco kindly pointed out :-)

Regards,
 olli

  

--------------070507080001080203020201-- --===============0995077676== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0995077676==--