linuxmint / xviewer

A generic Image viewer
GNU General Public License v2.0
75 stars 37 forks source link

SVG text color gradient shifts with zoom #167

Open AustrianLinuxMemer opened 2 years ago

AustrianLinuxMemer commented 2 years ago
 * Xviewer version 3.2.4
 * Distribution - (Mint 20.3)

Issue The SVG Text color gradient shifts with zoom

Steps to reproduce Open up a SVG file with a text colored in a gradient and zoom in/out

Expected behaviour The color gradient shifts with the text

Other information This bug is only apparent when it is a text

Here are files to observe the behavior on outrun-with-path-color-gradient SVG with path color gradient outrun-with-text-color-gradient SVG with text color gradient Download the files and open them in Xviewer side by side

programmer-ceds commented 2 years ago

I can confirm that this issue appears in xviewer 3.2.7 in Mint 20.3 Cinnamon.

The problem is also seen when the image is too big to fit in the window and is scrolled or dragged by the mouse.

Pix and (not surprisingly) Inkscape display the text correctly (as does GIMP but of course this is a 'one-shot' display as it is converted to raster mode on loading).

No promises but I will have a look to try to determine the difference between the pix code and the xviewer code.