renderercommon: don't register same font more than once fixes #530