Bug 83889

Summary: FILEOPEN: PPTX - bullet point is followed by spurious <mailbox> symbol
Product: LibreOffice Reporter: Tobias Burnus <tobias.burnus>
Component: PresentationAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: guilleron29
Version: 4.3.1.2 release   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Test case (test.pptx)
Screenshot: LO4.3.1.2 vs. PowerPoint 2007

Description Tobias Burnus 2014-09-15 13:34:57 UTC
Created attachment 106316 [details]
Test case (test.pptx)

The MS Office 2007/Windows produced file should look like:

B. That’s a test:
* In test 1
* Second line

However, with both LO 4.3.1.2/Windows and 4.0.4.2/CentOS6-x86-64-linux, a spurious mailbox symbol appears instead of a spacing between the bullet point and the item.

I think the test case requires MS Wingdings; the bullet point is probably character 110 and the half-open mailbox is character 46 (ASCII: '$').
Comment 1 Tobias Burnus 2014-09-15 13:39:48 UTC
Created attachment 106317 [details]
Screenshot: LO4.3.1.2 vs. PowerPoint 2007
Comment 2 Jacques Guilleron 2014-09-15 20:04:31 UTC
Hi Tobias,

I confirm this adding with import in LO 4.3.2.1 & Windows 7 Home Premium.
I set status to NEW.

regards,

Jacques
Comment 3 Tobias Burnus 2014-09-29 12:42:36 UTC
From ppt/slides/slide1.xml (excerpt):

<a:p><a:pPr><a:lnSpc><a:spcPct val="150000"/></a:lnSpc>
<a:buFont typeface="Wingdings" pitchFamily="2" charset="2"/><a:buChar char="§"/>
</a:pPr><a:r><a:rPr lang="en-US" dirty="0" smtClean="0"/><a:t>In test


According http://msdn.microsoft.com/en-us/library/documentformat.openxml.drawing.bulletfont%28v=office.14%29.aspx , one has:

pitchFamily "0x02 VARIABLE PITCH + UNKNOWN FONT FAMILY"

charset "0x02 Specifies the Symbol character set. This value specifies that the characters in the Unicode private use area (U+FF00 to U+FFFF) of the font should be used to display characters in the range U+0000 to U+00FF."


- The character "§" is Latin1's 0247, 167, A7 - which matches the small bullet point.
- Additionally shown is ASCII's "." (056, 46, 2E), which is the open-mailbox symbol.


As far as I know, Wingdings is an old-style TTF font with 256 characters and not an Unicode font. I wonder whether the charset="2" causes the trouble by trying to access 0x00A7 + 0xFF00 -> 0xFFA7 in a font which only has FF characters?

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.