diff --git a/src/plugins/gramplet/FanChartGramplet.py b/src/plugins/gramplet/FanChartGramplet.py index b3a3f018a..a1e0fb2ca 100644 --- a/src/plugins/gramplet/FanChartGramplet.py +++ b/src/plugins/gramplet/FanChartGramplet.py @@ -126,7 +126,7 @@ class FanChartWidget(gtk.Widget): self.set_generations(self.generations) self.center = 50 # pixel radius of center self.layout = self.create_pango_layout('cairo') - self.layout.set_font_description(pango.FontDescription("sans serif 8")) + self.layout.set_font_description(pango.FontDescription("sans 8")) def reset_generations(self): """ @@ -335,7 +335,7 @@ class FanChartWidget(gtk.Widget): for i in range(len(text)): cr.save() layout = self.create_pango_layout(text[i]) - layout.set_font_description(pango.FontDescription("sans serif 8")) + layout.set_font_description(pango.FontDescription("sans 8")) angle = 360.0 * i / (radius * self.degrees_per_radius) + pos cr.set_source_rgb(0, 0, 0) # black cr.rotate(angle * (math.pi / 180)); diff --git a/src/plugins/view/fanchartview.py b/src/plugins/view/fanchartview.py index f87a37c54..910ffcb6b 100644 --- a/src/plugins/view/fanchartview.py +++ b/src/plugins/view/fanchartview.py @@ -142,7 +142,7 @@ class FanChartWidget(gtk.Widget): self.set_generations(self.generations) self.center = 50 # pixel radius of center self.layout = self.create_pango_layout('cairo') - self.layout.set_font_description(pango.FontDescription("sans serif 8")) + self.layout.set_font_description(pango.FontDescription("sans 8")) def reset_generations(self): """ @@ -350,7 +350,7 @@ class FanChartWidget(gtk.Widget): for i in range(len(text)): cr.save() layout = self.create_pango_layout(text[i]) - layout.set_font_description(pango.FontDescription("sans serif 8")) + layout.set_font_description(pango.FontDescription("sans 8")) angle = 360.0 * i / (radius * self.degrees_per_radius) + pos cr.set_source_rgb(0, 0, 0) # black cr.rotate(angle * (math.pi / 180));