Skip to content
  • Antonio Eugenio Burriel's avatar
    Fix pdf issues on printers · 3b094ae4
    Antonio Eugenio Burriel authored and jvoisin's avatar jvoisin committed
    pyCairo by default renders the PDF surfaces with a resolution of 72
    dpi which is so low that the bitmap gets blurred compared to original.
    
    Since pyCairo 1.12.0, a new method set_device_scale(x_scale, y_scale)
    is added, which allows changing the canvas resolution.
    3b094ae4