Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/graphics
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-03-01 20:38:38 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-03-01 20:38:38 (GMT)
commitd1a29ecf32f2dfada678aa175d099c43e386c0e8 (patch)
treea26caca49db68f5381531e4408ceaff3702dea23 /sugar/graphics
parent47b8ad24968270c988d16e8186e4b496cc736259 (diff)
Set font to 7 points. Tweak zoom levels.
Diffstat (limited to 'sugar/graphics')
-rw-r--r--sugar/graphics/font.py4
-rw-r--r--sugar/graphics/units.py4
2 files changed, 4 insertions, 4 deletions
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()