[Libreoffice-bugs] [Bug 127616] FILEOPEN DOCX Style properties applied instead of direct formatting
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Sep 23 15:00:38 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=127616
Justin L <jluth at mail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|6.4.0.0.alpha0+ Master |4.2.0.4 release
See Also| |https://bugs.documentfounda
| |tion.org/show_bug.cgi?id=44
| |736
Summary|FILEOPEN DOCX Character |FILEOPEN DOCX Style
|style is applied instead of |properties applied instead
|paragraph style |of direct formatting
CC| |matus at libreoffice.org
--- Comment #6 from Justin L <jluth at mail.com> ---
The bibisect seems to only be applied to this part of the report:
(In reply to NISZ LibreOffice Team from comment #0)
> Also they have slightly larger height in 6.2 compared to 6.1
My guess is that before it was ignoring the Segoe UI size 11 (since
IgnoreTabsAndBlanksForLineCalculation was true) and instead used the default
style of Arial size 10 - thus being slightly smaller.
I suspect that the real problem here is that although the Arial 10 font is
directly applied to the paragraph, for some reason (see bisect below) that
direct formatting has been lost.
The first paragraph is defined like this (simplified):
<w:p>
<w:pPr>
<w:pStyle w:val="Style1"/>
<w:rPr>
<w:rStyle w:val="FontStyle11"/>
<w:rFonts w:ascii="Arial" w:hAnsi="Arial" w:cs="Arial"/>
<w:b/>
<w:sz w:val="20"/>
</w:rPr>
</w:pPr>
</w:p>
So direct character formatting says it should be Arial/bold/10pt, making both
FontStyle11 and Style1 irrelevant for font/size attributes.
P.S. Contrary to OPs report, both FontStyle11 and Style1 define Segoe UI as the
font. The difference is pt11 for FontStyle11, and pt12 for Style1.
Prior to LO 4.2, these empty paragraphs were Arial 10, not Segoe UI 11. This
changed with commit 986fa38eb23a397546061c3ce0df9077ba334a07
Author: Matús Kukan
CommitDate: Fri Oct 25 17:14:30 2013 +0200
fdo#44736 - set and fetch multiple properties concurrently 2
This fixes commit ee0bf5d58bc59052923c4ced928a989956e71456
--
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/20190923/6c09a8a8/attachment.html>
More information about the Libreoffice-bugs
mailing list