SVG to image

hh hh at hyperhh.de
Mon Sep 17 10:56:09 EDT 2018


> Brian wrote:
> I'll need to take your stack/widget and see how what it generates
> compares to conversions from the source svg file (for the Font
> Awesome stuff). Since you are adding back information that was
> stripped when converting to an icon, my guess is that the results
> should be pretty much the same. 

There ARE changes;
I translate the path to have a bounding box with topleft 0,0 and
use this translated path.
This prevents horizotal and especially vertical offsets (which
is often present and effectively adds unneeded transparency at top).




More information about the use-livecode mailing list