- sizes = scm_acons (scm_make_real (1.0), fm->self_scm(), sizes);
- scm_hashq_set_x (font_table, fm->self_scm (), sizes);
+Font_metric *
+select_pango_font (Output_def *layout, SCM chain)
+{
+ PangoFontDescription *pfd
+ = properties_to_pango_description (chain,
+ point_constant
+ * layout->get_dimension (ly_symbol2scm ("text-font-size")));
+
+ char *str = pango_font_description_to_string (pfd);
+ SCM scm_str = scm_from_locale_string (str);
+ g_free (str);
+ pango_font_description_free (pfd);