Bug 203235

Summary: no word-wrap with print timetable
Product: [Applications] korganizer Reporter: David A Thompson <thompson>
Component: printingAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: smartins, winter
Priority: NOR    
Version: 4.2.4   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In: 4.11.2

Description David A Thompson 2009-08-10 00:29:54 UTC
Version:            (using KDE 4.2.4)
OS:                Linux
Installed from:    Debian testing/unstable Packages

One way to observe the problem:

- select the print dialog
- select the "print week" print style
- select the "timetable" print layout
- print to a pdf

The problem:

When generating the printed 'timetable' layout, no sort of word-wrap or hyphenation algorithm seems to be employed when populating the 'cells' corresponding to events. The text below is the representation of three events as the text is layed out in the pdf. For example, in the first cell, "General" is broken into "G" and, on the next line "eneral"... Yuck...

If a hyphenation algorithm isn't employed, a lazy "don't break words when it's easy not to" algorithm certainly would make things more readable and less aesthetically unpleasant...

08:00-08:45 G   08:00-08:45 G   08:00-08:45 G
eneral Biology: eneral Biology: eneral Biology:
Cells & Physiol Cells & Physiol Cells & Physiol
ogy, AIH 114    ogy, AIH 114    ogy, AIH 114
Comment 1 Sergio Martins 2013-09-24 21:11:20 UTC
Forgot to add BUG to the commit.

commit 00a614fe7aa27ce2a3e4ba2e3da4766356a77b4a
Author: Damian Hofmann <picobyte@gmx.com>
Date:   Tue Sep 24 23:07:49 2013 +0100

    Wrap words properly when printing a calendar in KOrganizer.
    
    REVIEW: 112920
    CCMAIL: picobyte@gmx.com