> The question is now what exactly causes this: > > error: invalid conversion from 'gpointer' {aka 'void*'} > to 'FT_Face' {aka 'FT_FaceRec_*'} > > during the lilypond compilation? Is this really caused by pango? Or > is this a glib issue? Could you investigate?
Pango 1.44 seems to have changed the return type of pango_fc_font_lock_face () from FT_Face to gpointer. https://gitlab.gnome.org/GNOME/pango/commit/fe3294ccf5a0b37c8a0950cc994ee0dfdd1dd909#594159b337483b122645586e446206f28d553b6e_56_52 LilyPond's lily/pango-font.cc has ``` FT_Face face = pango_fc_font_lock_face (fcfont); ``` If you use Pango 1.44, the return type of pango_fc_font_lock_face () is different from the variable type of face. Here's a quick hack but I have not tried. ``` FT_Face face = static_cast<FT_Face>(pango_fc_font_lock_face (fcfont)); ``` _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond