From ea7e2abd8b650feb3f0f0057d618dd3d4a14fcd7 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 30 May 2010 12:07:59 +0200 Subject: Fixing fonts.. This commit changes *A LOT* rekonq behavior on fonts. To fix all, I had to (re)introduce some (old)new strings. Sorry! - Adopted default KDE fonts for default & fixed settings - calculating LogicalDpiY from font dimension (points to pixels) (This has been copied from KWebKitPart, as suggested) - reenabled 16px as default font size WARNING: As we are now calculating well the font size, you'll see BIG chars on clean pages.. :) --- src/settings/appearancewidget.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/settings/appearancewidget.h') diff --git a/src/settings/appearancewidget.h b/src/settings/appearancewidget.h index 5c7ddc6d..ea3de6a1 100644 --- a/src/settings/appearancewidget.h +++ b/src/settings/appearancewidget.h @@ -53,9 +53,19 @@ signals: private slots: void hasChanged(); - + + void slotStandardFont(const QFont &); + void slotFixedFont(const QFont &); + void slotSerifFont(const QFont &); + void slotSansSerifFont(const QFont &); + void slotCursiveFont(const QFont &); + void slotFantasyFont(const QFont &); + private: bool _changed; + + QString reFont[6]; + }; #endif // APPEARANCE_WIDGET_H -- cgit v1.2.1