Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/graphics/font.py
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-02-26 11:40:14 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-02-26 11:40:14 (GMT)
commit6b31f572574dde43e76bafb2443733240956e11a (patch)
treef80ad6de8d8fd9fd0aa8baed89ae33fea2d21e47 /sugar/graphics/font.py
parent867b10eed7b5fc4d95a35b0af339ef2fd510d330 (diff)
Some control fixes.
Diffstat (limited to 'sugar/graphics/font.py')
-rw-r--r--sugar/graphics/font.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/sugar/graphics/font.py b/sugar/graphics/font.py
index 023dc37..aa4f2dc 100644
--- a/sugar/graphics/font.py
+++ b/sugar/graphics/font.py
@@ -3,7 +3,8 @@ import pango
from sugar.graphics import units
_system_fonts = {
- 'default' : 'Bitstream Vera Sans %d' % units.points_to_pixels(9)
+ 'default' : 'Bitstream Vera Sans %d' % units.points_to_pixels(9),
+ 'default-bold' : 'Bitstream Vera Sans bold %d' % units.points_to_pixels(9)
}
class Font(object):
@@ -21,3 +22,4 @@ class SystemFont(Font):
Font.__init__(self, _system_fonts[font_id])
DEFAULT = SystemFont('default')
+DEFAULT_BOLD = SystemFont('default-bold')