Bug 284260 - Some text formatting is ignored for text-on-shape
Summary: Some text formatting is ignored for text-on-shape
Status: RESOLVED FIXED
Alias: None
Product: calligracommon
Classification: Applications
Component: flake (show other bugs)
Version: 2.4-snapshots
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Calligra Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-17 11:58 UTC by Inge Wallin
Modified: 2012-05-06 16:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
The presentation template for the LibreOffice conference (643.57 KB, application/vnd.oasis.opendocument.presentation)
2011-10-17 11:58 UTC, Inge Wallin
Details

Note You need to log in before you can comment on or make changes to this bug.
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