Removed Debug log. Made font scaling use Math.ceil().