[poppler] Annot rendering improvements
Leonard Rosenthol
lrosenth at adobe.com
Sun Apr 1 12:47:44 PDT 2012
Yes, the raw object has a /Rect of [0 0 100 100].
HOWEVER, it doesn't have a prebuilt appearance. As such, Acrobat/Reader
(or any other viewer) has to regenerate an appearance in order to render
it to the page. Since your line has an L (the actual line coords) of [0 0
200 200], that causes Acrobat/Reader to generate a new bounding box that
incorporates the entire line as that is what one would expect.
So no bug in Acrobat, but Poppler should probably do the same thing.
Leonard
On 4/1/12 4:03 AM, "Fabio D'Urso" <fabiodurso at hotmail.it> wrote:
>
>> From: lrosenth at adobe.com
>> To: fabiodurso at hotmail.it; poppler at lists.freedesktop.org
>> Date: Sat, 31 Mar 2012 21:19:06 -0700
>> Subject: Re: [poppler] Annot rendering improvements
>>
>> Acrobat & Adobe Reader must certainly clip an annotations appearance to
>> the bounding area of the annotation.
>>
>> If you have an example PDF where this is not the case, I would very much
>> like to see it.
>
>6 0 obj
><<
>/Rect [ 0 0 100 100 ]
>/Subtype /Line
>/P 3 0 R
>/Type /Annot
>/M (D:20120401093948+01'00')
>/F 4
>/NM (36ab4956-9486-42c6-93e6-6be2baa56df3)
>/C [ 1 0 0 ]
>/BS <<
>/W 2
>/S /S
>>>
>/CA 1
>/Cap false
>/LE [ /None /None ]
>/L [ 0 0 200 200 ]
>/T (fabio)
>/Subj (Line)
>/CreationDate (D:20120401093948+01'00')
>/Popup 8 0 R
>>>
>
>If I understand the specs correctly, it should only show the lower half
>(like current
>poppler does), no?
>
>
More information about the poppler
mailing list