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

            Bug ID: 172679
           Summary: pptx(wasm): text autoscale bug
           Product: LibreOffice
           Version: 25.2.5.2 release
          Hardware: All
                OS: macOS (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: [email protected]
          Reporter: [email protected]

Description:
oox imports fontScale="70000" into TextFitToSizeFontScale as 0.7, but the
property expects percent (70.0); the batched TextFitToSize item in
SvxShape::setPropertyValueImpl then overwrites the scale item anyway.

Desktop hides this: layout re-runs autofit and the recomputed scale is stashed,
so rendering and the UNO getter look correct. With no healing re-layout
(LibreOfficeKit tile rendering, unit-test level) the text renders full-size and
overflows — screenshot from a LOK-based WASM build attached, sample pptx
attached.

Steps to Reproduce:
1. Run testOOXMLAutofitScale from the linked fix (sd/qa/unit/import-tests4.cxx)
without the code change — TextFitToSizeFontScale returns wrong value instead of
stored 85
2. Or render the attached pptx in a LOK-based client. I did in WASM.


Actual Results:
will be attached.

Expected Results:
smashed text rendering


Reproducible: Always


User Profile Reset: No

Additional Info:
This's from LOK based WASM build.

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

Reply via email to