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

--- Comment #5 from Tor Lillqvist <t...@iki.fi> ---
Latest findings: The problem is caused by the (implicit, not tested by
assertions) assumptions made in MultiSalLayout::GetTextBreak() not holding. The
code seems to assume that the character widths calculated for the level 0 and
the fallback levels don't overlap: that the level 0 char width is zero where a
fallback level has a non-zero char width, and vice versa. But this is not the
case for Windows, at least not any more now when using UniscribeLayout and not
SimpleWinLayout.

To be precise, the nWidth calculation in MultiSalLayout::GetTextBreak()
accumulates way too fast, as characters have a width in both the level 0 and
the fallback levels arrays, and thus the line is broken at around half of the
width it actually could have.

So now need to figure out why that is happening, and what the correct fix would
be.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to