[poppler] Annot rendering improvements
Fabio D'Urso
fabiodurso at hotmail.it
Fri Mar 30 03:28:43 PDT 2012
>> 0002 fixes the existing AnnotGemetry::draw method.
> Can we get a pdf that shows the problem?
The problem only shows up after setting the interior color, because AnnotGeometry::draw
method wrongly assumes that AnnotColor always represents some color. It's not always
the case because "new AnnotColor()" is transparent color.
I attached a diff that can be used to trigger this behavior and the resulting rendering
> All the rest seem to be new feature, let's wait for the outcome of the Beta 3
> mail. But please prepare some pdf showing the need of those changes.
I'm attaching a pdf that shows all the changes and some screenshots I took
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrong-fill.png
Type: image/png
Size: 10224 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20120330/3a2e7895/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrong-fill-demo.diff
Type: text/x-patch
Size: 600 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20120330/3a2e7895/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: annot-rendering.pdf
Type: application/pdf
Size: 37534 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20120330/3a2e7895/attachment-0001.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: current-poppler.png
Type: image/png
Size: 37088 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20120330/3a2e7895/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patched-poppler.png
Type: image/png
Size: 52656 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20120330/3a2e7895/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: acroread.png
Type: image/png
Size: 42123 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20120330/3a2e7895/attachment-0007.png>
More information about the poppler
mailing list