Bug 107301 - Text of justified paragraph cluttered if snap to char is turn off
Summary: Text of justified paragraph cluttered if snap to char is turn off
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:5.4.0
Keywords:
Depends on:
Blocks: Text-Grid
  Show dependency treegraph
 
Reported: 2017-04-20 15:53 UTC by Mark Hung
Modified: 2019-09-18 09:59 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Text grid on, squared page mode, and snap-to-char off, justified paragraph (12.08 KB, application/vnd.oasis.opendocument.text)
2017-04-20 15:53 UTC, Mark Hung
Details
Screenshot of 5.3.1.2 (10.52 KB, image/png)
2017-04-20 15:55 UTC, Mark Hung
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Hung 2017-04-20 15:53:50 UTC
Created attachment 132716 [details]
Text grid on, squared page mode, and snap-to-char off, justified paragraph

1. Tools / Options / LibreOffice Writer / General / Use, uncheck "square page mode"
2. Select "Lines and Chars" in Text Grid tab in Page Style dialog.
3. Set Characters per line to 20, Characters width to 24pt.
4. Insert as text that grows to more than one lines.
5. Edit Paragraph/Alignment, select Justified. Also select Justified for last line.

Observed: text except for last line cluttered, ignoring spacing for the text grid.

Expect: the space between characters should be 12pt ( i.e. Character width - CJK font height of default style. )
Comment 1 Mark Hung 2017-04-20 15:55:42 UTC
Created attachment 132717 [details]
Screenshot of 5.3.1.2
Comment 2 Xisco Faulí 2017-04-20 18:12:20 UTC
I trust you ;-)
Comment 3 Commit Notification 2017-04-23 06:03:50 UTC
Mark Hung committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=5f62b97ae7891b8c601f6093a1ec5358feb20790

tdf#107301: Improve non snap-to-char text rendering.

It will be available in 5.4.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Xisco Faulí 2017-06-09 09:56:03 UTC
Hello,
Is this bug fixed?
If so, could you please close it as RESOLVED FIXED?