Bug 145789 - PDF import: Kaplan-Meier survival curves not properly captured
Summary: PDF import: Kaplan-Meier survival curves not properly captured
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: low trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Import-Draw
  Show dependency treegraph
 
Reported: 2021-11-20 12:12 UTC by Alberto
Modified: 2026-01-10 12:56 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Kaplan - Meier survival curves (12.23 KB, application/pdf)
2021-11-20 12:12 UTC, Alberto
Details
Another example of poor performance of libreoffice (5.80 KB, application/pdf)
2022-01-09 14:53 UTC, Alberto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto 2021-11-20 12:12:39 UTC
Created attachment 176375 [details]
Kaplan - Meier survival curves

Hello, I am a clinical researcher. I usually use libreoffice to visualize and work with medical figures. I have a problem with Kaplan-Meier curves like the attached example. These figures have some vertical marks on the curve, to identify censored patients. However, when I open the pdf with libreoffice, these marks are no longer on the survival curves. So the figure is no longer correct because no mark should be be outside the curves. Is it possible to avoid this happening? To reproduce the error you have to open the pdf with acrobat reader and libreoffice and compare.
Comment 1 V Stuart Foote 2021-11-20 19:42:57 UTC
Confirmed, the pdf import filter adds extra tic marks at each level of the curves when PDF is imported and opened into Draw.

Note: the pdfium based insert filter does show the graphs correctly when inserted to document as image.


Version: 7.2.2.2 (x64) / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 2 Alberto 2022-01-09 14:53:34 UTC
Created attachment 177413 [details]
Another example of poor performance of libreoffice

LibreOffice definitely performs poorly when there are many dots or lines in the image, which is almost always the case, so I will to switch to other alternatives. I am attaching another example so if anyone is ever interested in correcting these errors.
Comment 3 QA Administrators 2024-01-10 03:12:30 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2026-01-10 03:12:13 UTC Comment hidden (obsolete)
Comment 5 V Stuart Foote 2026-01-10 12:56:39 UTC
Mishandling of the tic marks on attachment 176375 [details] continue as in OP and comment 1, spurious tics extend off their chart curve lines. Or as compared to pdfium insert.

While LO poppler/cairo import rendering of attachment 177413 [details] now matches pdfium based insertion. Or as viewed with Adobe Reader. So some improvement. 

=-testing-=

Version: 26.2.0.0.beta1 (X86_64)
Build ID: 620(Build:0)
CPU threads: 28; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded