<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">út 26. 5. 2020 v 1:50 odesílatel Ross Moore <<a href="mailto:ross.moore@mq.edu.au">ross.moore@mq.edu.au</a>> napsal:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div style="overflow-wrap: break-word;">
Hi Zdenek,<br>
<div><br>
<blockquote type="cite">
<div>On 26 May 2020, at 9:31 am, Zdenek Wagner <<a href="mailto:zdenek.wagner@gmail.com" target="_blank">zdenek.wagner@gmail.com</a>> wrote:</div>
<br>
<div>
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">út 26. 5. 2020 v 0:59 odesílatel Ross Moore <<a href="mailto:ross.moore@mq.edu.au" target="_blank">ross.moore@mq.edu.au</a>> napsal:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>
<blockquote type="cite">
<div>
<div bgcolor="#FFFFFF">and at the time, that appeared to solve my problem. However, it would appear that since then "xdvipdfmx" has been enhanced to support transparency, as a result of which Khaled's suggested FFFFFF00 no longer works (the text is
 invisible, see attached).  Could anyone tell me how, short of using \specials, I can achieve 100% white with 100% opacity (= 0% ink) in XeTeX ?<br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>I’m sorry, but this just doesn’t make any sense to me — but see further below.</div>
<div>Surely 100% opacity means that the blend between background and foreground is 100% background, 0% foreground.</div>
<div>Thus your text will be invisible, whatever colour has been specified; that this is white becomes irrelevant.</div>
<div><br>
</div>
<div>The only way to get 100% white, over a coloured background, would be with 100% ink, so 0% opacity.</div>
<div>Any other opacity level will allow some of the background colour to be mixed in.</div>
<div>At least that is how I understand what colour mixing is all about.</div>
<div><br>
</div>
</div>
</div>
</blockquote>
<div>Sorry, correct me if my English is wrong but I would expect 100% ink = 100% opacity = 0% transparency<br>
</div>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>You’re absolutely correct, my mistake.</div>
<div>Certainly I meant 0% *transparency*, the opposite of what Phil was trying to do.</div>
<div>It was he who said   100% opacity (= 0% ink)  which is where the error lies.</div>
<div>Surely 100% ink = 100% opacity = 0% transparency,  as you say.</div>
<br>
<blockquote type="cite">
<div>
<div dir="ltr">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>
<div></div>
<div><br>
</div>
<div>However, there is another PDF parameter called “knockout”.</div>
<div>See this link for an brief description of the issue:</div>
<div><br>
</div>
<div>   <a href="https://protect-au.mimecast.com/s/tuWYCBNqgBCvBNrAuzR3NV?domain=enfocus.com" target="_blank">https://www.enfocus.com/en/products/pitstop-pro/pdf-editing/knockout-white-text-in-a-pdf</a></div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>This is another topic. This addresses "black overprint" in printing.
</div>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Sure, but it is about knocking out the colour in the background.</div>
<div>Using black text is probably its most common usage.</div>
<div>But if you want the natural paper to come through, then surely this is the only way to do it conveniently. </div>
<div><br>
</div>
<div>Otherwise you would have to manually define regions outlining the letters, and make these</div>
<div>boundary curves for your background. Totally impractical. </div>
<div>PDF does this for you, if you have used the correct way to ask for it.</div>
<div><br></div></div></div></blockquote><div>Yes, I know, but knocking out works always while overprint requires CMYK. The colour of an OpenType font can only be specified in RGBA. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div><div>
</div>
<br>
<blockquote type="cite">
<div>
<div dir="ltr">
<div class="gmail_quote">
<div>The idea is that process colours are printed in the following order: cyan-magenta-yellow-black. If you want to print a yellow text on a cyan background, RIP must erase the cyan plate to white where the characters will later appear on the yellow
 plate, otherwise the text would not be yellow. If the offset films are not precisely adjusted, you will see colour artifacts at the boarders of the characters. If you want to type a dark text (usually black) to a light background, it can just be overprinted.
 In order to make it work, both colours must be defined in CMYK (not RGB, not grayscale). Professional Acrobat since version 9 contains a prepress checking function which can verify whether overprint was really used. Black overprint is implemented in my zwpagelayout
 package. It was tested in xelatex, pdflatex, and latex + dvips. The package does not my test files. If you like, I can send them.<br>
