6.0.0-beta1
7/26/25

[#1318] Printing flowed text wraps incorrectly
Summary Printing flowed text wraps incorrectly
Queue IMP
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester horde (at) eltofts (dot) homelinux (dot) com
Created 02/07/2005 (7474 days ago)
Due
Updated 02/08/2005 (7473 days ago)
Assigned 02/08/2005 (7473 days ago)
Resolved 02/08/2005 (7473 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/08/2005 01:44:15 PM horde (at) eltofts (dot) homelinux (dot) com Comment #6 Reply to this comment
Works nicely. Thanks guys :)
02/08/2005 08:22:28 AM Michael Slusarz Comment #5
State ⇒ Resolved
Reply to this comment
OK - I see the issue now.  The workaround - just turn off line 
wrapping completely for flowed text in the print screen.  Fixed in 
HEAD and 4.0.2.
02/08/2005 08:18:18 AM Michael Slusarz Assigned to Michael Slusarz
State ⇒ Assigned
 
02/08/2005 02:33:10 AM horde (at) eltofts (dot) homelinux (dot) com Comment #4 Reply to this comment
Probably my description was bad :)



It's not that I'm expecting the printed output to look exactly as what 
appears on screen - obviously this does depend on the width of the 
display window, it's just that extra line breaks seem to be inserted 
in the printed output. Imagine if I print the text I've typed here - 
it was typed without any line breaks, I've just allowed it to flow. 
Now, if I were to print this from IMP, line breaks would be inserted 
and break up the flowed text, giving something like;



It's not that I'm expecting the printed output to look exactly as what 
appears on screen - obviously

this does depend on the width of the display window, it's just that 
extra line breaks seem to

be inserted

in the printed output. Imagine if I print the text I've typed here - 
it was typed without any line

breaks, I've

just allowed it to flow. Now, if I were to print this from IMP, line 
breaks would be inserted

and break up the flowed text, giving something like;



This has led a client to believe their emails are being sent looking 
like this. Obviously they aren't, but has dented their confidence a bit.



If this isn't something that's easily 'fixable', can you tell me where 
the arbitary width of 90 is set so I can fiddle?



Cheers :)
02/08/2005 02:04:41 AM Michael Slusarz Comment #3
State ⇒ Feedback
Priority ⇒ 1. Low
Reply to this comment
I would vote for this as bogus.  It sounds like you are expecting that 
what you see on the message view screen should be the way it prints 
out.  For flowed text, this could not be farther from the truth.  In 
fact, we just pick an arbitrary number (90 characters, to be exact) 
where we wrap flowed text.  It sounds like the print window may not be 
sized properly to ever display 90 characters exactly (in fact, this 
would be a pain to do cross platform/browser).
02/07/2005 06:28:50 PM horde (at) eltofts (dot) homelinux (dot) com Comment #2 Reply to this comment
Using Page Setup within the browser to set the page margins to zero 
fixes this problem so it seems the page is being rendered too wide for 
the default printer settings. Is there a setting anywhere to set the 
rendered page width?
02/07/2005 04:27:23 PM horde (at) eltofts (dot) homelinux (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Printing flowed text wraps incorrectly
Queue ⇒ IMP
Reply to this comment
When printing, either a received email or one saved as draft, lines 
are wrapping incorrectly on the printed output.



For example;

1234567890 1234567890 1234567890 1234567890 1234567890 Hello



Will print as;

1234567890 1234567890 1234567890 1234567890 1234567890

1234567890

Hello



(I've shortened the single line above to fit it to this box, but you 
get the idea..)



The print preview window also shows this incorrect layout. Widening it 
prior to printing corrects the view on the screen but the printer 
still prints the incorrect layout. Switching to Landscape cures the 
problem. The paper size is A4 but Letter size also gives the same 
problem.

Saved Queries