Closed oanalavinia closed 3 years ago
So the workaround will be to add an 'Enter' and the end of the text, which is not seen but will fix the view in XWiki PDF export
Investigation: Starting with #118 elements that contain an Enter are treated separate from the ones that does not contain it, so the problem should be in how the width is calculated in the first case
Steps to reproduce
Expected result In the PDF the text is well positioned compared to the position from the diagram editor
Actual result In the PDF only the text that contains Enter is well positioned (really close to the position from the editor view) and in the other case the text is moved to the left
Editor:![editor](https://user-images.githubusercontent.com/22794181/84912927-9f3de880-b0c2-11ea-9117-931e7b33b2f5.png)
PDF export:![pdf_export](https://user-images.githubusercontent.com/22794181/84912964-ab29aa80-b0c2-11ea-8bfb-0b5c9c928cb1.png)