View Issue Details

IDProjectCategoryView StatusLast Update
0001768Double CommanderDefaultpublic2020-11-30 07:44
Reportercordylus Assigned ToAlexx2000  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
ProjectionnoneETAnone 
Target Version0.8.0Fixed in Version0.8.0 
Summary0001768: SVG support in Viewer and thumbnails
DescriptionCurrently previews of SVG files are shown as text, not as images.
TagsNo tags attached.
Fixed in Revision7468
Operating system
Widgetset
Architecture

Activities

Alexx2000

2017-03-15 08:33

administrator   ~0002135

Already supported under Linux via librsvg. I cannot find lightweight SVG library under Windows.

cordylus

2017-03-15 08:47

developer   ~0002136

But librsvg works under Windows too. You can use MSYS2 to get the precompiled version with development headers, for example.

cordylus

2017-03-15 08:59

developer   ~0002137

Last edited: 2017-03-15 09:02

But yeah, it pulls a lot of dependencies with itself, I got your point.

Would it be possible to link it in a way that it will be used if the dll is found in the PATH and still work without it otherwise?

Alexx2000

2017-03-19 19:09

administrator   ~0002138

Last edited: 2017-03-19 19:11

Done. Needs: libcairo-2.dll, librsvg-2-2.dll and libgobject-2.0-0.dll (+ all dependencies). Checked with dlls from GIMP.

cordylus

2017-03-19 20:12

developer   ~0002139

Great, it works, thanks. Tested with the latest libs from MSYS2 (librsvg-2.40.16-2, cairo-1.15.4-4, glib2-2.50.3-2). But I'll better switch to the ones from GIMP, like you suggested, since using MSYS dlls prevents them from being updated while DC is opened.

hedgehog

2017-05-12 13:18

reporter   ~0002205

Very cool. Was searching this for a long time and now stumbled over it. Got it working with the dll's from Gimp 2.4

user01

2017-12-17 07:05

reporter   ~0002431

How to use this? Should i copy all dlls from GIMP to Double Commander folder?

cordylus

2017-12-17 07:23

developer   ~0002432

Last edited: 2017-12-17 07:24

user01, either that or append the folder with DLLs to the PATH variable:
Open Control Panel » System » Advanced » Environment Variables.

Issue History

Date Modified Username Field Change
2017-03-13 20:10 cordylus New Issue
2017-03-15 08:33 Alexx2000 Note Added: 0002135
2017-03-15 08:33 Alexx2000 Status new => acknowledged
2017-03-15 08:47 cordylus Note Added: 0002136
2017-03-15 08:59 cordylus Note Added: 0002137
2017-03-15 09:02 cordylus Note Edited: 0002137
2017-03-19 19:09 Alexx2000 Fixed in Revision => 7468
2017-03-19 19:09 Alexx2000 Note Added: 0002138
2017-03-19 19:09 Alexx2000 Status acknowledged => resolved
2017-03-19 19:09 Alexx2000 Resolution open => fixed
2017-03-19 19:09 Alexx2000 Assigned To => Alexx2000
2017-03-19 19:10 Alexx2000 Note Edited: 0002138
2017-03-19 19:11 Alexx2000 Note Edited: 0002138
2017-03-19 20:12 cordylus Note Added: 0002139
2017-04-09 11:13 Alexx2000 Fixed in Version => 0.8.0
2017-04-09 11:13 Alexx2000 Target Version => 0.8.0
2017-05-12 13:18 hedgehog Note Added: 0002205
2017-12-17 07:05 user01 Note Added: 0002431
2017-12-17 07:23 cordylus Note Added: 0002432
2017-12-17 07:24 cordylus Note Edited: 0002432
2020-11-30 07:44 Alexx2000 Status resolved => closed