Bug 82176 - CJK: Cursor position, line selection and non-printing characters do not take account of hanging punctuation
Summary: CJK: Cursor position, line selection and non-printing characters do not take ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version: Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: CJK-METABUG
  Show dependency treegraph
 
Reported: 2014-08-05 06:07 UTC by Matthew Francis
Modified: 2014-09-06 12:19 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Screenshot for (2) (9.14 KB, image/png)
2014-08-05 06:11 UTC, Matthew Francis
Details
Screenshot for (3) (7.74 KB, image/png)
2014-08-05 06:14 UTC, Matthew Francis
Details
Test Japanese file with hanging punctuation (12.06 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2014-08-05 06:20 UTC, Matthew Francis
Details

Description Matthew Francis 2014-08-05 06:07:07 UTC
Observed on OSX 10.9.4 / LO 4.3.0.4

"Hanging punctuation" is used in CJK languages to ensure that, for instance, a full stop is not shifted by itself onto a following line, but instead extends into the page margin

However, while the visual display of text is correct (with the exception of bug 58604), the current implementation in LO has the following usability issues:

1. When moving the cursor position using the keyboard, the visible cursor does not move when advancing over hanging punctuation. It is therefore impossible to visibly determine whether the cursor is before or after the hanging punctuation

2. Similarly, when expanding a text selection using the keyboard (Shift-Right), the visible selection does not change when advancing over hanging punctuation. (When a whole paragraph is selected, the margin of the selection is correctly shifted right to cover hanging punctuation within the paragraph. However, for text selected within a paragraph, this does not occur)

3. When "View -> Nonprinting Characters" is selected, a paragraph mark is overlaid on hanging punctuation at the end of a paragraph
Comment 1 Matthew Francis 2014-08-05 06:11:20 UTC
Created attachment 104050 [details]
Screenshot for (2)

This shows the selection failing to cover hanging punctuation (the "。"). Note that all the text within this sample paragraph is selected, but not the whole paragraph itself
Comment 2 Matthew Francis 2014-08-05 06:14:09 UTC
Created attachment 104051 [details]
Screenshot for (3)

This shows non-printing characters and hanging punctuation overlaid on one another

Note the "¶" and "。" jumbled together at the end of the second line
Comment 3 Matthew Francis 2014-08-05 06:20:08 UTC
Created attachment 104053 [details]
Test Japanese file with hanging punctuation

Not sure how reproducible the font layout will be across platforms. If necessary, add/remove characters and/or adjust the font size until the "。" hangs in the margin
Comment 4 Jay Philips 2014-09-06 12:19:30 UTC
Confirmed in 4.3.2 and master on Linux.

Version: 4.4.0.0.alpha0+
Build ID: 8e4defe4b59a72fbe82f94b26e233ba36640c739
TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:master, Time: 2014-09-02_01:46:56


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.