[Libreoffice-bugs] [Bug 107252] New: Japanese hanging punctuation missing in pdf export when text is set to vertical

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 18 23:11:01 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=107252

            Bug ID: 107252
           Summary: Japanese hanging punctuation missing in pdf export
                    when text is set to vertical
           Product: LibreOffice
           Version: 5.3.2.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Printing and PDF export
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: eddymcv at gmail.com

Created attachment 132671
  --> https://bugs.documentfoundation.org/attachment.cgi?id=132671&action=edit
ODF file with hanging punctuation (assuming Source Han Sans font is installed)

Hanging punctuation does not appear in the PDF exported by LibreOffice from a
document with vertical right-to-left Japanese text. Setting the set
horizontally does not cause this bug to occur.

Steps to reproduce:
1. Write or paste a Japanese text in a new LibreOffice document.
2. Assuming East Asian Language support is enabled, set the text to vertical
going from right to left through Page -> Format -> Text direction.
3. Under Page -> Paragraph -> Asian Typography (again requires East Asian
Language Support), check "Allow hanging punctuation"
(If no punctuation is hanging, fiddle with the margins so that at least one
period, comma, etc is hanging)
4. Export document to PDF

Expected behavior:
PDF is a faithful reproduction of the ODF file.

Actual behavior:
Hanging punctuation is cut off from the document.

Note:
This behavior may be because hanging punctuation in a vertical document has
about as much as a full-width space between it and the character it precedes as
opposed to how it is when the text is horizontal. 
ex: 
Horizontal:
けさ早く、
Vertical (note there is no actual space character in the ODF file):
け
さ
早
く

、

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170418/0c12660a/attachment-0001.html>


More information about the Libreoffice-bugs mailing list