Contouring of arbitrarily-shaped text with Fourier Series