add test for changing legend font by url