You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-sound/lilypond/files/lilypond-2.22.1-fix-font-si...

14 lines
567 B

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);