Bug 288341

Summary: What you see is not what you want printed
Product: [Applications] calligrawords Reporter: Adam Pigg <adam>
Component: generalAssignee: Calligra Words Bugs <calligra-words-bugs-null>
Severity: normal CC: david.heijkamp, pascal
Priority: NOR    
Version: 2.4-snapshots   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Example of exported PDF document

Description Adam Pigg 2011-12-06 15:37:49 UTC
Version:           2.4-snapshots (using KDE 4.7.3) 
OS:                Linux

When printing a document in words, if text is selected, it prints inverted.

Reproducible: Didn't try

Steps to Reproduce:
Create simple document
select text

Actual Results:  
text print inverted

Expected Results:  
text print normally
Comment 1 David Heijkamp 2012-01-16 21:36:51 UTC
Calligra version: 2.4 Beta6
KDE version: 4.7.97 (4.8 RC2)
Distro version: Fedora 16

I can confirm this behavior. If you select text or if you have enabled 'Show Formatting Characters' these are printed, albeit in a messed up way. The same is the case when you export the document to PDF.

Also, normal characters are slightly stretched when printed directly from Words. When first exporting to PDF and then printing this document from Okular the text is printer in a normal, sharp manner.
Comment 2 David Heijkamp 2012-01-16 21:40:27 UTC
Created attachment 67909 [details]
Example of exported PDF document
Comment 3 Camilla Boemann 2012-01-18 21:41:12 UTC
Git commit 5662eec837576889b0955b69ca2b391936362686 by C. Boemann.
Committed on 18/01/2012 at 17:13.
Pushed by boemann into branch 'master'.

Make printing not show textselections or formatting characters

M  +3    -0    libs/flake/KoShapePaintingContext.cpp
M  +1    -0    libs/flake/KoShapePaintingContext.h
M  +2    -0    libs/textlayout/KoTextDocumentLayout.h
M  +25   -24   libs/textlayout/KoTextLayoutArea_paint.cpp
M  +1    -0    plugins/textshape/TextShape.cpp

Comment 4 Camilla Boemann 2012-01-19 13:56:37 UTC
*** Bug 291955 has been marked as a duplicate of this bug. ***