Bug 285992 - Text is displaying out of autoshapes in the attached pptx file
Summary: Text is displaying out of autoshapes in the attached pptx file
Status: VERIFIED FIXED
Alias: None
Product: calligracommon
Classification: Applications
Component: text-layout (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: LukasT
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-07 12:40 UTC by swathi
Modified: 2011-12-21 10:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot in MS Office (332.28 KB, image/png)
2011-11-07 12:40 UTC, swathi
Details
Screenshot in Calligra Stage (118.32 KB, image/png)
2011-11-07 13:03 UTC, swathi
Details
Stage, rev. f9454bc951fa9ebde8d6f72ae7d55adfd680754b (148.92 KB, image/png)
2011-12-14 15:52 UTC, LukasT
Details
Stage with fonts Corbel, Consolas [correct] (136.13 KB, image/png)
2011-12-14 17:15 UTC, LukasT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description swathi 2011-11-07 12:40:01 UTC
Created attachment 65339 [details]
Screenshot in MS Office

Version: git checkout aac9b32c182585abca4455b7c67016d61340a555
      (Using KDE 4.6.3)                
     OS: Kubuntu 11.04
Test data is in Powerpoint 2007 format.
Open the same document in Calligra Stage and go to 9th slide.
Check the display of text inside the auto shapes.
Link to Test data: 
http://www.telerik.com/documents/telerik-academy/csharp-fundamentals/%301.%20introduction-to-programming.pptx

Expected outcome:
Text in the autoshapes should be displayed properly.
Actual outcome:
Text is displaying out of auto shapes.

Frequency:
Always
Comment 1 swathi 2011-11-07 13:03:48 UTC
Created attachment 65341 [details]
Screenshot in  Calligra Stage
Comment 2 LukasT 2011-12-14 15:42:58 UTC
Git commit f9454bc951fa9ebde8d6f72ae7d55adfd680754b by Lukáš Tvrdý.
Committed on 14/12/2011 at 16:36.
Pushed by lukast into branch 'master'.

Add support for draw:text-areas in msooxml autoshapes

Tested with cstester. No regression found, only positive changes.

CCBUG:285992

M  +18   -0    filters/libmsooxml/ComplexShapeHandler.cpp
M  +3    -0    filters/libmsooxml/ComplexShapeHandler.h
M  +6    -0    filters/libmsooxml/MsooXmlCommonReaderDrawingMLImpl.h
M  +3    -0    filters/libmsooxml/PredefinedShapeHelper.h
M  +186  -4    filters/libmsooxml/generated/generatedShapes.h
M  +31   -3    filters/libmsooxml/generated/generator.cpp

http://commits.kde.org/calligra/f9454bc951fa9ebde8d6f72ae7d55adfd680754b
Comment 3 LukasT 2011-12-14 15:52:35 UTC
Created attachment 66743 [details]
Stage, rev. f9454bc951fa9ebde8d6f72ae7d55adfd680754b

It's better now, but we are still not there..
Comment 4 LukasT 2011-12-14 17:15:20 UTC
Created attachment 66749 [details]
Stage with fonts Corbel, Consolas [correct]

Hm..if you install Windows fonts Corbel and Consolas, then it looks correct.
Comment 5 LukasT 2011-12-15 08:15:55 UTC
We can't anything else about this, you have to install correct font
You can get them from "Microsoft Office Compatibility Pack"

http://www.microsoft.com/downloads/details.aspx?FamilyId=941B3470-3AE9-4AEE-8F43-C6BB74CD1466&displaylang=en
Comment 6 swathi 2011-12-21 10:44:56 UTC
Verified in b2b29030922345d8e727ed03e80fb77537aece46.