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

            Bug ID: 156681
           Summary: The underline line in Writer doesn't match the length
                    of the sentence, even in simple cases.
           Product: LibreOffice
           Version: 7.5.5.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: vicgr...@gmail.com

Description:
Many underlining bugs have been reported, I've read them but I don't know
exactly if my bug is new or known.
I use both Windows 10 and 11, LibreOffice Writer, english language, font Times
New Roman 12 (but it happens with other fonts), character spacing 0.0 pt (the
default), line spacing 1 (the default), and I always save the documents as
docx.
I open Writer (font Times New Roman 12), I press the underline button "U" and I
write a long sentence, e.g:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
which of course appears underlined, but in this case the line is two characters
longer than the text.
Depending on the font and what I write, the line is longer or shorter than the
text. Occasionally it has the same length.
But if I save the document as .docx and I open it with Word, the underline
lines always look perfect.
I would like to attach a picture of the screen, I don't know if it's possible.

Steps to Reproduce:
1. I use both Windows 10 and 11, LibreOffice Writer, english language, font
Times New Roman 12 (but it happens with other fonts), character spacing 0.0 pt
(the default), line spacing 1 (the default), and I always save the documents as
docx.
2. I open Writer (font Times New Roman 12)
3. I press the underline button "U" and I write a long sentence, e.g:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
which of course appears underlined, but in this case the line is two characters
longer than the text.

Actual Results:
The underline line is two characters longer than the text.

Expected Results:
The underline line should match the length of the text.


Reproducible: Always


User Profile Reset: No

Additional Info:
It happens with other fonts and sentences that I write, but then the line can
be longer, shorter, or occasionally the same length.

Version:          7.5.5.2 (X86_64) / LibreOffice Community
Build:            ca8fe7424262805f223b9a233...
Environment:      CPU threats: 4; OS: Windows 10.0 Build 19044
User Interface:   UI render: Skia/Raster; VCL: win
Locale:           en-GB (en_GB); UI: en-US
Misc:             Calc threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to