You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several attempts to add metadata to the generated using the initial Grantlee templates failed as the process depends on the exact versions of libcairo and weasyprint and will not permit setting arbitrary tags or reliable set the permitted tags.
The obvious alternative is using an external tool like exiftool as last processing step. On order to permit maximum flexibility there should be a user-provided file (e. g. PDF-tags.gtmpl -- a configurable name would be a good idea, too) that will contain lines consisting of "tag name", "value" pairs which will be either fed to exiftool -tagsFromFile or as individual command line parameters to form a command like exiftool -"tag name"="value".
Several attempts to add metadata to the generated using the initial Grantlee templates failed as the process depends on the exact versions of libcairo and weasyprint and will not permit setting arbitrary tags or reliable set the permitted tags.
The obvious alternative is using an external tool like exiftool as last processing step. On order to permit maximum flexibility there should be a user-provided file (e. g. PDF-tags.gtmpl -- a configurable name would be a good idea, too) that will contain lines consisting of "tag name", "value" pairs which will be either fed to
exiftool -tagsFromFile
or as individual command line parameters to form a command likeexiftool -"tag name"="value"
.That way a file like
could be used to generate the required literal values for
exiftool
.The text was updated successfully, but these errors were encountered: