X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcairo-chart.c;h=f3accda3fb504745e4ed083ef8f21a2222b8003a;hb=55178119a1dd305b7e0c3254cf5b6ddf6784e34f;hp=9c68eb13f88ba8356e7af18cd0918009c1acecf1;hpb=6b6ed1de7e41fe0683ec458bf8f455a159a2a653;p=pspp diff --git a/src/output/cairo-chart.c b/src/output/cairo-chart.c index 9c68eb13f8..f3accda3fb 100644 --- a/src/output/cairo-chart.c +++ b/src/output/cairo-chart.c @@ -178,7 +178,7 @@ xrchart_label_rotate (cairo_t *cr, int horz_justify, int vert_justify, PangoLayout *layout; double x, y; - desc = pango_font_description_from_string ("sans serif"); + desc = pango_font_description_from_string ("Sans"); if (desc == NULL) { cairo_new_path (cr); @@ -352,7 +352,7 @@ xrchart_text_extents (cairo_t *cr, const struct xrchart_geometry *geom, int width_pango; int height_pango; - desc = pango_font_description_from_string ("sans serif"); + desc = pango_font_description_from_string ("Sans"); if (desc == NULL) return; pango_font_description_set_absolute_size (desc, geom->font_size * PANGO_SCALE); @@ -602,3 +602,4 @@ xrchart_line(cairo_t *cr, const struct xrchart_geometry *geom, cairo_line_to (cr, x2, y2); cairo_stroke (cr); } +