summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/FontControl.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-reader/FontControl.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-reader/FontControl.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/noncore/apps/opie-reader/FontControl.cpp b/noncore/apps/opie-reader/FontControl.cpp
index cfa8534..d082898 100644
--- a/noncore/apps/opie-reader/FontControl.cpp
+++ b/noncore/apps/opie-reader/FontControl.cpp
@@ -1,8 +1,17 @@
+#include <qfontdatabase.h>
+#include "opie.h"
+#include "useqpe.h"
#include "FontControl.h"
int FontControl::gzoom()
{
+ if (m_fixgraphics)
+ {
+ return 100;
+ }
+ else
+ {
int ret;
if (m_size == g_size)
{
ret = m_fontsizes[m_size]*m_basesize;
@@ -20,8 +29,9 @@ int FontControl::gzoom()
if (f%2) ret = (3*ret/2);
}
return ret;
}
+}
bool FontControl::ChangeFont(QString& n, int tgt)
{
QValueList<int>::Iterator it;