Description: Some bullet point symbols in .PPTX file not shown in LO, while it's ok in Powerpoint Steps to Reproduce: 1. Open the .pptx file 2. 3. Actual Results: See some bullet point symbols are missing Expected Results: The bullet point symbols should be shown Reproducible: Always User Profile Reset: No Additional Info: Version: 6.4.1.2 Build ID: 4d224e95b98b138af42a64d84056446d09082932 CPU threads: 8; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; Locale: zh-HK (zh_Hant.UTF-8); UI-Language: en-US Calc: threaded
Created attachment 158255 [details] The .pptx file that have problem
Created attachment 158256 [details] The .pptx file opened in LO Impress
Created attachment 158257 [details] The .pptx file opened in Powerpoint
Can confirm, also present on Windows Bullet was shown on LO 3.3, so a regression Version: 7.0.0.0.alpha0+ Build ID: 0cb4f304abf6f8dd6b40eb800788d2fe80581813 CPU threads: 4; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; Locale: en-US (en_US.UTF-8); UI-Language: en-US Calc: threaded
This seems to have begun at the below commit. Adding Cc: to Khaled Hosny ; Could you possibly take a look at this one? Thanks b8b0416620feecf3ede3305830a2b145c62a5bf9 is the first bad commit commit b8b0416620feecf3ede3305830a2b145c62a5bf9 Author: Matthew Francis <mjay.francis@gmail.com> Date: Fri Sep 18 11:08:32 2015 +0800 source-hash-bff8fa97e16f0f06fddc5545ea36c8bd2b18a580 commit bff8fa97e16f0f06fddc5545ea36c8bd2b18a580 Author: Khaled Hosny <khaledhosny@eglug.org> AuthorDate: Mon May 6 11:08:29 2013 +0200 Commit: Khaled Hosny <khaledhosny@eglug.org> CommitDate: Mon May 6 17:22:31 2013 +0200 Enable HarfBuzz by default
What HarfBuz has to do with bullets.. This is Microsoft Macintosh PowerPoint PPTX that I cannot open in MSO 2013. Since this is bug about bullets, no need for 7,2 MB file with images.
Created attachment 159268 [details] The .pptx just text PPTX opens in MSO 2016. I add it simplified, just text. This bullet is shown: <a:pPr marL="228600" indent="-228240"> <a:lnSpc> <a:spcPct val="90000"/> </a:lnSpc> <a:spcBef> <a:spcPts val="1001"/> </a:spcBef> <a:buClr> <a:srgbClr val="000000"/> </a:buClr> <a:buFont typeface="Arial"/> <a:buChar char="•"/> </a:pPr> This dash bullet is not: <a:pPr marL="685800" lvl="1" indent="-228240"> <a:lnSpc> <a:spcPct val="90000"/> </a:lnSpc> <a:spcBef> <a:spcPts val="499"/> </a:spcBef> <a:buClr> <a:srgbClr val="000000"/> </a:buClr> <a:buFont typeface="Calibri"/> <a:buChar char=""/> </a:pPr>
Funny, in <a:buChar char=""/> I see dash - as char in Notepad, but it's not copied here. It's Custom bullet in MSO, char code 00AD from Subset: Latin1-Supplement. Dash from Basic latin is 002D.
In <a:buChar char=""/> I see dash - as char in Notepad, but it's not copied here. It's Custom bullet in MSO, char code 00AD from Subset: Latin1-Supplement, Soft Hyphen. Hyphen-minus from Basic Latin is 002D. Looks like author made a mistake which MSO allows but LO not.
Created attachment 179776 [details] Comparison LibreOffice 7.4 master and PP 2016
Still reproducible in Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: 67d8c245daf7c6ee33e908255f2bbd0ea8d08206 CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3 Locale: es-ES (es_ES.UTF-8); UI: en-US Calc: threaded
This is tricky to fix. We generally don’t want U+00A0 to be rendered unless the line was broken at it, but there is no line breaking involved here. We might want to make it visible when used as bullet (possibly under some MS comparability flag), but the decision needs to be taken inside GenericSalLayout::LayoutText(), but there we don’t know where the text came from to make such a decision. May be the import filter should replace soft-hyphen with hyphen-minus, if MS Office always make it visible.