<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Phil.
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Apr 5, 2018, at 4:38 AM, Philip Taylor (RHUoL) <<a href="mailto:P.Taylor@Rhul.Ac.Uk" class="">P.Taylor@Rhul.Ac.Uk</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div text="#000000" bgcolor="#FFFFFF" class="">
<p class="">I have been playing with Adobe Photoshop's "blending options" for text recently, adding a gold or metallic texture to otherwise plain text.  The results are visually very striking, and I therefore began to wonder whether similar functionality might
 one day be added to Pdf/XeTeX, in the former case natively and in the latter case via \specials and an extended (x)dvipdfm(x) driver.</p>
<p class="">Three examples of the sorts of effect I have in mind can be seen at :</p>
<ul class="">
<li class=""><a class="moz-txt-link-freetext" href="https://www.dropbox.com/s/b7a1383rb1dx2vp/Ao%20dais.pdf?dl=0">https://www.dropbox.com/s/b7a1383rb1dx2vp/Ao%20dais.pdf?dl=0</a>
</li><li class=""><a class="moz-txt-link-freetext" href="https://www.dropbox.com/s/7s6s7n9w8popiyg/MENU%20001%20new%20ellipse.pdf?dl=0">https://www.dropbox.com/s/7s6s7n9w8popiyg/MENU%20001%20new%20ellipse.pdf?dl=0</a>
</li><li class=""><a class="moz-txt-link-freetext" href="https://www.dropbox.com/s/smmcjy9zuuxa1nu/MENU%20001%20%28metallic%20gold%20text%20demo%29.pdf?dl=0">https://www.dropbox.com/s/smmcjy9zuuxa1nu/MENU%20001%20%28metallic%20gold%20text%20demo%29.pdf?dl=0</a>
</li></ul>
<p class="">I would be interested in others' reactions to this.</p>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>These are using PDF’s concept of “Text Rendering” modes.</div>
<div>In particular  7 Tr   meaning mode 7,</div>
<div>which uses the outlines of characters to be the clipping path for an underlying graphic.</div>
<div>Thus the letter shapes restrict what parts of the graphic come shining through.</div>
<div><br class="">
</div>
<div>This is essentially already available with pdfTeX; viz.</div>
<div><br class="">
</div>
<div>   <a href="https://tex.stackexchange.com/questions/250156/problem-with-pdfliteral/250162#250162" class="">https://tex.stackexchange.com/questions/250156/problem-with-pdfliteral/250162#250162</a></div>
<div> </div>
<div><br class="">
</div>
<div>There is one part missing:  how to make the underlying graphic correctly?</div>
<div>e.g., to have letters looking like they are embossed, or standing out in 3D, etc.</div>
<div><br class="">
</div>
<div>You need to construct the desired view in an image, and then place the actual characters, </div>
<div>with appropriate rendering mode, exactly over that image so that only the desired parts are shown.</div>
<div>This requires external image-processing software, which is what you paid Adobe to do with Photoshop.</div>
<div><br class="">
</div>
<div><br class="">
</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div text="#000000" bgcolor="#FFFFFF" class="">
<p class="">Philip Taylor<br class="">
</p>
</div>
</div>
</blockquote>
</div>
<div class=""><br class="">
</div>
Hope this helps.</div>
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>Ross</div>
<div class=""><br class="">
<div apple-content-edited="true" class="">
<div style="font-family: Arial, sans-serif; orphans: 2; widows: 2;" class=""><span class="Apple-style-span" style="font-size: 9px;"><b class=""><span style="font-size: 9pt;" class=""><br class="Apple-interchange-newline">
Dr Ross Moore</span></b></span></div>
<div style="orphans: 2; widows: 2;" class="">
<p style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin-bottom: 3.75pt;" class="">
<font color="#000000" class=""><b style="color: rgb(119, 119, 119); font-family: Arial, sans-serif; font-size: 9pt; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Mathematics
 Dept </b><b style="color: rgb(119, 119, 119); font-family: Arial, sans-serif; font-size: 9pt; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">|</b><font color="#777777" face="Arial, sans-serif" class=""><span style="font-size: 9pt;" class=""> 12
 Wally</span></font><font face="Arial, sans-serif" class="">’</font><font color="#777777" face="Arial, sans-serif" class=""><span style="font-size: 9pt;" class="">s Walk, 734</span></font><br class="">
