Bug 120171 - Hanging punctuation doesn't work
Summary: Hanging punctuation doesn't work
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.2.0 target:7.1.0.2
Keywords:
Depends on:
Blocks: CJK
  Show dependency treegraph
 
Reported: 2018-09-27 20:33 UTC by Naruhiko Ogasawara
Modified: 2021-01-22 09:27 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
The file it can reproduce this issue (13.70 KB, application/vnd.oasis.opendocument.presentation)
2018-09-27 20:34 UTC, Naruhiko Ogasawara
Details
Rendering result of the reproduce file (21.46 KB, image/png)
2018-09-27 20:38 UTC, Naruhiko Ogasawara
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Naruhiko Ogasawara 2018-09-27 20:33:49 UTC
Description:
When the paragraph specified to "Allow hanging punctuation," hanging punctuation doesn't work

Steps to Reproduce:
1. Open attached Impress file
2. Right click > "Paragraph" > "Asian Typography" > Check:
   - Apply list of forbitten characters to the beginning and end of lines
   - Allow hanging punctuation (*)

(the attached file is already done so)

Actual Results:
the punctuation (at this time "、") is in the beginning of the line

Expected Results:
the punctuation ("、") should be hanging in the end of line, not in the beggining


Reproducible: Always


User Profile Reset: Yes



Additional Info:
If "Allow hanging punctuation"(*) is off, the puctuation is not in the beggining (even not hanging, of course).

I only tried with Ubuntu 18.04 LTS x86_64
Comment 1 Naruhiko Ogasawara 2018-09-27 20:34:41 UTC
Created attachment 145231 [details]
The file it can reproduce this issue
Comment 2 Naruhiko Ogasawara 2018-09-27 20:38:19 UTC
Created attachment 145232 [details]
Rendering result of the reproduce file

This image indicates this issue seems not to relate font.
Comment 3 Mark Hung 2018-10-15 12:59:12 UTC
Reproducible with 

LibreOffice 3.3.0 (Portable)
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 4 QA Administrators 2019-10-16 02:29:42 UTC Comment hidden (obsolete)
Comment 5 Naruhiko Ogasawara 2019-10-26 09:19:05 UTC
Reproducible with:

Linux (Ubuntu) x86-64; AppImage Daily build,

Version: 6.4.0.0.alpha0+
Build ID: bb11efa477b6700744560d3999190c65d016600b
CPU threads: 4; OS: Linux 5.3; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-09-26_19:53:21
Locale: ja-JP (ja_JP.UTF-8); UI-Language: en-US
Calc: threaded

and:

Linux (Ubuntu) x86-64: 19.10 Snap build,

Version: 6.3.2.2
Build ID: libreoffice-6.3.2.2-snap1
CPU threads: 4; OS:Linux 5.3; UI render: default; VCL: gtk3; 
Locale: ja-JP (ja_JP.UTF-8); UI-Language: ja-JP
Calc: threaded
Comment 6 Commit Notification 2021-01-04 12:40:33 UTC
Mark Hung committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/2ffa6c897379bf07367d445918b4c142cd493e7f

tdf#120171 editeng: don't reduce nBreakPos

It will be available in 7.2.0.

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

Affected users are encouraged to test the fix and report feedback.
Comment 7 Commit Notification 2021-01-04 20:52:55 UTC
Mark Hung committed a patch related to this issue.
It has been pushed to "libreoffice-7-1":

https://git.libreoffice.org/core/commit/e865a170a3a964dfa28ca51789801691932827e9

tdf#120171 editeng: don't reduce nBreakPos

It will be available in 7.1.0.2.

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

Affected users are encouraged to test the fix and report feedback.