View Issue Details

IDProjectCategoryView StatusLast Update
0001077savapage-server[All Projects] Generalpublic2020-02-03 19:02
ReporterrijkrAssigned Torijkr 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.1.0 
Target Version1.2.0Fixed in Version1.2.0 
Summary0001077: Set strict defaults for Web Print PDF validation
DescriptionIST: At Web Print of PDF documents, the origin/producer of the document is not unequivocal as with a driver print (with inherent ps2pdf operation). As a result, there is a real chance that invalid PDF documents will end up in SavaPage for which rendering is inconsistent, resulting in a distorted print result. Current configuration properties can be used to reject invalid PDF documents, but default values ​​are not strict enough.
SOLL-1: Rename (add) configuration properties to enforce strict defaults with Web Print of PDF documents.
Ref Old                                 New                         Default
--- -------------------------------     -----------------------------------
(1) print-in.repair.pdf.enable          print-in.pdf.invalid.repair    Y
(2) print-in.allow-encrypted-pdf        print-in.pdf.encrypted.allow   Y
(3) print-in.validate.pdf.fonts.enable  print-in.pdf.fonts.verify      Y
(4) print-in.pdf.embedfont.enable       print-in.pdf.fonts.embed       Y
(5) -                                   print-in.pdf.clean             Y
(1) Uploaded PDF document is read to check validity. If PDF is invalid, repair is executed. If repair fails, upload is rejected.
(2) If PDF is encrypted, it is decrypted.
(3) PDF font syntax is verified. If font errors are encountered, a repair is executed. If repair fails, upload is rejected.
(4) If non-embedded/non-standard PDF fonts are detected, they are ad-hoc embedded (with best-fit fonts available on the system). Reason: for some PDF documents it has been observed that font embedding by CUPS/Ghostscript resulted in missing text.
(5) PDF is cleaned by executing pdftocairo command. Reason: pdf2ps executed by CUPS/Ghostscript might result in missing text and annotations.

SOLL-2: "proxy-print.repair.enable" is deprecated and will eventually be removed. This setting was intended as safety net to trigger a repair action just before a proxy print. Looking back, the "font embedding" and overall cleaning effect of the "pdftocairo" repair did secure the rendering in those cases where the pdf2ps of CUPS/Ghostscript did not. PDF cleaning is now default enforced with "print-in.pdf.clean" immediately after the Web Print. Config item is removed from Admin Web App > Options > Proxy Print.

SOLL-3: Show PDF print-in statistics (valid, repaired, rejected) on Admin Web App Dashboard
TagsNo tags attached.

Relationships

related to 0001073 resolvedrijkr savapage-server Check PDF substitute fonts 
related to 0001113 resolvedrijkr savapage-core Create print-in PDF prepress 
related to 0001078 assignedrijkr savapage-core Remove deprecated proxy-print.repair.enable 
related to 0001011 closedrijkr savapage-core Add PDF repair option for proxy printing 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-09-02 12:41 rijkr New Issue
2019-09-02 12:41 rijkr Status new => assigned
2019-09-02 12:41 rijkr Assigned To => rijkr
2019-09-02 12:41 rijkr Description Updated View Revisions
2019-09-02 12:41 rijkr Description Updated View Revisions
2019-09-02 12:48 rijkr Relationship added related to 0001073
2019-09-02 16:24 rijkr Description Updated View Revisions
2019-09-02 19:39 rijkr Relationship added related to 0001078
2019-09-02 20:05 rijkr Status assigned => resolved
2019-09-02 20:05 rijkr Resolution open => fixed
2019-09-02 20:05 rijkr Fixed in Version => 1.2.0
2019-09-02 22:14 rijkr Description Updated View Revisions
2019-09-30 20:48 rijkr Description Updated View Revisions
2019-09-30 20:48 rijkr Description Updated View Revisions
2019-09-30 20:50 rijkr Description Updated View Revisions
2019-09-30 21:07 rijkr Description Updated View Revisions
2019-10-07 15:42 rijkr Description Updated View Revisions
2020-02-02 13:54 rijkr Relationship added related to 0001011
2020-02-03 19:02 rijkr Relationship added related to 0001113