</div>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
Sure; I’d love to see these.</div>
<div>I’m sure that this would most closely approach what Phil seems to want to do.<br>
<div><br></div></div></div></blockquote><div>I will send in in the next mail. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div><div>
</div>
<br><div dir="ltr"><br clear="all"><div><div dir="ltr" class="gmail_signature">Zdeněk Wagner<br><a href="http://ttsm.icpf.cas.cz/team/wagner.shtml" target="_blank">http://ttsm.icpf.cas.cz/team/wagner.shtml</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div></div><br></div><br><br>
<blockquote type="cite">
<div>
<div dir="ltr">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>
<div><br>
</div>
<div>How to achieve knockout using TeX+gs or pdfTeX or XeTeX? </div>
<div>I’m not at all sure. It must have a graphics state parameter.</div>
<div>The next image shows what I think is the relevant portion of the PDF specs.</div>
<div><br>
</div>
<div><span id="gmail-m_-3450031049590363669cid:1724e1de929780f054c1"><Screen Shot 2020-05-26 at 8.38.02 am.png></span></div>
<div><br>
</div>
<div>There’s a whole section on “Transparency Groups”, but mostly it is about how different transparent objects</div>
<div>must combine to produce the final colour where objects overlap.</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Transparency should not be used for prepress. It works fine on office printers but often come out as black on phototypesetters and CTP.</div>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
Phil hasn’t said what is his application.</div>
<div><br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>
<div>After a cursory look, I think you need to use a Form X Object, which can be done in pdftex using the  \pdfxform  primitive,</div>
<div>with appropriate attributes specified.</div>
<div>For XeTeX you would need to be using  \special  commands. </div>
<div>Someone here must have some experience with this.</div>
<div><br>
</div>
</div>
</div>
</blockquote>
<div>
<div dir="ltr"><br clear="all">
<div>
<div dir="ltr">Zdeněk Wagner<br>
<a href="https://protect-au.mimecast.com/s/TZFICD1vRkCX0ZzMs5cgKz?domain=ttsm.icpf.cas.cz" target="_blank">http://ttsm.icpf.cas.cz/team/wagner.shtml</a><br>
<a href="https://protect-au.mimecast.com/s/4H07CE8wlRCBMj2nhptby5?domain=icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div>
</div>
<br>
</div>
<br>
 </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>
<div></div>
<br>
<blockquote type="cite">
<div>
<div bgcolor="#FFFFFF">Philip Taylor<br>
</div>
<span id="gmail-m_-3450031049590363669gmail-m_-623522321642928064cid:19ACD8EB-D18B-4386-BFFD-666B7C908C5F@telstra.com.au"><Demo.pdf></span><span id="gmail-m_-3450031049590363669gmail-m_-623522321642928064cid:636E46BE-0887-4C87-8837-418D1A26B567@telstra.com.au"><Demo.tex></span><span id="gmail-m_-3450031049590363669gmail-m_-623522321642928064cid:CD809896-CACA-41F2-B6FD-CEC19309E898@telstra.com.au"><Lighter
 ground.pdf></span></div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
<br>
</div>
<div><br>
</div>
<div>Sorry for my error adding to confusion.</div>
<div><br>
</div>
<div>Cheers.</div>
<div>Stay safe.</div>
<div><br>
</div>
<div><span style="white-space:pre-wrap"></span>Ross</div>
<br>
<div><br>
Dr Ross Moore<br>
Department of Mathematics and Statistics 
<div>12 Wally’s Walk, Level 7, Room 734<br>
Macquarie University, NSW 2109, Australia<br>
T: +61 2 9850 8955  |  F: +61 2 9850 8114<br>
M:+61 407 288 255  |  E: <a href="mailto:ross.moore@mq.edu.au" target="_blank">ross.moore@mq.edu.au</a><br>
<a href="http://www.maths.mq.edu.au" target="_blank">http://www.maths.mq.edu.au</a><span style="font-size:12px;line-height:normal"><a href="http://mq.edu.au/" style="font-size:12px;line-height:normal" target="_blank"><span><br style="color:rgb(0,105,217);font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-family:Arial,sans-serif">
<span style="color:rgb(0,105,217);font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-family:Arial,sans-serif"><span><span><span><span><img id="gmail-m_-34500310495903636691B165294-8BE0-4C51-BAD3-59B87E85EE14" src="cid:1724e60167d4cff311"></span><br style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none">
<span style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none;float:none;display:inline">CRICOS
 Provider Number 00002J. Think before you</span><span style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none;float:none;display:inline"> </span><span style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none;float:none;display:inline">print. </span><br style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none">
<span style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none;float:none;display:inline">Please
 consider the environment before printing this</span><span style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none;float:none;display:inline"> </span><span style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none;float:none;display:inline">email.</span><br style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none">
<br style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none">
<span style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none;float:none;display:inline">This
 message is intended for the addressee named</span><span style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none;float:none;display:inline"> </span><span style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none;float:none;display:inline">and
 may </span><br style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none">
<span style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none;float:none;display:inline">contain
 confidential information. If you are not the</span><span style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none;float:none;display:inline"> </span><span style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none;float:none;display:inline">intended </span><br style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none">
<span style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none;float:none;display:inline">recipient,
 please delete it and notify the sender. Views</span><span style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none;float:none;display:inline"> </span><span style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none;float:none;display:inline">expressed </span><br style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none">
<span style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none;float:none;display:inline">in
 this message are those of the individual sender, and</span><span style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none;float:none;display:inline"> </span><span style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none;float:none;display:inline">are
 not </span><br style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none">
<span style="font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;color:rgb(0,0,0);font-family:Helvetica;text-decoration:none;float:none;display:inline">necessarily
 the views of Macquarie University.</span> </span></span></span></span></span></a></span></div>
<a href="http://mq.edu.au/" style="font-size:12px;line-height:normal" target="_blank"></a></div>
<br>
</div>

</blockquote></div></div>