Add a font resource test

Fix a stupid issue in font rsrc creation