font size alg improvements