diff --git a/libs/surfaces/push2/canvas.cc b/libs/surfaces/push2/canvas.cc index 519d3367b6..b05888e701 100644 --- a/libs/surfaces/push2/canvas.cc +++ b/libs/surfaces/push2/canvas.cc @@ -242,13 +242,14 @@ Glib::RefPtr Push2Canvas::get_pango_context () { if (!pango_context) { - PangoFontMap* map = pango_cairo_font_map_get_default (); + PangoFontMap* map = pango_cairo_font_map_new (); if (!map) { error << _("Default Cairo font map is null!") << endmsg; return Glib::RefPtr (); } PangoContext* context = pango_font_map_create_context (map); + pango_cairo_context_set_resolution (context, 96); if (!context) { error << _("cannot create new PangoContext from cairo font map") << endmsg;