better magic coords and resizing font-size