changed datatype of variable 'kerning' from int to float.