Bug 284260

Summary: Some text formatting is ignored for text-on-shape
Product: [Applications] calligracommon Reporter: Inge Wallin <inge>
Component: flakeAssignee: Calligra Bugs <calligra-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.4-snapshots   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: The presentation template for the LibreOffice conference

Description Inge Wallin 2011-10-17 11:58:03 UTC
Created attachment 64634 [details]
The presentation template for the LibreOffice conference

Version:           2.4-snapshots
OS:                Linux

When there is text associated with a shape, and there is character or text properties set in the style stack, it seems that these properties are not taken into account properly.

I found this when I tried out the presentation template to the LibreOffice conference (attached). Check out slide 3. The following errors occur:
 - In the left rectangles, the text should be white
 - In the right square, the text should be aligned top/left and use another font.


Reproducible: Always

Steps to Reproduce:
Load the file and check slide 3.

Actual Results:  
As above

Expected Results:  
Show the text according to the formatting in the file.
Comment 1 Gopalakrishna Bhat 2012-05-06 16:28:03 UTC
Git commit 26092c58f9e3d7180048286af9c6186b2e1fdbae by Gopalakrishna Bhat A.
Committed on 06/05/2012 at 18:20.
Pushed by gopalakrishnabhat into branch 'master'.

We used to ignore the vertical and horizontal alignment for ToS. This patch fixes that issue.
Related: bug 288047
REVIEW: 104813

M  +2    -2    libs/flake/KoPathShape.cpp
M  +79   -0    libs/flake/KoTosContainer.cpp
M  +6    -0    libs/flake/KoTosContainer.h
M  +1    -0    libs/flake/KoTosContainer_p.h
M  +2    -2    plugins/pictureshape/PictureShape.cpp

http://commits.kde.org/calligra/26092c58f9e3d7180048286af9c6186b2e1fdbae