Set font to 7 points. Tweak zoom levels.
This commit is contained in:
parent
47b8ad2496
commit
d1a29ecf32
@ -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):
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user