[Libreoffice-bugs] [Bug 118221] Calc fails to render (default setting) kerning=off for cells with no character formatting (leads to bad type face and bad digit alignment) [Comment 23]

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jul 1 11:46:29 UTC 2018


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

--- Comment #45 from Khaled Hosny <khaledhosny at eglug.org> ---
(In reply to OfficeUser from comment #44)
> I have to revoke my words regarding "cell-formatting" in Comment 36. I think
> this was nonsense.
> Correct is that applying any simple formatting (for example bold) to a
> single character helps to render kerning=off correctly. This behavior is in
> accordance with Eike's Comment 23 because any character formatting forces
> the EditEngine to be used instead of the OutputDevice.
> 
> 
> Aron Budea: If the most left screenshot is from 5.2.0.4 I cannot reproduce
> it. In 5.2.0.4 kerning is ALWAYS on and even cannot be turned off by
> applying any character formatting. So the digits are always bad aligned. It
> looks like Khaled's patch has improved the situation for newer builds so
> that kerning=off works at least for EditEngine.
> 
> But we need an additional patch to handle kerning=off also vie OutputDevice.
> 
> (@Aron: Try to apply bold to any character, and you have good digit
> alignment in recent builds.)

Not that EditEngine will eventually call OutputDevice, so the problem is not in
oOutputDevice itself but in the Calc code that calls it directly. Namely it
should set the kerning off on the font being used, per the settings, before
processing the text with OutputDevice.

-- 
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/20180701/036060a3/attachment.html>


More information about the Libreoffice-bugs mailing list