[ https://issues.apache.org/jira/browse/FOP-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Moritz Flöter updated FOP-3246: ------------------------------- Summary: [PATCH] Different line endings in XMP metadata accross different Operating Systems (was: Different line endings in XMP metadata accross different Operating Systems) > [PATCH] Different line endings in XMP metadata accross different Operating > Systems > ---------------------------------------------------------------------------------- > > Key: FOP-3246 > URL: https://issues.apache.org/jira/browse/FOP-3246 > Project: FOP > Issue Type: Improvement > Components: renderer/pdf > Affects Versions: 2.10 > Environment: Linux, Windows > Reporter: Moritz Flöter > Priority: Minor > Fix For: main > > Attachments: crlf-to-lf-for-xmp-metadata.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > [PATCH] At my job, we recently migrated some functionality from hand written > positioning of PDF elements to Apache FOP. > When running tests, we compare the resulting PDFs (after filtering out things > like date, ID etc.). > However, we realized that our development systems (Windows based) produced > different output than our Linux based test systems. We found out that this is > due to line endings in the XMP metadata. > It would be nice to have similar behaviour accross all operating systems > given that there is no functional difference between both PDF files (albeit > LF line endings make the file a tiny bit smaller). > Therefore I implemented a change that replaces CRLF line endings with LF line > endings in the XMP metadata. -- This message was sent by Atlassian Jira (v8.20.10#820010)