<font color="#777777" face="Arial, sans-serif" class=""><span style="font-size: 9pt;" class="">Macquarie University, NSW 2109, Australia</span></font><font color="#777777" size="3" class=""><span style="font-family: 'Times New Roman', serif; font-size: 12pt;" class=""></span></font></font></p>
<p style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: Arial, sans-serif; color: rgb(119, 119, 119); font-size: 7pt; line-height: 11.25pt; margin-bottom: 3.75pt;" class="">
<b class=""><span style="font-size: 9pt;" class=""><font color="#000000" class="">T:</font></span></b><span style="font-size: 9pt;" class=""><font color="#000000" class=""> +61 2 9850 <b class="">8955  |  F:</b> </font><a href="tel:%2B61%202%209850%209695" value="+61298509695" target="_blank" class=""><font color="#000000" class="">+61
 2 9850 8114</font></a><br class="">
<font color="#000000" class=""><b class="">M:</b><a href="tel:%2B61%20409%20125%20670" value="+61409125670" target="_blank" class="">+61 407 288 255</a><b class="">  |  </b>E: </font><a href="mailto:rick.minter@mq.edu.au" target="_blank" class=""><font color="#000000" class="">ross.moore@mq.edu.au</font><font color="#1155cc" class=""><span style="color: black;" class=""></span></font></a><font color="#1155cc" class=""><span style="color: black;" class=""></span></font><span style="color: black;" class=""></span><br class="">
</span></p>
<p style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: Arial, sans-serif; color: rgb(119, 119, 119); font-size: 7pt; line-height: 11.25pt; margin-bottom: 3.75pt;" class="">
<span style="font-size: 9pt;" class=""><span style="color: black;" class=""><a title="Macquarie University" href="http://mq.edu.au/" target="_blank" class="">http://www.maths.mq.edu.au</a></span></span></p>
<p style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: Arial, sans-serif; color: rgb(119, 119, 119); font-size: 7pt; line-height: 11.25pt; margin-bottom: 3.75pt;" class="">
<span style="font-size: 12px; line-height: normal;"><a href="http://mq.edu.au/" target="_blank" style="font-size: 12px; line-height: normal;" class=""><span><br class="Apple-interchange-newline">
<span><img height="58" width="260" apple-inline="yes" id="55F0A8BC-3844-4712-96C0-3450C7556157" apple-width="yes" apple-height="yes" src="cid:image001.png@01D030BE.D37A46F0" class=""></span></span></a></span></p>
<p style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: Arial, sans-serif; color: rgb(119, 119, 119); font-size: 7pt;" class="">
<a href="http://mq.edu.au/" target="_blank" class=""><span style="color: rgb(119, 119, 119); font-size: 7pt;" class=""><br class="Apple-interchange-newline">
CRICOS Provider Number 00002J. Think before you print. <br class="">
Please consider the environment before printing this email.</span><span style="font-family: 'Times New Roman', serif; font-size: 12pt;" class=""></span></a></p>
<p style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: Arial, sans-serif; color: rgb(119, 119, 119); font-size: 7pt;" class="">
<a href="http://mq.edu.au/" target="_blank" class=""><span style="color: rgb(119, 119, 119); font-size: 7pt;" class="">This message is intended for the addressee named and may <br class="">
contain confidential information. If you are not the intended <br class="">
recipient, please delete it and notify the sender. Views expressed <br class="">
in this message are those of the individual sender, and are not <br class="">
necessarily the views of Macquarie University.</span></a></p>
</div>
</div>
<br class="">
</div>
</body>
</html>