Download it now!
Bug 49705 - Alignment "Justify" ignored when opening PDF files
Summary: Alignment "Justify" ignored when opening PDF files
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Master old -3.6
Hardware: Other All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Import-Draw
  Show dependency treegraph
 
Reported: 2012-05-09 13:31 UTC by Sergey
Modified: 2019-04-23 09:36 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Source "justify" file (15.33 KB, application/vnd.oasis.opendocument.text)
2012-05-09 13:32 UTC, Sergey
Details
Exported "justify" file (22.96 KB, application/pdf)
2012-05-09 13:33 UTC, Sergey
Details
Source "right" file (15.18 KB, application/vnd.oasis.opendocument.text)
2012-05-09 13:33 UTC, Sergey
Details
Exported "right" file (22.86 KB, application/pdf)
2012-05-09 13:33 UTC, Sergey
Details
Justify.pdf in LO (105.85 KB, image/png)
2012-05-09 13:35 UTC, Sergey
Details
Justify.pdf in evince (52.05 KB, image/png)
2012-05-09 13:36 UTC, Sergey
Details
Source justify file (odt) (9.35 KB, application/vnd.oasis.opendocument.text)
2019-04-23 09:14 UTC, Eugene Saenko
Details
Exported justify file (pdf) (17.82 KB, application/pdf)
2019-04-23 09:16 UTC, Eugene Saenko
Details
Exported file in Okular (49.54 KB, image/png)
2019-04-23 09:17 UTC, Eugene Saenko
Details
Screenshot of exported file, opened in LO (29.84 KB, image/png)
2019-04-23 09:19 UTC, Eugene Saenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey 2012-05-09 13:31:54 UTC
I'm using build of code latest from git.

When libreoffice opens any PDF file alignment mode "justify" is ignored. This happens even with PDFs created by libreoffice itself.

At the same time alignment "right" works as expected.

Attached are source ODT and resulting PDF files, screenshots of libreoffice and evince.
Comment 1 Sergey 2012-05-09 13:32:40 UTC
Created attachment 61306 [details]
Source "justify" file
Comment 2 Sergey 2012-05-09 13:33:00 UTC
Created attachment 61307 [details]
Exported "justify" file
Comment 3 Sergey 2012-05-09 13:33:22 UTC
Created attachment 61308 [details]
Source "right" file
Comment 4 Sergey 2012-05-09 13:33:40 UTC
Created attachment 61309 [details]
Exported "right" file
Comment 5 Sergey 2012-05-09 13:35:19 UTC
Created attachment 61310 [details]
Justify.pdf in LO
Comment 6 Sergey 2012-05-09 13:36:11 UTC
Created attachment 61311 [details]
Justify.pdf in evince
Comment 7 bfoman (inactive) 2012-11-02 14:16:12 UTC
Confirmed with:
LO 3.6.3.1 
Build ID: f8fce0b
Windows 7 Professional SP1 64 bit

Also Draw is importing some words in a sentence as a separate objects - see 8th sentence in attachment 61307 [details].
Comment 8 Joel Madero 2012-11-03 17:19:53 UTC
Marking as NEW as bfoman has confirmed.

Priotizing:

Minor: Makes creating professional quality work harder under specific situation and/or makes user not use certain features.

Low: Importing pdf's are uncommon in general, not many people affected, only happens when justify is set.
Comment 9 QA Administrators 2015-01-05 17:52:09 UTC Comment hidden (obsolete)
Comment 10 Buovjaga 2015-01-28 13:03:38 UTC
Reproduced.

Win 7 Pro 64-bit Version: 4.5.0.0.alpha0+
Build ID: 784d069cc1d9f1d6e6a4e543a278376ab483d1eb
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-01-25_23:07:36
Comment 11 QA Administrators 2016-02-21 08:37:12 UTC Comment hidden (obsolete)
Comment 12 QA Administrators 2017-03-06 15:45:26 UTC Comment hidden (obsolete)
Comment 13 Thomas Lendo 2018-09-20 10:00:02 UTC
Still reproducible.

Version: 6.2.0.0.alpha0+ (x64)
Build ID: 18c5089df091bddeb8c2dc339776671964389040
CPU threads: 8; OS: Windows 10.0; UI render: GL; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-09-12_23:24:12
Locale: de-AT (de_AT); Calc: CL

'Justify pdf' attached to this bug and newly created pdf are imported without justified paragraphs.

A newly created 'Right pdf' from source file attached to this bug is also wrong imported with spacing before text (which means on the right of the text).
Comment 14 Eugene Saenko 2019-04-23 09:06:06 UTC
Confirmed.
Version: 6.1.5.2
Build ID: 90f8dcf33c87b3705e78202e3df5142b201bd805
CPU threads: 6; OS: Linux 5.0; UI render: default; VCL: gtk2; 
Locale: ru-RU (ru_RU.utf8); Calc: group threaded

Mode "justify" isn't simply ignored. Sometimes lines of text became longer and exceed right margin.
Comment 15 Eugene Saenko 2019-04-23 09:14:16 UTC
Created attachment 150933 [details]
Source justify file (odt)
Comment 16 Eugene Saenko 2019-04-23 09:16:06 UTC
Created attachment 150934 [details]
Exported justify file (pdf)
Comment 17 Eugene Saenko 2019-04-23 09:17:47 UTC
Created attachment 150935 [details]
Exported file in Okular
Comment 18 Eugene Saenko 2019-04-23 09:19:00 UTC
Created attachment 150936 [details]
Screenshot of exported file, opened in LO
Comment 19 Eugene Saenko 2019-04-23 09:36:56 UTC
(In reply to Joel Madero from comment #8)
> Marking as NEW as bfoman has confirmed.
> 
> Priotizing:
> 
> Minor: Makes creating professional quality work harder under specific
> situation and/or makes user not use certain features.
> 
> Low: Importing pdf's are uncommon in general, not many people affected, only
> happens when justify is set.

I don't agree. Sometimes it's need to change some words in pdf file with many pages. And after that I have to check all pages and manually correct all lines that exceed right margin. I don't say about "professional quality work". I simply say about readable document.