https://bugs.freedesktop.org/show_bug.cgi?id=88214
Bug ID: 88214
Summary: FILEOPEN / RTF : Ending a line with the \line command
causes the next line to always start with
LibreOffice's Default Font
Product: LibreOffice
Version: 4.2.8.2 rc
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Created attachment 111980
--> https://bugs.freedesktop.org/attachment.cgi?id=111980&action=edit
Minimalistic repro .rtf file.
Problem description:
[I am not 100% sure if this behavior is to be expected or not]
A default font has been set in the .rtf using the \deff0 command and by setting
up a font table using \fonttbl. When ending a line with the \par command, the
next line starts (as expected) with the default font as defined by \deff0 and
\fonttbl. When ending a line with the \line command however, the next line
starts with LibreOffice's Default Font (Western) as defined under
Tool > Options > LibreOffice Writer > Basic Fonts (Western) > Default
The line's text (if there is any) itself however is correctly set to use the
.rtf default font. This can cause issues with empty lines whose height is then
solely defined by LibreOffice's Default Font's height.
Steps to reproduce:
Load the attached .rtf file.
Current behavior:
Different fonts are set depending on the command used for ending a line.
Expected behavior:
The default font as defined by the .rtf itself should be used everywhere.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs