Skip to content

fonts: Handle lack of fonts

Matthias Clasen requested to merge no-font-fixes into main

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)

Merge request reports