Sorry, I missed some comments here.
(I thought I'd CC'd myself and Behdad, but I guess I didn't.)
This patch works around the compile error, but we should provide at least fcfontmap_class->new_font if we don't provide create_font.
That would simply involve changing gfx_pango_font_map_create_font to gfx_pango_font_map_new_font and modifying the parameters appropriately.
And we might as well change gfx_pango_font_map_context_substitute to gfx_pango_font_map_default_substitute and use default values from comment 15 where the information is not available for fcfontmap_class->default_subsitute.
Comment on attachment 371367
patch v3
Sorry, I missed some comments here.
(I thought I'd CC'd myself and Behdad, but I guess I didn't.)
This patch works around the compile error, but we should provide at least fcfontmap_ class-> new_font if we don't provide create_font.
That would simply involve changing gfx_pango_ font_map_ create_ font to gfx_pango_ font_map_ new_font and modifying the parameters appropriately.
And we might as well change gfx_pango_ font_map_ context_ substitute to gfx_pango_ font_map_ default_ substitute and use default values from comment 15 where the information is not available for fcfontmap_ class-> default_ subsitute.