fonts: Handle lack of fonts
Make pango_font_get_scale_factors return 1 if the font is NULL. This avoids crashes in situations where we cannot find any fonts.
Fixes: #701 (closed)
Make pango_font_get_scale_factors return 1 if the font is NULL. This avoids crashes in situations where we cannot find any fonts.
Fixes: #701 (closed)