View Issue Details

IDProjectCategoryView StatusLast Update
0034081FPCPackagespublic2018-10-30 08:28
ReporterPetr-KAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Product Version3.1.1Product Build 
Target Version3.2.0Fixed in Version3.1.1 
Summary0034081: fcl-pdf extension - added Metadata XMP stream
Descriptionto be PDF/A compatible.
Sould not be never compressed therefore added TPDFStream.CompressionProhibited.

TXMPStream writes xml Metadata stream
CreateMetadataEntry creates Metadata reference in the Catalog.

PDF/A validators (verapdf and 3-Heights) do not like CreationDate without time zone. Then I implement it and modified DateToPdfDate to be /CreationDate and <xmp:CreateDate> the same.

This implementation is not prefect, because GetLocalTimeOffset does not
get ATime argument, works only Now. if CreationDate is in DST (daylight saving time) interval and Now not, then time zone is not correct.
TagsNo tags attached.
Fixed in Revision39550
FPCOldBugId
FPCTarget
Attached Files

Activities

Petr-K

2018-08-02 11:36

reporter  

fppdf.patch1 (6,126 bytes)

Michael Van Canneyt

2018-08-02 12:03

administrator   ~0109829

2 things:

1. Your patch is malformed:
patch: **** malformed patch at line 71: @@ -1343,6 +1369,62 @@

2. Can the TrailerID and Metadata entry be made optional ?
Please add poTrailerID, poMetadataEntry to TPDFOption and only create these items when they are specified.

Once you make it PDF/A compatible, we can add poPDFA and that will set both poTrailerID, poMetadataEntry

Petr-K

2018-08-02 13:21

reporter  

fppdf.patch2 (6,732 bytes)

Petr-K

2018-08-02 13:31

reporter   ~0109834

Fixed patch uploaded with poMetadataEntry implemented. Some merging problems, I must switch to git.

poTrailerID:
In the pdf reference 1.7 is writen about file trailer ID: "Optional, but strongly recommended". IMO should not be optional.

Michael Van Canneyt

2018-08-02 14:16

administrator   ~0109837

Applied.

I added a poNoTrailerID option, so by default it will be generated, but it can be disabled if so desired. (you never know why people want something)

Issue History

Date Modified Username Field Change
2018-08-02 11:36 Petr-K New Issue
2018-08-02 11:36 Petr-K File Added: fppdf.patch1
2018-08-02 11:53 Michael Van Canneyt Assigned To => Michael Van Canneyt
2018-08-02 11:53 Michael Van Canneyt Status new => assigned
2018-08-02 12:03 Michael Van Canneyt Note Added: 0109829
2018-08-02 12:03 Michael Van Canneyt Status assigned => feedback
2018-08-02 13:21 Petr-K File Added: fppdf.patch2
2018-08-02 13:31 Petr-K Note Added: 0109834
2018-08-02 13:31 Petr-K Status feedback => assigned
2018-08-02 14:16 Michael Van Canneyt Fixed in Revision => 39550
2018-08-02 14:16 Michael Van Canneyt Note Added: 0109837
2018-08-02 14:16 Michael Van Canneyt Status assigned => resolved
2018-08-02 14:16 Michael Van Canneyt Fixed in Version => 3.1.1
2018-08-02 14:16 Michael Van Canneyt Resolution open => fixed
2018-08-02 14:16 Michael Van Canneyt Target Version => 3.2.0
2018-10-30 08:28 Petr-K Status resolved => closed