summaryrefslogtreecommitdiff
blob: ab2bd8e59ae42cff0475b7fcc78ea45e57ff29d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lily/pango-font.cc b/lily/pango-font.cc
index 053ce17..48bddd3 100644
--- a/lily/pango-font.cc
+++ b/lily/pango-font.cc
@@ -382,7 +382,7 @@ Pango_font::pango_item_string_stencil (PangoGlyphItem const *glyph_item) const
       tail = SCM_CDRLOC (*tail);
     }
 
-  PangoFontDescription *descr = pango_font_describe (pa->font);
+  PangoFontDescription *descr = pango_context_get_font_description (context_);
   Real size = pango_font_description_get_size (descr)
               / (static_cast<Real> (PANGO_SCALE));
   pango_font_description_free (descr);