qimgv icon indicating copy to clipboard operation
qimgv copied to clipboard

SVG file not displaying properly

Open rieje opened this issue 1 year ago • 3 comments

Firefox displays an SVG file correctly. When opening with qimgv (nightly build), it shows the following error:

dpr= 1.3 pDpr= 1 Caught Exiv2 exception: /test.svg: The file contains data of an unknown image type

qimgv displays it like this (I tried setting qimgv's background to white but it's just displaying it wrong), whereas Firefox displays it correctly like this.

rieje avatar Jul 22 '24 20:07 rieje

Can you send in the svg file itself? maybe a newer git build opens it correctly (or not).

Kingproone avatar Feb 12 '25 14:02 Kingproone

EDIT: Actually, I'm thinking this might not be qimgv problem--I see it attached here and it displays fine but opening this github thread on chromium looks like this... maybe I'm misunderstanding what an SVG file is supposed to look like?

I built with the latest commit c913500, same thing (left is Firefox, right is qimgv). Attached svg file.

Image

rieje avatar Feb 17 '25 19:02 rieje

This seems to be a ~~text~~ layout rendering issue, since this telescope svg renders fine in inkscape, firefox or brave.

However, in qimgv (qimgv-git 1.0.2.r179.ga8e335b-1) it looks like this:

Image

On the other hand, there are svgs that contain text and render fine, for example on the inkscape screen contest page, the listed artpieces seem to work fine for me even though they have text as well.

Kingproone avatar Jul 24 '25 12:07 Kingproone