set correct font size according to DPI for WebKit