Bug 142309 - The text of many PDF documents is not full justified in Draw.
Summary: The text of many PDF documents is not full justified in Draw.
Status: RESOLVED DUPLICATE of bug 142308
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.1.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-16 03:58 UTC by yury.dubinsky
Modified: 2021-05-16 16:30 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
example of PDF with not full justified text (119.42 KB, application/pdf)
2021-05-16 03:58 UTC, yury.dubinsky
Details
screenshot with not justified text (418.20 KB, image/png)
2021-05-16 03:59 UTC, yury.dubinsky
Details
PDF file from Bug 49697 (495.27 KB, application/pdf)
2021-05-16 03:59 UTC, yury.dubinsky
Details
Screenshot of not justified text in the PDF file from Bug 49697 (640.02 KB, image/png)
2021-05-16 04:00 UTC, yury.dubinsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yury.dubinsky 2021-05-16 03:58:17 UTC
Created attachment 172045 [details]
example of PDF with not full justified text

I have collected many PDF document which text has to by fill justified, but Draw doesn’t do it  All these PDFs are displayed correctly in other viewers. I checked on Linux (Ubuntu 20.04) with Adobe Reader, Chrome / Chromium, Firefox, Evince, Okular, GIMP, and ImageMagic, and others. On Windows 10 with Adobe Reader, Chrome / Chromium, Firefox and Edge.  Only Draw has this problem on both platforms. 
I've attached an example with an actual PDF file and a screenshot that compares the view in one of the above viewers to the view in Draw.  Just in case, I’ve attached another screenshot. The file from the Bug 49697  also has problems with not justified lines. I re-attached the file from Bug 49697. Probably Draw doesn’t have a mechanism to full justify text. Wrong justification prevents DRAW from being used directly for work with these files.
Steps to reproduce:
1. Open attached file with Draw on Linux and Windows
2. Open attached file with any of above viewers

Current behaviour:
1. The document open in Draw has wrong formatting due to not justified lines.2Compare with any other viewer. Or see my screenshot. 
2. When the document, opened in Draw, is being exported as PDF the new PDF has wrong formatting because the text is not full justified 

Expected behaviour:
1. The text formatting is correct. The text is full justified.
2. After being exported from Draw, as PDF   the new PDF document looks identically to the original document.
Comment 1 yury.dubinsky 2021-05-16 03:59:12 UTC
Created attachment 172046 [details]
screenshot with not justified text
Comment 2 yury.dubinsky 2021-05-16 03:59:52 UTC
Created attachment 172047 [details]
PDF file from Bug 49697
Comment 3 yury.dubinsky 2021-05-16 04:00:40 UTC
Created attachment 172048 [details]
Screenshot of not justified text in the PDF file from Bug 49697
Comment 4 V Stuart Foote 2021-05-16 16:30:29 UTC

*** This bug has been marked as a duplicate of bug 142308 ***