xwikisas / application-diagram

Create various types of diagrams using draw.io
GNU Lesser General Public License v2.1
0 stars 8 forks source link

Text position changes on Firefox when pdfImageExportZoom=5 #133

Open ane-gabriela opened 4 years ago

ane-gabriela commented 4 years ago

Steps to reproduce:

  1. Create a diagram with different shapes that contain text
  2. Edit in in Object mode
  3. Change "exportUsingSVG" to No and "pdfImageExportZoom"=4
  4. Save & View
  5. Edit the Diagram
  6. Make a change
  7. Save & View
  8. Click on More Actions > Export > Export as PDF
  9. Deselect all options
  10. Click on the Export button
  11. Observe the positioning of the text Zoom 4 xwiki_Diagram_New+Diagram_WebHome.pdf
  12. Edit the page again in Object mode
  13. Change "pdfImageExportZoom"=5
  14. Repeat steps 4-10 from above
  15. Observe the positioning of the text Zoom 5 xwiki_Diagram_New+Diagram_WebHome(1).pdf

Expected results: The PDF is exported with a larger zoom.

Actual results: The text in the shapes is changing position. In zoom 5 the text is re-positioned a bit lower.

Environment: Windows 10, XWiki 11.10.4 with MySQL 5.7, Firefox 75

Note: On Chrome 81 the text remains on the same position