pdfcraft/crates/render/src
Nicholas Yoannou 92c9de7aad
Comments: line breaks saved as CR show in comment text (#1113)
Acrobat saves the line breaks in a comment's /Contents as CR, e.g.
"first line\r\rsecond paragraph". egui draws CR as nothing and only breaks
lines at LF, so the comments panel, the hover popup and the edit box ran
the paragraphs together ("first linesecond paragraph").

Both readers of comment text (pdfcraft_render::inspect on open and
pdfcraft_annot::summaries after an edit) now turn CRLF and CR into LF.

Regression tests: carriage_returns_in_comment_text_become_line_breaks in
annot and render (both fail before this change).
2026-10-11 14:46:05 -04:00
..
raster M2: cancel obsolete in-flight requests (#702) 2026-10-10 06:22:24 -04:00
inspect.rs Comments: line breaks saved as CR show in comment text (#1113) 2026-10-11 14:46:05 -04:00
lib.rs Combine files: a thumbnail grid, card sizes and card actions (refs #611) (#777) 2026-10-10 16:44:15 -04:00
pixels.rs Reduce large-PDF memory growth (#307) (#419) 2026-10-09 14:38:01 -04:00
raster.rs M2: keep non-interpolated minified images sharp (#635) 2026-10-11 13:31:18 -04:00
structure.rs render: don't let a hostile page-tree /Count abort inspection (#956) 2026-10-11 13:33:02 -04:00
text.rs M2: overlapping text runs stay whole; placement in arrange, bounded checks (#748) 2026-10-11 13:41:15 -04:00