Summary: | FILEOPEN PPTX: Text layout in text boxes is different in Impress than in PP (PPT is almost fine) | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | kan <shariqkeen> |
Component: | Impress | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aron.budea, kelemeng, libreoffice, quikee, rb.henschel, stephane.guillou, xiscofauli |
Priority: | medium | Keywords: | filter:pptx |
Version: | Inherited From OOo | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=160609 | ||
Whiteboard: | target:24.8.0 | ||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 139900 | ||
Attachments: |
pptx
comparison gif PDF exported in PowerPoint PDF exported in LO 7.1.0.3 (w Calibri) PPT saved in PP AnotherTest-Bad Render in LibreOffice |
Description
kan
2020-08-28 14:55:25 UTC
Created attachment 164813 [details]
comparison gif
Created attachment 169719 [details]
PDF exported in PowerPoint
This isn't a matter of substituting font, even on the same system with the same fonts the text layout in text boxes is different.
Created attachment 169720 [details]
PDF exported in LO 7.1.0.3 (w Calibri)
Created attachment 169721 [details]
PPT saved in PP
What's interesting is that the PPT of the same presentation is shown almost perfectly identical, except the title on slide 3 (and a small issue on slide 5).
Created attachment 176538 [details]
AnotherTest-Bad Render in LibreOffice
Tested and confirmed in LibreOffice 7.2.2 vs MSOffice 2019 too, with the creator example, and with other example, attached, created with MSOffice 2016/2019 and opened later in LibreOffice 7.2.2 It's a problem when has to be alligned with images or icons too A new major release of LibreOffice is available since this bug was reported. Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version. Still not the same in: Version: 7.4.0.0.beta1+ / LibreOffice Community Build ID: 6ab56a4fc946f6294513f23a3ea47aa0aa154b7d CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: hu-HU (hu_HU.UTF-8); UI: en-US Calc: threaded Text on the first slide overlaps the image at the bottom. The text is too high because the line spacing is wrong. The pptx-file has multiple 0.8 (in the UI of PP), but in LO it is "single". It should be "proportional 80%". It is the 'lnSpcReduction' attribute of <a:normAutofit> element in <a:bodyPr> element. In this case lnSpcReduction="20000". The implementation is missing. https://opengrok.libreoffice.org/xref/core/oox/inc/drawingml/textbodyproperties.hxx?r=e2169886 The 'TextBodyProperties' struct has no member for it. https://opengrok.libreoffice.org/xref/core/oox/source/drawingml/textbodypropertiescontext.cxx?r=0feeb94f#169 The case 'A_TOKEN( normAutofit ) does not evaluate the attribute. Based on the obvious overlap issue in the first slide, resolved in: Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: d4f6534e8870e8f271984c37ce54a6878f372ae1 CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: CL threaded Fixed by: commit f61ea135430d7b4a1fac7de1e57a1314fbb1b49e author Tomaž Vajngerl Thu Mar 28 12:30:34 2024 +0900 committer Tomaž Vajngerl Wed Apr 03 04:06:50 2024 +0200 editeng: use text scaling that better mimics MSO text scaling Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165441 (build [52abeff6d5836b29dbefe69f284bbd89f6672ae2] in linux-64-24.8 repo) Thanks Quikee! |