mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
The PDF writer's metadata has no copyright fields, so the XMP packet of PDF exports and PDF-compatible .ai and .ait saves left out File Info's copyright status, notice and URL. A PDF exported without its editing data opened with the status Unknown and an empty notice and URL, although the reader takes them from dc:rights, xmpRights:WebStatement and xmpRights:Marked. The export now adds those three properties to the XMP packet after the writer has written it, as it does for the modification date. Marked is True for Copyrighted and False for Public Domain, and is left out for Unknown. The notice and URL are escaped for XML, and characters XML 1.0 does not allow are left out. A document without a copyright gets none of the properties. Docs: docs/mcp.md (File Info), docs/target-app-parity.md.