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

--- Comment #8 from Khaled Hosny <[email protected]> ---
(In reply to Miklos Vajna from comment #7)
> Just selecting the text in the table and changing the font name to
> "Calibri:-kern" does not fix the problem here, the text is still 1 line.
> 
> > but this would have shown up even pre-CSL as we had kerning on by default 
> > since 4.1 on Linux IIRC
> 
> As I mentioned above, this bug doesn't seem to be introduced by
> CommonSalLayout, it actually started when the ICU -> HarfBuzz layout change
> happened between LO 4.0 and 4.1.

Oh, I missed that part. Now I think ligatures play a rule as well, Callibri has
a “tt” ligature that would be active for the first word, but disabling
ligatures does not give two lines. However, if I disable both kerning and
ligatures (which would roughly match MSO and pre-HarfBuzz LO), I get the old
line break:

Calibri:-liga&-kern

So I think the way forward is to make the kerning and ligature settings that we
already have actually work, default to them on for new documents and turn them
off for Western (and may be CJK) fonts in old/MSO documents. But this needs
someone who knows the code outside VCL (i.e. not me ☺).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to