added fonts for the svg part and fixed some bugs