Bug 163993 - Writer-generated PDF imported to LibreOffice Draw overflows text past page edge
Summary: Writer-generated PDF imported to LibreOffice Draw overflows text past page edge
Status: RESOLVED DUPLICATE of bug 49705
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.8.3.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Import-Draw
  Show dependency treegraph
 
Reported: 2024-11-22 17:12 UTC by Myosotis Arae
Modified: 2024-11-24 15:41 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
comparison between the display in LibreOffice Draw and in Chrome (266.57 KB, image/png)
2024-11-22 17:20 UTC, Myosotis Arae
Details
This is the file with a display problem. (93.11 KB, application/pdf)
2024-11-23 09:55 UTC, Myosotis Arae
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Myosotis Arae 2024-11-22 17:12:42 UTC
Description:
I created a pdf document from odt with LibreOffice Writer.
All browsers display it correctly.
But, displayed in LibreOffice Draw, a line is outside of the page.

Steps to Reproduce:
1. Open document with LibreOffice Draw.
2.
3.

Actual Results:
The end of the text overflows on the right.

Expected Results:
The text ends outside of the white page.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Il should be displayed in the limits of the page.
Comment 1 Myosotis Arae 2024-11-22 17:20:28 UTC
Created attachment 197722 [details]
comparison between the display in LibreOffice Draw and in Chrome
Comment 2 m_a_riosv 2024-11-23 02:06:11 UTC
Please attach a sample file, reduce the size as much as possible without private information, and paste the information in Menu/Help/About LibreOffice, there is a copy icon.
Comment 3 Myosotis Arae 2024-11-23 09:55:01 UTC
Created attachment 197742 [details]
This is the file with a display problem.
Comment 4 Myosotis Arae 2024-11-23 09:56:02 UTC
I don't quite see what you mean with "paste the information in Menu/Help/About LibreOffice".
Comment 5 Eric Rodriguez 2024-11-23 20:20:52 UTC
"paste the information in Menu/Help/About LibreOffice"
means:
Open your LibreOffice draw, in the Menu up top, click Help then About LibreOffice, when the about window opens it has all your version information. There is a button to copy that information, paste that information in a response here like mine below.

The second line on page 1 and the first line on page 2 extend beyond the page in draw. They appear within page when viewed in chrome browser.

Thank you for reporting the bug. I can confirm that the bug is present in
Version: 24.8.3.2 (X86_64) / LibreOffice Community
Build ID: 48a6bac9e7e268aeb4c3483fcf825c94556d9f92
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Thank you for reporting the bug. I can confirm that the bug is present in
Version: 25.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 869fff459cbee6a2edadd5c24f2b65c199712de6
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 6 Eyal Rozenberg 2024-11-23 22:01:23 UTC
Reproduced with:

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3e9658a201f60dee95bd1bd8421b18bf8905c308
CPU threads: 4; OS: Linux 6.6; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US


Note the periods on the first and second lines of the paragraph body - "club." vs "heures." ... they're horizontally far apart in a PDF viewer, but almost lined up in Draw.
Comment 7 V Stuart Foote 2024-11-24 15:37:18 UTC

*** This bug has been marked as a duplicate of bug 49705 ***
Comment 8 V Stuart Foote 2024-11-24 15:41:27 UTC
This is a dupe of bug 49705 and is limitation of PDF being import filtered by poppler -> cairo conversion to Draw textbox objects.

If fidelity to original Writer XML is needed in the PDF, use our LibreOffice HybridPDF format which embeds the ODF Document stream into the PDF.

Alternatively, insert each page "as image" into a new Draw document, the pdfium based filter provides high fidelity to appearance/layout of the PDF--but is limited currently to a page of PDF at a time and insert as a raster image.