[jira] [Updated] (FOP-3246) [PATCH] Different line endings in XMP metadata accross different Operating Systems

"Simon Steiner (Jira)" <[email protected]>
Newsgroups gmane.text.xml.fop.devel
Message-ID <[email protected]>
     [ https://issues.apache.org/jira/browse/FOP-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Steiner updated FOP-3246:
-------------------------------
    Fix Version/s:     (was: 2.11)

> [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
>         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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.