When inputing both ppi and scale_factor, scale_factor is overwritten. The "zoom-level" used (which is passed to mapnik through the scale_factor) seems to not be changeable at a given dpi and scale ...