Skip to content

Conversation

sshock
Copy link

@sshock sshock commented Apr 3, 2025

Fix handling of \r\n (CRLF) in a text string. A CARRIAGE RETURN followed immediately by a LINE FEED is a single newline, not two.

Fix handling of \r\n (CRLF) in a text string.  A CARRIAGE RETURN
followed immediately by a LINE FEED is a single newline, not two.
@sshock
Copy link
Author

sshock commented Apr 3, 2025

Below PDF can be used for testing (pre-requisite: for this PDF you must also apply the fix in #70, or else the multi-line name/address field will not be visible at all):
f1099sa.pdf

Screenshot below illustrates this newline fix in MuPDF, with before fix (left) and after fix (right):
fix_newlines

@sshock
Copy link
Author

sshock commented May 31, 2025

Why are fixes ignored?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant