<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">
<div class="moz-cite-prefix">cairo 1.16.0 also exhibits the
problem.<br>
</div>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">AFAICT the difference between "small"
and "Virtual Mechanics" in the content stream (obj 4) is that only
for the "small" an additional "/b14 gs" command is present:<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">[...]<br>
</div>
<div class="moz-cite-prefix">q<br>
106.926 93.812 33.621 13.883 re W n<br>
/b14 gs<br>
q<br>
1 0 0 1 106 93 cm<br>
/a0 gs /x7 Do<br>
Q<br>
Q q<br>
148.605 117.57 83.879 14.02 re W n<br>
q<br>
1 0 0 1 148 117 cm<br>
/a0 gs /x8 Do<br>
Q<br>
Q</div>
<div class="moz-cite-prefix">[...]</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">The ExtGState definitions says:</div>
<div class="moz-cite-prefix">/a0 <<<br>
/CA 1<br>
/ca 1<br>
>></div>
<div class="moz-cite-prefix">/b14 <<<br>
/BM /Multiply<br>
>></div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Adding /b14 gs to drawing of the second
XObject (i.e. /x8) fixes the output.</div>
<div class="moz-cite-prefix"><br>
</div>
Maybe someone with more knowledge about cairo's pdf surface and/or
pdftocairo can help here?
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"> Tobias<br>
</div>
<br>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 03/11/2022 13:47, Beckmann Urs (ID)
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:f46755f73b634df9bfd19577f0ae8b1e@id.ethz.ch">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Dear Cairo developers<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The attached pdf
small-sample-with-comments.pdf gives incorrect output from
pdftocairo -pdf.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The yellow stripe covers
the text “Virtual Mechanics”, instead of being transparent.
Text “small” instead remains correctly not covered after
pdftocairo -pdf.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">pdftocairo -png and
pdftocairo -ps give correct results. It looks like the
problem comes from cairo pdf output engine.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Tested with
cairo-version 1.17.4<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Kind regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Urs<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
<p><br>
</p>
</body>
</html>