Bug 203235 - no word-wrap with print timetable
Summary: no word-wrap with print timetable
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: printing (show other bugs)
Version: 4.2.4
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-10 00:29 UTC by David A Thompson
Modified: 2013-11-02 10:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.2


Attachments

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