luisDanielRoviraContreras / flutter_iconsax

iconsax for flutter package
GNU General Public License v3.0
30 stars 18 forks source link

Fix iconsax font #10

Open jb3rndt opened 1 year ago

jb3rndt commented 1 year ago

Hi, thank you for the icons. I noticed that all two colored icons dont work (because they are split into multiple glyphs). Additionally, some icons are rendered with an offset, so that they are not centered anymore. Both issues are demonstrated in the screenshots below: | | | | |

This pull request is supposed to just fix the offsetting. As the other icons families (bulk and twotone) were unusable anyway, i left them out. Additionally, if im not mistaken, the "outline" family is equal to the "linear" family, so I did not recreate this one either.

To have a more verbose and thus better access to the different icon families, they have to be accessed by calling IconsaxLinear, IconsaxBroken and IconsaxBroken.

I also noticed that some of the icon names didnt match the others in the other families (e.g. each family hat ~6 icons that had names like "group" or "frame" which in reality had to be named differently) probably because of a poor figma export. So I re-arranged all the svg icons to match in the three families. If you want, I can send them over if you need them.

With that, at least the flutter library of Iconsax should be a bit more stable. Dont hesitate in case you have questions :)