Fix crash in svgfont dialog when new doc gets created

Protect kerning handlers functions from acting on null font and during pending update.

Crash encountered while creating a new document with svg font dialog open.

Merge request reports

Loading