Description: The attached PPTX has two text shapes. The text in both lines should render the same. The second shape has cap="small" set. In Impress 24.2 the word order in the second line is flipped and the font size is smaller. Steps to Reproduce: 1. Import the attached PPTX to Impress. 2. Compare the first and second text shapes. Actual Results: The word order in the second line is flipped and the font size is smaller. Expected Results: Both text shapes should render the same. Small caps should make no difference in Hebrew text. Reproducible: Always User Profile Reset: Yes Additional Info: Works in 7.4.7.2 but not in 24.2.0.3. This bug might be related to small caps support in 24.2: https://bugs.documentfoundation.org/show_bug.cgi?id=98367
Created attachment 193356 [details] pptx showing the issue in the second line of text
Created attachment 193357 [details] pdf exported from PowerPoint showing the expected result
Thanks for the report. Reproduced in: Version: 24.2.2.1 (X86_64) / LibreOffice Community Build ID: bf759d854b5ab45b6ef0bfd22e51c6dc4fb8b882 CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded Not reproduced in: Version: 7.6.5.2 (X86_64) / LibreOffice Community Build ID: 38d5f62f85355c192ef5f1dd47c5c0c0c6d6598b CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded (In reply to Pablo from comment #0) > This bug might be related to small caps support in 24.2: > https://bugs.documentfoundation.org/show_bug.cgi?id=98367 Indeed, this started with the following commit (build [ce47fbc78876e5e6a7fef90346aa6415da1a1851] in linux-64-24.2 repo): commit ffaed5cae29d6bb14faf870cb935ccd3c35d4a3c author Caolán McNamara Fri Aug 18 17:29:24 2023 +0100 committer Caolán McNamara Tue Aug 22 15:29:03 2023 +0200 tdf#98367 implement rendering of draw/impress small capitals arising out of Þe old tdf#91932 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155846 Caolán, can you please have a look?
The preview is correct, but the final rendering not, so presumably goes wrong on generating the final portions
ah, right, no point figuring out the right ordering of portions, we simply shouldn't do anything at all here: https://gerrit.libreoffice.org/c/core/+/168733
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/5ad110499343d2ec0469e605168c1c1cd129d0e7 Resolves: tdf#160401/#i78474# small caps do not exist in CTL fonts It will be available in 25.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
backport to 28.8 and 24.02 in gerrit
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-24-8": https://git.libreoffice.org/core/commit/881da7fd2624514f8edc05832915ace52bce0a5d Resolves: tdf#160401/#i78474# small caps do not exist in CTL fonts It will be available in 24.8.0.0.beta2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Thanks, Caolan :-)
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-24-2": https://git.libreoffice.org/core/commit/44529bbd1cad7840c17c53452d73f7f7fbe048c0 Resolves: tdf#160401/#i78474# small caps do not exist in CTL fonts It will be available in 24.2.5. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/96f22f5e5302e030fcbc939ef94b7c1fd2748df2 tdf#160401: vcl_pdfexport: Add unittest It will be available in 25.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.