Closed rosecitytransit closed 3 years ago
Using Mint 20.1 and xviewer 2.8.1 I see a line rather than a filled triangle unless I delete the .chat lines in which case the font (not surprisingly changes) and a filled triangle is drawn. This also applies to the thumbnails.
The attached file is part of what is displayed for the file as listed above.
Note that I can't reproduce #131 either with my system.
Can you try with the latest version of xviewer?
I also get the same results with inkscape and pix - that is to say that the code you posted displays as shown above (the background is transparent but I set xviewer to show it as as a colour in order that the text was more readable)
Looking at the code my understanding is that the image buffer is loaded (rendered) by a call to the GTK+ function rsvg_handle_get_pixbuf() - in which case the error that you are seeing would lie at a lower level than xviewer, rather than in xviewer itself.
What do you see if you type the following in a terminal window?
dpkg -s librsvg2-2|grep '^Version'
Well, I recently upgraded Mint to 20, which includes Xviewer 2.6.2, and the SVG displays correctly.
I guess I'll close this since it seems a newer version seems to work correctly.
Line charts generated by a customized version of http://topnew.net/chart (e.g. by having it put the CSS inside the SVG) do not look correct as the chart line is shown filled in (even though the element is not closed) and not just as a line. In addition, the chart title is not shown in the specified font.
I simplified the SVG down to just the line and title elements to isolate the issue:
Note that removing the
.chart
class from the style definitions does result in correct display.Steps to reproduce Save the above SVG to a local file and view it.
Expected behaviour A line should appear, not a filled triangle, and the text should be in the specified font.
Other information Issue also appears in whatever Linux Mint uses to generate file thumbnails.
131 may be related