Comments (6)
Oh, by the way, you may be particulary interested that I use svgren as a primary svg renderer/loader for icons in my Linux distribution, for offline rendering (svg -> png), and for online, too (as a default gdk-pixbuf svg loader - https://github.com/stal-ix/ix/blob/main/pkgs/lib/svgren/gdk/io.cpp)
from svgren.
backtrace from gdb:
(gdb) bt
#0 0x00000000004d791e in __syscall4 (n=14, a1=2, a2=140737488340768, a3=0, a4=8)
at ./arch/x86_64/syscall_arch.h:38
#1 0x00000000004d7982 in __restore_sigs (set=0x7fffffffc720)
at src/signal/block.c:43
#2 0x00000000004d79d9 in raise (sig=6) at src/signal/raise.c:11
#3 0x00000000004c8bce in abort () at src/exit/abort.c:11
#4 0x000000000043ede4 in abort_message (
format=0x21480d "terminating due to %s exception of type %s: %s")
at /ix/build/oRFs25QX9LFGH5oj/src/libcxxabi/src/abort_message.cpp:78
#5 0x0000000000415354 in demangling_terminate_handler ()
at /ix/build/oRFs25QX9LFGH5oj/src/libcxxabi/src/cxa_default_handlers.cpp:72
#6 0x000000000043e512 in std::__terminate (
func=0x4151e0 <demangling_terminate_handler()>)
at /ix/build/oRFs25QX9LFGH5oj/src/libcxxabi/src/cxa_handlers.cpp:59
#7 0x00000000004426e6 in __cxxabiv1::failed_throw (
exception_header=0x7ffff771e000)
at /ix/build/oRFs25QX9LFGH5oj/src/libcxxabi/src/cxa_exception.cpp:152
#8 0x0000000000442640 in __cxa_throw (thrown_object=0x7ffff771e080,
tinfo=0x22a6b0 <typeinfo for std::invalid_argument>,
dest=0x43ea30 <std::invalid_argument::~invalid_argument()>)
at /ix/build/oRFs25QX9LFGH5oj/src/libcxxabi/src/cxa_exception.cpp:283
#9 0x0000000000369520 in utki::string_parser::read_number<unsigned int> (
this=0x7fffffffcbc8)
at /ix/store/pB3hDozBvTEqgfsL-lib-svgren-utki/include/utki/string.hpp:345
#10 0x00000000003653f0 in svgdom::parse_paint (str=...)
at svgdom/elements/styleable.cpp:1069
#11 0x000000000036462a in svgdom::styleable::parse_style_property_value (
type=svgdom::style_property::fill, str=...)
at svgdom/elements/styleable.cpp:286
#12 0x00000000003662ab in (anonymous namespace)::parse_style_property_value (
type=svgdom::style_property::fill, p=...) at svgdom/elements/styleable.cpp:372
#13 0x0000000000366071 in svgdom::styleable::parse (str=...)
at svgdom/elements/styleable.cpp:403
#14 0x0000000000383fd3 in svgdom::parser::fill_styleable (this=0x7fffffffe4c8,
s=...) at svgdom/parser.cpp:311
#15 0x00000000003845f2 in svgdom::parser::fill_shape (this=0x7fffffffe4c8, s=...)
at svgdom/parser.cpp:299
#16 0x000000000038021f in svgdom::parser::parse_path_element (this=0x7fffffffe4c8)
at svgdom/parser.cpp:778
#17 0x000000000037f4f2 in svgdom::parser::parse_element (this=0x7fffffffe4c8)
at svgdom/parser.cpp:134
#18 0x000000000038509a in svgdom::parser::on_attributes_end (this=0x7fffffffe4c8,
is_empty_element=true) at svgdom/parser.cpp:944
from svgren.
Thanks for report! Yes, percentages are not supported at the moment. Will have a look.
from svgren.
Fix is ready. It was actually a problem in svgdom
. But anyway you now need to update all dependency libs to latest versions, as it involved changes to several libs.
from svgren.
Thanx, It looks like it works
from svgren.
sounds cool! I'll check your linux distro out ;)
from svgren.
Related Issues (20)
- Image element not rendered HOT 5
- add <defs><style></style></defs> support HOT 8
- xi:include in svg HOT 1
- fatal error: rasterimage/image.hpp: No such file or directory HOT 4
- refactor surface class to use image_span
- utki cocoapod doesn't have a lib HOT 5
- Support for stroke-dasharray and stroke-dashoffset HOT 4
- Unresolved external symbol HOT 6
- Not correctly displaying shapes. HOT 8
- Pixel layout & console output HOT 5
- division by 0
- compiling errors after update to the latest version HOT 5
- add <pattern> support
- No Images loaded since last Update HOT 46
- VS2017 v141 toolset link failed HOT 6
- Problem rendering Instagram logo HOT 5
- XCFramework support HOT 10
- Tutorial needs update: requires C++/17 standard, not C++/11 HOT 2
- Artifact when drawing SVG with `circle` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svgren.