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

            Bug ID: 164439
           Summary: Calc export selection to JPG fails when modifying
                    resolution
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Description:
With File/Export/tick the selection mark you can export the selection to JPG or
PNG. The dialog allows to change the width/height of the JPG/PNG generated. If
one cell content is a string with partly modified font or style (e.g. Bold) the
text in the exported JPG is misaligned.

see
https://ask.libreoffice.org/t/libreoffice-calc-jpeg-export-text-is-misaligned/115285/9
tested on 24.2.5.2 Windows 10

Steps to Reproduce:
1.Select cells A1:C2 in the attached calc
2.Export / tick selection, select .jpg / do not modify dimensions
3.Export / tick selection, select .jpg / modify dimensions, e.g. by multiplying
with 10


Actual Results:
Both generated jpgs differ. In the 10x jpg a text is misaligned

Expected Results:
Both jpgs should be identical, just have different dimensions


Reproducible: Always


User Profile Reset: No

Additional Info:
the attached calc contains Basic code to simplify testing. The problem occurs
both when exporting through the UI and through Basic, however

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to