Allow deterministic PS CreationDate
I would like the PS output of Cairo to be reproducible. This currently is not the case, because Cairo embeds a timestamp in the CreationDate header.
I see several possiblilities
- provide API to explicitly set
surface->creation_date
- provide API to explicitly set
surface->has_creation_date
- initialize creation_date from
getenv("SOURCE_DATE_EPOCH")
any of these works for me, but the last option is probably the least intrusive.
Edited by Han-Wen Nienhuys