buf fix about font size in selection