Add setMinFontSize(int) to KHTMLSettings

Ingo Klöcker ingo.kloecker at epost.de
Fri Feb 7 22:14:07 GMT 2003


Hi,

in KMail it's not possible to set the size of the font which is used to 
render the message text to a value below 10pt because the KHTMLPart 
uses the hard coded HTML_DEFAULT_MIN_FONT_SIZE.

I'd like to add a void setMinFontSize(int) to KHTMLSettings to allow 
users of KHTMLPart to easily change the minimum font size. I know that 
it's in theory possible to do this via KHTMLSettings::init(KConfig*...) 
but we really don't want to have a full blown KHTMLSettings config 
dialog in KMail just to be able to change one value.

Can I commit to 3_1 and HEAD?

Regards,
Ingo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_setMinFontSize_to_KHTMLSettings.diff
Type: text/x-diff
Size: 1117 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20030207/a3aa0e10/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20030207/a3aa0e10/attachment.sig>


More information about the kde-core-devel mailing list