<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">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 Philip,<br>
<div><br>
<blockquote type="cite">
<div>On 25 May 2020, at 9:00 pm, Philip Taylor <<a href="mailto:P.Taylor@Hellenic-Institute.Uk" target="_blank">P.Taylor@Hellenic-Institute.Uk</a>> wrote:</div>
<br>
<div>
<div bgcolor="#FFFFFF">[UNIV: Plain XeTeX] —<br>
<br>
Way back in 2015, I asked :<br>
<br>
<pre>><i> Could anyone explain why the continuum that exists from color=000000 to
</i>><i> color=FEFFFF, color=FFFEFF and color=FFFFFE breaks at color=FFFFFF ?
</i>><i> 
</i>><i> To ensure 100% consistency between the proofing version of a book (which has
</i>><i> marginal notes in red to ensure that the proof-reader can unambiguously
</i>><i> identify the callouts for each image) and the CRC-ready version, I prefer
</i>><i> not to disable the marginal note mechanism, which /might/ lead to different
</i>><i> pagination (although tests suggest, but cannot prove, that it does not) but
</i>><i> instead to make the marginal notes invisible by changing their colour from
</i>><i> DF0000 to FFFFFF.

</i>To which Khaled Hosny kindly replied :

<blockquote type="cite"><pre>That is a bug in xdvipdfmx; FFFFFF will be converted by XeTeX to
FFFFFFFF when written to the XDV, but xdvipdfmx uses the 0xFFFFFFFF
value to mean that no color have been selected so ends up ignoring the
color here. A work around is to set the color to FFFFFF00 (or any other
value for the alpha since xdvipdfmx does not support transparency
currently).</pre></blockquote></pre>
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><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>
<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://www.enfocus.com/en/products/pitstop-pro/pdf-editing/knockout-white-text-in-a-pdf" 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. 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><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><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><img id="gmail-m_-6235223216429280647F557E8D-8D02-4286-A76A-1D848A77A5D5" src="cid:1724e1de929780f054c1" width="640" height="247"></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. <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><br>
</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" 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> </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 bgcolor="#FFFFFF">Philip Taylor<br>
</div>
<span id="gmail-m_-623522321642928064cid:19ACD8EB-D18B-4386-BFFD-666B7C908C5F@telstra.com.au"><Demo.pdf></span><span id="gmail-m_-623522321642928064cid:636E46BE-0887-4C87-8837-418D1A26B567@telstra.com.au"><Demo.tex></span><span id="gmail-m_-623522321642928064cid:CD809896-CACA-41F2-B6FD-CEC19309E898@telstra.com.au"><Lighter ground.pdf></span></div>
</blockquote>
</div>
<div><br>
</div>
<div><br>
</div>
Hope this helps.
<div>Stay safe.</div>
<div><br>
</div>
<div><span style="white-space:pre-wrap"></span>Ross</div>
<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_-6235223216429280646557D5E9-6561-423A-A0BB-52278ED89C57" src="cid:1724e1de92a4cff312"></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>
</div>

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