adjust pointsize according to the dpi setting