dpi and scaling added