Bug 217225

Summary: monthly printout fontsize too big
Product: [Applications] korganizer Reporter: pv
Component: printingAssignee: kdepim bugs <kdepim-bugs>
Status: CONFIRMED ---    
Severity: normal CC: finex, gjditchfield, mail2hihu, maksvlad, public, pv, yadtxizh
Priority: NOR    
Version: 4.11.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.5
Sentry Crash Report:
Attachments: proposed patch to fix clipping in monthly printout
attachment-5545-0.html
sample_month_how_it_should_be.jpg
sample_month_how_it_prints.pdf

Description pv 2009-12-03 16:52:15 UTC
Version:           4.3.2 (using 4.3.1 (KDE 4.3.1) "release 6", openSUSE 11.2)
Compiler:          gcc
OS:                Linux (i686) release 2.6.31.5-0.1-desktop

Using Suse 11.2 and KDE4.
When printing the monthly calendar, entries do show but very limited due to fontsize beeing too large.
Fontsize-setting only possible for viewing, not for printing.

All worked fine with version 3.5.9 under KDE3.
Comment 1 yadtxizh 2012-07-01 22:31:22 UTC
Created attachment 72265 [details]
proposed patch to fix clipping in monthly printout
Comment 2 Allen Winter 2012-07-22 20:55:45 UTC
Git commit 650e0c6a4c91b6211122e7e9d446242d557244fc by Allen Winter.
Committed on 22/07/2012 at 22:53.
Pushed by winterz into branch 'master'.

Fixes to make the printing inside dayboxes (esp month prints) look nicer
and fit better.
Includes a patch from Fred Feuerstein, Thanks!

REVIEW: 105609
Related: bug 237292, bug 251681, bug 263442
FIXED-IN: 4.8.5
MERGE: 4.8,4.9

M  +53   -45   korganizer/printing/calprintpluginbase.cpp

http://commits.kde.org/kdepim/650e0c6a4c91b6211122e7e9d446242d557244fc
Comment 3 Allen Winter 2012-07-22 20:59:35 UTC
Git commit c9c97e6da7a43317439ca5a63c6bc6bde5c16348 by Allen Winter.
Committed on 22/07/2012 at 22:53.
Pushed by winterz into branch 'KDE/4.8'.

Fixes to make the printing inside dayboxes (esp month prints) look nicer
and fit better.
Includes a patch from Fred Feuerstein, Thanks!

REVIEW: 105609
Related: bug 237292, bug 251681, bug 263442
FIXED-IN: 4.8.5
MERGE: 4.8,4.9
(cherry picked from commit 650e0c6a4c91b6211122e7e9d446242d557244fc)

Conflicts:
	korganizer/printing/calprintpluginbase.cpp

M  +53   -45   korganizer/printing/calprintpluginbase.cpp

http://commits.kde.org/kdepim/c9c97e6da7a43317439ca5a63c6bc6bde5c16348
Comment 4 Allen Winter 2012-07-22 21:00:04 UTC
Git commit 1db0473c7fe43523ccc607576a5353583c45b478 by Allen Winter.
Committed on 22/07/2012 at 22:53.
Pushed by winterz into branch 'KDE/4.9'.

Fixes to make the printing inside dayboxes (esp month prints) look nicer
and fit better.
Includes a patch from Fred Feuerstein, Thanks!

REVIEW: 105609
Related: bug 237292, bug 251681, bug 263442
FIXED-IN: 4.8.5
MERGE: 4.8,4.9
(cherry picked from commit 650e0c6a4c91b6211122e7e9d446242d557244fc)

M  +53   -45   korganizer/printing/calprintpluginbase.cpp

