abhi11/tanglu-dak

SVG sized rendering does not work

Opened this issue · 5 comments

Rendered SVG icons do have the right size, but the actual icon is not scaled to the frma size.
This gives odd results as seen in the attached screenshot.
shot1

I am a bit confused on this one. Isn't it the client's task to see if the icon is scaled to the frame size.
I mean, if the SVGs are rendered with correct size then the generators job is over right ? Onus lies on the client consuming the data(here the Icon). Am I wrong ?

Instead of explaining, here's one of the icons we generate - you'll easily see what's wrong ;-)
laby_laby

Do you think using scale function here(https://github.com/abhi11/tanglu-dak/blob/master/dak/dep11/extractor.py#L191) would help ?
This is kind of crazy I can't think of why it is happening. I'll push the anyways.

I have pushed it. But scaling paras should be 1x1 right ? I mean that's what I have done :-)

Let
s see if it works - I will test it on Friday, I am super busy right now :-/