[Libreoffice-bugs] [Bug 127207] Dashes, dots and spaces are too large in Writer
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Aug 14 12:03:43 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=127207
--- Comment #3 from Regina Henschel <rb.henschel at t-online.de> ---
Dashing styles are in sub-document styles.xml.
Unpack document.
Open file styles.xml
Find element <office:styles>
Therein find element <draw:stroke-dash>. It should be before the
<style:default-style> sub-elements.
Using the attached document, you will find the attributes
draw:name="Line_20_with_20_Fine_20_Dots" and draw:dots1="1" and
draw:dots2="10". That's OK. But draw:dots1-length="20.07mm" and
draw:distance="1.52mm". That is wrong. Open the document in Writer and see,
that the measured length of the dash is 35.42mm.
Open the document and select the line.
Go to Format > Text Box and Shape > Line...
Go to tab "Line Styles" in that dialog.
The line style "Line with Fine Dots" should be selected.
Notice, that the Dash length is shown in the dialog as 35.40mm and the spacing
(=distance) is 2.68mm.
The problem is, that Writer converts 35.40mm to Twips.
With 1 Twip = 127/72 mm, Writer gets 20.07 Twip.
The error is, that LO writes the value 20.07 with unit "mm" to file.
Same error is when opening a document.
--
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/20210814/93cb92ee/attachment.htm>
More information about the Libreoffice-bugs
mailing list