Add very basic SVG support

We need to refactor, so that SVGs are pre-rendered on each change
of scaling by librsvg directly, because some elements may be rasterized.

It would be best to also support building against resvg.
This commit is contained in:
2021-11-09 19:42:43 +01:00
parent 1e380f695a
commit 1c5cc50939
7 changed files with 150 additions and 22 deletions

View File

@@ -8,4 +8,4 @@ Terminal=false
StartupNotify=true
Categories=Graphics;2DGraphics;Viewer;
# TODO(p): Generate this list from source files.
MimeType=image/png;image/bmp;image/gif;image/jpeg;image/x-dcraw;
MimeType=image/png;image/bmp;image/gif;image/jpeg;image/x-dcraw;image/svg+xml;