From d1a29ecf32f2dfada678aa175d099c43e386c0e8 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 1 Mar 2007 21:38:38 +0100 Subject: [PATCH] Set font to 7 points. Tweak zoom levels. --- sugar/graphics/font.py | 4 ++-- sugar/graphics/units.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sugar/graphics/font.py b/sugar/graphics/font.py index 6750f871..ab926045 100644 --- a/sugar/graphics/font.py +++ b/sugar/graphics/font.py @@ -3,8 +3,8 @@ import pango from sugar.graphics import units _system_fonts = { - 'default' : 'Bitstream Vera Sans %d' % units.points_to_device(9), - 'default-bold' : 'Bitstream Vera Sans bold %d' % units.points_to_device(9) + 'default' : 'Bitstream Vera Sans %d' % units.points_to_device(7), + 'default-bold' : 'Bitstream Vera Sans bold %d' % units.points_to_device(7) } class Font(object): diff --git a/sugar/graphics/units.py b/sugar/graphics/units.py index 2ec3dd5b..8581aaed 100644 --- a/sugar/graphics/units.py +++ b/sugar/graphics/units.py @@ -63,8 +63,8 @@ import gtk import _sugar -_MAX_ZOOM_FACTOR = 1.5 -_ZOOM_CONSTANT = 800.0 +_MAX_ZOOM_FACTOR = 2.0 +_ZOOM_CONSTANT = 650.0 def _compute_zoom_factor(): screen_width = gtk.gdk.screen_width()