set menu font size according to screen dpi