https://bugs.documentfoundation.org/show_bug.cgi?id=150285
Khaled Hosny <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Khaled Hosny <[email protected]> --- (In reply to Hossein from comment #0) > With LibreOffice 5.3, the text layout engine was changed to use HarfBuzz for > laying out text on all platforms. See tdf#89870 and LibreOffice 5.3 release > notes: > https://wiki.documentfoundation.org/ReleaseNotes/5.3#Text_Layout > > After this change, new problem appeared in text rendering for RTL/CTL > languages, and many of them are revealed when setting the RTL paragraphs as > justified. HarfBuzz takes a lot of blame in LibreOffice. The actual problem was that on Windows and macOS, LibreOffice was basically offloading the text layout to system libraries that essentially did everything. On Linux, on the other hand, it had basically a homegrown, very simple, text layout engine with ICU as its lowest text shaping component. It was buggy, it was slow, and the ICU part LibreOffice was using eventually got deprecated and removed from ICU. The first HarfBuzz integration on Linux replaced the ICU part with HarfBuzz. HarfBuzz is rock solid and industry standard, but it is a very low level component and LibreOffice is doing a lot of work on top it, and that code was used on the most neglected platform in OpenOffice.org days, so it was buggy. The 5.3 change generalized the Linux layout engine and used it for all platforms (because it is the only cross-platform one of the 3). This made prominent a lot of bugs that have long existed but was overlooked because they existed only on Linux when using one of the so-called complex scripts (and of course introduced new ones due to the complexity of the code base and my limited understanding of it). Now everyone is suffering equally and there is some poetic justice in this :) For example, text layout for so-called complex scripts has always been unbearably slow, but it became only a pressing matter when everyone suffered the same. -- You are receiving this mail because: You are the assignee for the bug.
