pass dpi attribute to dot