Page 1 of 1

add to icon family?

Posted: Wed Mar 29, 2023 5:50 pm
by jameshale
Hi all,

Is it possible to add an svg icon to the icon family so that it gets included in a standalone?

I have made/modified some icons and used the tools on revshare to create a family which I can use in the IDE to populate the header and navigation bar widgets.
However they aren't included when I build a standalone.

Re: add to icon family?

Posted: Wed Mar 29, 2023 6:07 pm
by dunbarx
James.

I never use icons.

There is an icon svg library. Can't you add any new icon to that library, and include it in the standalone settings?

Craig

Re: add to icon family?

Posted: Wed Mar 29, 2023 6:23 pm
by richmond62
It would be very interesting if someone could explain just how
one might go about importing SVG images into this:
-
SShot 2023-03-29 at 20.18.08.png
-
There is no sign of any sort of IMPORT button or otherwise.

Come to think of things, it would be quite interesting to know where
the 'standard' SVG icons are stored.

Certainly if they are, somehow, derived from a font, there is probably no way
one can add anything to them.

Re: add to icon family?

Posted: Thu Mar 30, 2023 6:27 pm
by jacque
If I remember right you can use addIconFamily from the message box to add your custom family to the stack. Then be sure you have included the SVG library in standalone inclusions.

Re: add to icon family?

Posted: Fri Mar 31, 2023 3:09 am
by jameshale
I read the dictionary entry for this but cannot understand how to use it, as far as I can gather it adds to the families available in the IDE only

Re: add to icon family?

Posted: Fri Mar 31, 2023 11:24 am
by jameshale
Got it, thanks to Panos.
Well this solution adds it to the stack so it can be used.
Mentioned in this lesson: https://livecode.com/polylist-widget-in-the-spotlight/
In the comments.
Needs to be in opencard.