[Libreoffice-bugs] [Bug 118221] Calc fails to render kerning=off (default setting) for single-line cells, only works during cell edit mode [F2] (affects screen, paper and PDF) [Comment 15]

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jun 19 12:11:14 UTC 2018


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

--- Comment #23 from Eike Rathke <erack at redhat.com> ---
(In reply to Heiko Tietze from comment #16)
> Eike, what do you think?
As Khaled already explained correctly in comment 15, the EditEngine is not
always used, only if cell content contains inline formatting, fields,
spell-check errors, line breaks, ..., or text is rotated. For all simple
strings (text, numbers, formula results) the string is fed to OutputDevice for
performance reasons. Using EditEngine unconditionally is not the way to go.

Additionally, kerning attributes are kept only at EditEngine text objects,
there are no cell format kerning attributes. What might be possible is for
non-EditEngine cells tell OutputDevice to force kerning off via
SalLayoutFlags::DisableKerning (I didn't track how exactly we call OutputDevice
draws there). Just a quick idea..

-- 
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/20180619/6909c71e/attachment.html>


More information about the Libreoffice-bugs mailing list