<br><br><div class="gmail_quote">On Dec 16, 2007 9:18 PM, Baz <<a href="mailto:brian.ewins@gmail.com">brian.ewins@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Dec 16, 2007 7:13 PM, Tuom Larsen <<a href="mailto:tuom.larsen@gmail.com">tuom.larsen@gmail.com</a>> wrote:<br>><br>> - it requires PDF 1.4<br><br></div>That's what cairo emits. I'm struggling to think of a pdf reader that
<br>doesn't support PDF 1.4 - do you mean as opposed to Postscript?</blockquote><div><br>There are still some RIPs, printers and presses which support PDF 1.3 only and Acrobat (6.0) lists transparency as potential problem (for printing).
<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><div class="Ih2E3d"><br></div><div class="Ih2E3d">> - doesn't work that well for lines and open curves because a line has a
<br>> width which might grow the bbox<br><br></div>You used an svg example - in svg the bbox doesn't include stroke<br>width. There are differences between cairo's reported extents and<br>svg's bbox for lines; see this thread for details:
<br><a href="http://lists.cairographics.org/archives/cairo/2007-November/012011.html" target="_blank">http://lists.cairographics.org/archives/cairo/2007-November/012011.html</a><br><div class="Ih2E3d"><br></div></blockquote>
</div><br>I just found out that I can fill() the lines and curves, instead of stroking() -- that emits style="stroke: none".<br><br>