From d1a29ecf32f2dfada678aa175d099c43e386c0e8 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 01 Mar 2007 20:38:38 +0000 Subject: Set font to 7 points. Tweak zoom levels. --- (limited to 'sugar/graphics') diff --git a/sugar/graphics/font.py b/sugar/graphics/font.py index 6750f87..ab92604 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 2ec3dd5..8581aae 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() -- cgit v0.9.1