[cairo] API to set PDF meta data (author, creator, etc)
Adib Taraben
taraben.a at st-innovation.com
Thu Sep 20 23:14:46 PDT 2007
Adrian Johnson schrieb:
> Adib Taraben wrote:
>> Hello Cairo team,
>>
>> attached there is a patch for the pdf surface to support custom info
>> dictionary in order to set author, creator, etc.
>>
>
> I've updated to ROADMAP to include a metadata API for 1.8.
>
> http://gitweb.freedesktop.org/?p=cairo;a=commit;h=8a4adcf5f3c893505a53882a0532a220f79f4409
>
> This should be a non backend specific API as there are other backends
> that can also store metadata. The PDF metadata also supports UTF-16
> strings so we should support that. We also don't want applications to
> have to understand the PDF date format to set the date in the metadata.
>
>
May I recap: the meta data API should
- support key, value pairs, where key and value are of any type
- support variant style types (strings, dates, maybe binaries?) for
better per surface formatting (i.e. PDF date-format)
- support by document and by page properties,
Am I right?
Adib.
---
More information about the cairo
mailing list