some fixes to the googlefont and canvas