[Libreoffice-bugs] [Bug 132447] Words break according to <span> elements in exported PDF

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Aug 29 11:00:39 UTC 2020


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

Buovjaga <ilmari.lauhakangas at libreoffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
          Component|LibreOffice                 |Printing and PDF export
            Version|6.3.5.2 release             |Inherited From OOo
            Summary|abnormal words breaking &   |Words break according to
                   |paragraph format cannot be  |<span> elements in exported
                   |saved                       |PDF
                 CC|                            |ilmari.lauhakangas at libreoff
                   |                            |ice.org
             Status|UNCONFIRMED                 |NEW
           Severity|normal                      |minor
         Whiteboard| QA:needsComment            |

--- Comment #2 from Buovjaga <ilmari.lauhakangas at libreoffice.org> ---
I reproduce the weird word breaking already in version 3.3.0.

If you unzip the file and look at the content.xml (it helps to use
http://xmlbeautifier.com/ for beautifying it), you can see that the
weirdly-breaking "toothed-track" is split into many span elements:

<text:p text:style-name="P30">
    <text:span text:style-name="T1">A toothed-roller array (3F) is that a cage
(3L) restricts and synchronizes many toothed-rollers (3I). A toothed-roller has
1 bearing surface (8A) and many teeth (8B). Or rather, a toothed-roller (3I) is
a roller, but with teeth (8B). While they are working, </text:span>
    <text:span text:style-name="T6">the synchronized toothed-rollers (3I) roll
between the </text:span>
    <text:span text:style-name="T17">tooth</text:span>
    <text:span text:style-name="T18">ed</text:span>
    <text:span text:style-name="T17">-track</text:span>
    <text:span text:style-name="T6"> of the shell (3R) and the toothed-track of
the piston (3Q), and mesh th</text:span>
    <text:span text:style-name="T1">eir teeth (8B, 3K, 3N)</text:span>
    <text:span text:style-name="T6">.</text:span>
</text:p>

I'm not sure, if this is normal or incorrect behaviour. Span elements are
inline, so it seems strange that they would affect word breaking.

One issue per report, so your "third bug" should be reported separately.

-- 
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/20200829/6c5bd2d5/attachment.htm>


More information about the Libreoffice-bugs mailing list