From: LM <lm...@gm...> - 2019-07-29 12:16:30
|
Amadeus wrote: >I've never used rsvg and I don't know its API, so I cannot fix tuxmath >beyond this point. Any chance you guys can provide a fix? I hope the >gnome changes do not require a complete rework. You can try my patched version. There's a link to it available from here: http://www.distasis.com/cpp/lmports.htm I fixed several potential memory issues/bugs. I still have the code for rsvg in there, but it's ifdef'd so you can avoid it. I use nanosvg in place of rsvg for loading svg files. You'll find the code for that in the patch as well. nanosvg is also a lighter dependency than rsvg. You can also build tuxmath without the rsvg dependency and without any svg support. If pictures aren't available in svg format, it falls back to using a bitmap format instead of a vector graphics format. Sincerely, Laura Michaels |