[poppler] Extract title from pdf file.

Leonard Rosenthol lrosenth at adobe.com
Wed Nov 9 06:58:57 PST 2011


On 11/9/11 6:37 AM, "Albert Astals Cid" <aacid at kde.org> wrote:
>And no it is not incorrect, if the metadata does not have a title, then
>the 
>document does not have a title as defined per the spec.

Albert is correct, of course.

One thing that Poppler does not do, however, that would improve it's
compliance with the spec is to ALSO read/process/manage the XMP-based
metadata in a PDF.  XMP always takes precedence over the Info dictionary,
so in the case where you have updated XMP but not updated Info - Poppler
would return the incorrect information :(.  While this requirement is
optional/recommended in ISO 32000-1 - it is mandated/required in the
upcoming 32000-2.

Leonard



More information about the poppler mailing list