http://commits.kde.org/kdepim/1db0473c7fe43523ccc607576a5353583c45b478
Comment 5 pv 2014-01-10 16:51:35 UTC
(In reply to comment #4)
> Git commit 1db0473c7fe43523ccc607576a5353583c45b478 by Allen Winter.
> Committed on 22/07/2012 at 22:53.
> Pushed by winterz into branch 'KDE/4.9'.
> 
> Fixes to make the printing inside dayboxes (esp month prints) look nicer
> and fit better.
> Includes a patch from Fred Feuerstein, Thanks!
> 
> REVIEW: 105609
> Related: bug 237292, bug 251681, bug 263442
> FIXED-IN: 4.8.5
> MERGE: 4.8,4.9
> (cherry picked from commit 650e0c6a4c91b6211122e7e9d446242d557244fc)
> 
> M  +53   -45   korganizer/printing/calprintpluginbase.cpp
> 
> http://commits.kde.org/kdepim/1db0473c7fe43523ccc607576a5353583c45b478

Sorry, but this bug is _not_ fixed in version 4.11.3 running Linux 3.11.6-4-desktop
openSUSE 13.1 (Bottle) (x86_64)
Comment 6 Tim Ruffing 2015-01-21 21:31:46 UTC
The printed font size depends on the DPI of the screen!

This is also a problem when printing e.g., emails. I guess it creates problems for a lot of components in Kontact (or even more)  Use "Force fonts DPI" in "System Settings" -> "Fonts" to set a different DPI to test... It is a serious problem for high-DPI screens; printing is practically useless.

KDE 4.14.3 on Arch Linux

btw: I think we should discuss only in one bug, not additionally in bug 330584 or bug 251681, which are both duplicates.
Comment 7 Tim Ruffing 2015-01-21 21:33:48 UTC
I've forgotten to mention that increasing DPI actually makes printed fonts smaller (while it makes displayed fonts larger), and vice versa.
Comment 8 mail2hihu 2016-08-29 15:41:28 UTC
I have also the problem using the month view of kCalendar. The dates are way too big. So only the half of the letter is displayed. 
I'm using an highDPI Screen (13,3 inch and 1920x1080 Resoltuion) but changed the scaling to 1.5 in the kde settings which has to effect to the month view as it seems.

Using KDE Kontact 5.2.3.

Kind Regards
Comment 9 Christoph Feck 2017-06-27 21:24:08 UTC
*** Bug 327637 has been marked as a duplicate of this bug. ***
Comment 10 gjditchfield 2021-07-04 03:22:36 UTC
Can you still reproduce this problem?  With my 13" 1920×1080 screen the month's font sizes are reasonable, and changing my screen scaling did not affect them.
Comment 11 pv 2021-07-04 05:57:42 UTC
Created attachment 139836 [details]
attachment-5545-0.html

The problem is not the fontsize on the display, this can be adjusted.
The problem is when you *PRINT the month*! Most of the calendar entries are cut 
off because of the big fontsize.
Thanks for the reply!
> https://bugs.kde.org/show_bug.cgi?id=217225
> 
> gjditchfield@acm.org changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
> CC|                            |gjditchfield@acm.org Status|REPORTED       
>             |NEEDSINFO
>          Resolution|---                         |WAITINGFORINFO
> 
> --- Comment #10 from gjditchfield@acm.org ---
> Can you still reproduce this problem?  With my 13" 1920×1080 screen the
> month's font sizes are reasonable, and changing my screen scaling did not
> affect them.
Comment 12 gjditchfield 2021-07-04 16:16:47 UTC
(In reply to pv from comment #11)
> The problem is not the fontsize on the display, this can be adjusted.
> The problem is when you *PRINT the month*!

My comment was not precise enough.  On my computer with a 13" 1920×1080 screen (similar to the one in comment #8), the printed fonts for the month print-out are correctly sized, and changing the screen scaling in KDE Settings did not affect the size of the printed fonts.

Do you still experience problems with font size in the month print-out?  If you do, could you attach a PDF print-out demonstrating the problem?
Comment 13 pv 2021-07-04 16:41:57 UTC
Created attachment 139850 [details]
sample_month_how_it_should_be.jpg

Two attachments, same month.
PDF is the unusable print output.
JPG is how it should print (screenshot).
Hope I made clear now.
--------------------

> https://bugs.kde.org/show_bug.cgi?id=217225
> 
> --- Comment #12 from gjditchfield@acm.org ---
> (In reply to pv from comment #11)
> 
> > The problem is not the fontsize on the display, this can be adjusted.
> > The problem is when you *PRINT the month*!
> 
> My comment was not precise enough.  On my computer with a 13" 1920×1080
> screen (similar to the one in comment #8), the printed fonts for the month
> print-out are correctly sized, and changing the screen scaling in KDE
> Settings did not affect the size of the printed fonts.
> 
> Do you still experience problems with font size in the month print-out?  If
> you do, could you attach a PDF print-out demonstrating the problem?
Comment 14 pv 2021-07-04 16:41:58 UTC
Created attachment 139851 [details]
sample_month_how_it_prints.pdf
Comment 15 gjditchfield 2021-07-04 17:04:25 UTC
Thank you!