image/printing: Use cairo renderer for texture

On some systems, to_node -> render_texture generates empty or garbled
textures since GTK 4.18 GNOME/gtk#7464. This does not happen when using the cairo
renderer.

Closes #488
This commit is contained in:
Sophie Herold 2025-04-10 15:50:13 +02:00
parent cc061312cd
commit a49096ffde
2 changed files with 12 additions and 3 deletions

View file

@ -0,0 +1 @@
Printed pages don't contain anything or garbled output. This is a temporary workaround for <https://gitlab.gnome.org/GNOME/gtk/-/issues/7464>, using the cairo renderer for the rotation and scaling of the image in the print preparation.