[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    max font size
From:       Thomas Zander <zander () kde ! org>
Date:       2007-12-13 10:03:18
Message-ID: 200712131103.18818.zander () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]


While working in KWord I wanted to make a waterprint background where each 
page had 1 or 2 digits in the background.
So, I inserted the text and tried to make the font sufficiently large.

Unfortunately the KFontChooser widget has set the maximum size for fonts to 
128.  Which is not nearly enough for my purposes.
I don't see any reason to limit the usecases for this dialog to only on-screen 
fonts, so I want to suggest the attached patch.

Any objections?
-- 
Thomas Zander

["maxFontSize.diff" (text/x-diff)]

Index: kdeui/fonts/kfontchooser.cpp
===================================================================
--- kdeui/fonts/kfontchooser.cpp	(revision 747558)
+++ kdeui/fonts/kfontchooser.cpp	(working copy)
@@ -293,7 +293,7 @@
     d->sizeListBox->setObjectName("sizeListBox");
     d->sizeOfFont = new KIntNumInput( page); // "sizeOfFont");
     d->sizeOfFont->setMinimum(4);
-    d->sizeOfFont->setMaximum(128);
+    d->sizeOfFont->setMaximum(999);
     d->sizeOfFont->setSliderEnabled(false);
 
     d->sizeListBox->setEnabled( flags ^ ShowDifferences );

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic