Comment 4 for bug 1716516

Revision history for this message
Patrick Storz (ede123) wrote :

Fix committed to master in
https://gitlab.com/inkscape/inkscape/compare/9d04be759628dc9b743b9a8c0f12aec16a9090a8...74d871992d7641101f8c26e934b96ae72d851c93

Inkscape won't crash anymore due to an invalid/missing fontconfig configuration.

The reason for the crash was that fontconfig could not provide a single fallback font in this case (as invalid fontconfig = no font faces available at all) and Inkscape did not handle this properly (it always expected at least one fallback font to be available).

Obviously one will not be able to create any text in this situation, but aside from that all UI functionality seems to be available.

The patch also adds debug output that looks as follows in the scenario described above:
** (inkscape.exe:7684): CRITICAL **: Could not load any face for font 'sans-serif 512'.

(let's see if Google does it's job ;-) )