Created attachment 129091 [details] sample Steps: 1. Open attached document Observed behaviour: Text 'Price Quote' is shifted to the right Expected behaviour: It should be in the center of the square
The text is shifted for me on Linux, even with 5.2. I guess this is just expected behaviour from having a new layout engine that applies OpenType features and such. (Alighting things with spaces is always fragile and bad idea in general.)
Created attachment 129101 [details] Comparison LibreOffice 5.2.2 and master
(In reply to Xisco Faulí from comment #2) > Created attachment 129101 [details] > Comparison LibreOffice 5.2.2 and master It looks like the top one here even on master. What platform you are testing on?
Saving the document from Word 2013 to .ODT, this is just a badly formatted diagram--nothing to do with HarfBuzz layout. "Price Quote" has 3 tabs and 8 spaces preceding it, while "Item" has 2 tabs and 6 spaces preceding it. Meaning _any_ hiccup affecting tab stops on filter import and formatting is toast. When I open in on Windows 8.1 Pro 64-bit en-US with Version: 5.4.0.0.alpha0+ Build ID: 142618ecae472e535c582c0fb357d2a9a76655f1 CPU Threads: 8; OS Version: Windows 6.29; UI Render: GL; TinderBox: Win-x86@42, Branch:master, Time: 2016-11-28_00:46:57 Locale: en-US (en_US); Calc: CL I see the same layout as on your 5.2.2 clip. While if I open with Version: 5.2.3.3 (x64) Build ID: d54a8868f08a7b39642414cf2c8ef2f228f780cf CPU Threads: 8; OS Version: Windows 6.29; UI Render: GL; Locale: en-US (en_US); Calc: group I see them pushed out of the shapes by default tab stops and spaces.