Tried this, but it doesn't set the fallback to 300. Oh well, worth a try. Hopefully Ishmal can build the patched cairo and we won't need this...
========== if (x_dpi < 100) { cairo_surface_set_fallback_resolution (surface, (x_dpi/72.0) * 300, (y_dpi/72.0) * 300); return surface; } else { return surface; } ==========
Tried this, but it doesn't set the fallback to 300. Oh well, worth a try. Hopefully Ishmal can build the patched cairo and we won't need this...
==========
cairo_ surface_ set_fallback_ resolution (surface, (x_dpi/72.0) * 300, (y_dpi/72.0) * 300);
if (x_dpi < 100) {
return surface;
}
else {
return surface;
}
==========