The patch from comment #7 outputs a warning to the console when using the default font 'Sans' e.g. for a new text object:
** (inkscape:66881): WARNING **: Failed to load font 'Sans' substituted with 'Bitstream Vera Sans'.
IMHO in this situation this warning should not occur: 'Sans' is a valid, generic font name - used in Inkscape as default font since 0.48 (default prefs) - and substituted depending on the system font configuration. Inkscape should not default to a font and at the same time warn about it when using it.
The patch from comment #7 outputs a warning to the console when using the default font 'Sans' e.g. for a new text object:
** (inkscape:66881): WARNING **: Failed to load font 'Sans' substituted with 'Bitstream Vera Sans'.
IMHO in this situation this warning should not occur: 'Sans' is a valid, generic font name - used in Inkscape as default font since 0.48 (default prefs) - and substituted depending on the system font configuration. Inkscape should not default to a font and at the same time warn about it when using it.