Serialize fonts and register them in the gfx backend