I am getting a compile error with VS2022 in c++20 mode, looks like this is because they are applying some stricter rules now: wxsvg\include\wxSVG\CSSStyleDeclaration.h(496,83): error C2445: result type of conditional expression is ambiguous: types 'wxString' and 'const wchar_t [1]' can be converted to multiple common types The fix seems to be simple, one has to replace wxT("") with wxString() on line 496 in the GetFontFamily() function definition. Not quite sure how to get this fixed in wxSVG, should...
updated
Fix indentation in src/mediadec_ffmpeg.cpp for consistency
Add support for FFmpeg 7.0
Merge commit '9a8fee211148b7931e9b0de80e3da3e6f1b00e99'
Add compatibility with FFMPEG 7.0
Merge /u/alec_leamas/wxsvg/ branch master into master
Handle platforms with separate -latomic library
Fix indentation in src/mediadec_ffmpeg.cpp for consistency
Add support for FFmpeg 7.0
Merge branch 'master' of ssh://ntalex@git.code.sf.net/p/wxsvg/git
fixed
applied gcc 13 patch
This patch is needed for wxsvg-1.5.24 to build with gcc 13.x. With the new compiler some headers must be explicitly included, references are in the patch itself.
fixed glibtoolize
Thank you for the patch. It's applied in wxsvg v1.5.14.
updated
updated
v1.5.24
Merge branch 'master' of ssh://ntalex@git.code.sf.net/p/wxsvg/git
applied ffmpeg5 patch
I have applied patch above to the Debian wxsvg package. Please consider this as a request to apply this patch.
I have applied patch above to the Debian wxsvg package. Please consider this as a request to apply this path (where are the sources?)
A gentoo patch is available here https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/wxsvg/files/ffmpeg5.patch?id=d6fd9cfb26299c76be7483cac4451a226ab8e37f
Here we go, a new ffmpeg-5 is around and various missing symbols pop up while trying to build wxsvg-1.5.13. Just a head-up if some devs could have a look at it! thanks, cheers, chris.
I am trying to compile wxsvg 1.5.23 on Lubuntu 21.04 so I can use it with DVDStyler. When I get to the linking I am getting this error. Can someone tell me what it's looking for that it can't find? /usr/bin/ld: cannot find /usr/lib/x86_64-linux-gnu/: file format not recognized /usr/bin/ld: cannot find /usr/lib/x86_64-linux-gnu/: file format not recognized collect2: error: ld returned 1 exit status make[1]: *** [Makefile:415: svgview] Error 1
Hi, wxsvg seems to use some c++ atomic stuff. Sometimes, these functions lives in a separate -latomic library which needs to be linked. However, current configuration does not take this into account. This causes build errors on some esoteric Debian platforms like sh4, see https://buildd.debian.org/status/fetch.php?pkg=wxsvg&arch=sh4&ver=2%3A1.5.22%2Bdfsg.1-1&stamp=1634298153&raw=0 I'm adding enclosed patch to the next Debian packaging. To me it looks safe and should not break any eggs. OTOH, they...
Handle platforms with separate -latomic library
updated
updated
updated
added support of text-decoration "line-through"
wxSVGTextElement: added support of text-decoration "underline"
Oops sorry my bad, the issue was caused by mixing static and dynamic libraries, and/or position-idependant with non-PIC.
Hello everyone, new user here from Montréal, Canada. I'm getting a weird FPE crash in what looks like a string-conversion function in wxWidgets, whenever i link my executable with wxSVG - this crash is probably caused by some global object's constructor because it happens before the start of my main function is even reached. Here's a backtrace from gdb: Program received signal SIGFPE, Arithmetic exception. 0x0000555555addf2d in wxCSConv::DoCreate() const () (gdb) bt #0 0x0000555555addf2d in wxCSConv::DoCreate()...
Hi, I would like to know whether wxSVG supports the latest SVG specification and Filters? I do not need 3d, nor do I need animations.
Hello. I'm trying to run ./configure for wxSVG, but it is throwing an error saying: mediadec_ffmpeg.cpp:345:2: error: ‘av_fourcc_make_string’ was not declared in this scope 345 | av_fourcc_make_string(buf, st->codecpar->codec_tag); | ^~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:669: mediadec_ffmpeg.lo] Error 1 It kind of sounds related to FFmpeg. I tried running "sudo apt install ffmpeg", but wxSVG still doesn't work. Can you help me? Thank you.
The problem seems to be caused in wxSVGCanvasPathCairo::wxSVGCanvasPathCairo(cairo_surface_t* surface, wxSVGMatrix* matrix) The part whcih sets the cairo transform matrix seems to have been removed by surrounding it with #if 0 ... #endif. If this is changed to #if 1 ... #endif the svg renders correctly. Note that the bug only occurs when scaling down, that is when the svg drawing is too large to fit on the bitmap.
The attached svg file does not render correctly with wvgview with the standard "fit to frame" option activated. If this is turned off, and the window is enlarged then the text appears. The text also appears if the svg is modified such that it appears higher on the page. It seems that the "is visible?" computation is off. Similar problems appear in the horizontal direction: long text is truncated so that it occupies only a small part of the window. Other objects such as ellipses, rectangles do not...
Ping ;)
The LInux community has a strong emphasis on manpages.. Enclosing a patch which adds a simple one. This is directly from the Debian packaging
Actually, I am trying to install DVDStyler-3.1.1 and various errors led me to wxSVG. It'd be nice if there was a deb package all ready to install for Ubuntu 18.04 for DVDStyler, but I couldn't find one, so I got the source. So no I end up at wxSVG, and I say the same thing -- it'd be nice if there was a deb package all ready to go for it, but I can't find one. Actually, it'd be even better to find a static build for DVDStyler, but no can do. So, here are my errors when trying to install wxSVG: ....
But you can implement any event and action in C++
Sorry, but events (such as mouseover and click. e.g. aus begin of animation) don't supported yet
Meaning user can click on SVG object and it will respond such as rotate or move ? meaning interactive SVG?
Meaning user can click on SVG object and it will respond such as rotate or move ?
Meaning user can click on SVG object and it will respond such as rotating or moving ?
v1.5.22
fixed loading of video frames
updated
renamed config.py to conf.py
Hi, is is possible to query the wxSVG lib version at runtime, such like const char* getlibVersion() Many thanks in advance . . . Stefan
added support of rgba colors
fixed in v1.5.21
It's fixed too
fixed in v1.5.21
Unfortunately I couldn't find any error in the implementation of radialGradient. Possibly it's a bug in graphic library.
updated
fixed convertMaskRGB2Alpha
added support of grayscale mask
fixed handling of spaces in transform attribute
added initial support of switch element
A couple of SVGs that I have come accross that seem to have rendering problem in wxSVG when objects are grouped into one redundantly. Using wxSVG version 1.5.20. Original rooster SVG: Rendered with wxSVG: Rendered with Inkscape & Chrome: Original vegetable_basket SVG: Rendered with wxSVG: Rendered with Inkscape & Chrome:
A couple of SVGs that I have come accross that seem to have rendering problem in wxSVG when objects are grouped into one redundantly. Using wxSVG version 1.5.20. Original rooster SVG: Rendered with wxSVG: Rendered with Inkscape & Chrome: Original vegetable_basket SVG: Rendered with wxSVG: Rendered with Inkscape & Chrome:
A couple of SVGs that I have come accross that seem to have rendering problem in wxSVG when objects are grouped into one redundantly. Original rooster SVG: Rendered with wxSVG: Rendered with Inkscape & Chrome: Original vegetable_basket SVG: Rendered with wxSVG: Rendered with Inkscape & Chrome:
A couple of SVGs that I have come accross that seem to have rendering problem in wxSVG when objects are grouped into one redundantly. (will edit to add images inline)
This one is a very subtle rendering issue. The "shine" or "gloss" of this clock document is not correct... Original SVG (not rendered correctly in Chrome): Inkscape (correct): GIMP (incorrect): wxSVG (incorrect): Edit: I just noticed that the numbers/text needs to be converted to path. But that is not a wxSVG issue.
This one is a very subtle rendering issue. The "shine" or "gloss" of this clock document is not correct... Original SVG (not rendered correctly in Chrome): Inkscape (correct): GIMP (incorrect): wxSVG (incorrect): Edit: I just noticed that the numbers/text needs to be converted to path. But that is not a wxSVG issue.
This one is a very subtle rendering issue. The "shine" or "gloss" of this clock document is not correct... Original SVG (not rendered correctly in Chrome): Inkscape (correct): GIMP (incorrect): wxSVG (incorrect): Edit: I just noticed that the numbers/text needs to be converted to path. But that is not a wxSVG issue.
This one is a very subtle rendering issue. The "shine" or "gloss" of this clock document is not correct... (will edit to add images inline) Original SVG (not rendered correctly in Chrome): Inkscape (correct): GIMP (incorrect): wxSVG (incorrect): Edit: I just noticed that the numbers/text needs to be converted to path. But that is not a wxSVG issue.
This one is a very subtle rendering issue. The "shine" or "gloss" of this clock document is not correct... (will edit to add images inline) Original SVG (not rendered correctly in Chrome): Inkscape (correct): GIMP (incorrect): wxSVG (incorrect): Edit: Also, I just noticed that the numbers/text needs to be converted to path. But that is not a wxSVG issue.
This one is a very subtle rendering issue. The "shine" or "gloss" of this clock document is not correct... (will edit to add images inline) Original SVG (not rendered correctly in Chrome): Inkscape (correct): GIMP (incorrect): wxSVG (incorrect):
This one is a very subtle rendering issue. The "shine" or "gloss" of this clock document is not correct... (will edit to add images inline)
This one is a very subtle rendering issue. The "shine" or "gloss" of this clock document is not correct... (will edit to add images inline)
This one is a very subtle rendering issue. The "shine" or "gloss" of this clock document is not correct... (will edit to add images inline)
This one is a very subtle rendering issue. The "shine" or "gloss" of this clock document is not correct... (will edit to add images inline)
The problem is fixed for pt, but persists for mm, pc, in, & cm.
Not sure if you would rather I start a new thread, but I thought I would post another rendering issue here. The reflection in the following document is not rendered correctly. So far, Inkscape is the only software that I have tried that renders it correctly... Original SVG: Rendered with other software (from left to right: Inkscape, Chrome, GIMP; Inkscape is correct): Rendered with wxSVG: wxSVG recognizes the "reflection", but the transparency is off.
Not sure if you would rather I start a new thread, but I thought I would post another rendering problem here. Inkscape is the only software that I have tried so far that renders this document correctly... (will edit to add images inline)
Not sure if you would rather I start a new thread, but I thought I would post another rendering problem here. Inkscape is the only software that I have tried so far that renders this document correctly... (will edit to add images inline)
Not sure if you would rather I start a new thread, but I thought I would post another rendering problem here. Inkscape is the only software that I have tried so far that renders this document correctly... (will edit to add images inline)
Not sure if you would rather I start a new thread, but I thought I would post another rendering problem here. Inkscape is the only software that I have tried so far that renders this document correctly... (will edit to add images inline)
Not sure if you would rather I start a new thread, but I thought I would post another rendering problem here. Inkscape is the only software that I have tried so far that renders this document correctly... (will edit to add images inline)
Magnifying glass looks good. Apple looks better, but spots are more pronounced than normal.
Magnifying glass looks good. Apple looks better, but spots are more pronounced than normal.
Magnifying glass looks good. Apple looks better, but spots are too pronounced.
Thank you. Working.
Thank you Alex. I will test when I get an opportunity.