icon_font_generator icon indicating copy to clipboard operation
icon_font_generator copied to clipboard

Icon is showed at wrong position

Open bigbang489 opened this issue 2 years ago • 5 comments

No matter how I changed the position of the objects in SVG file, it keeps showing the icon in wrong position

Screen Shot 2021-09-21 at 09 01 34 Screen Shot 2021-09-21 at 08 56 03

bigbang489 avatar Sep 21 '21 02:09 bigbang489

Increase the size of your svg

prateekmedia avatar Oct 28 '21 02:10 prateekmedia

What is the minimal size or recommendation size for svg?

bigbang489 avatar Oct 28 '21 02:10 bigbang489

What is the minimal size or recommendation size for svg?

there is no such size, it's vector graphics the most important thing is that all icons are of the same size. For example, focus on 512

Also please attach you svg from https://github.com/rbcprolabs/icon_font_generator/issues/15 for test here

SergeShkurko avatar Oct 31 '21 23:10 SergeShkurko

Here is my SVG

bill_paid.svg.zip

bigbang489 avatar Nov 05 '21 13:11 bigbang489

for me all icons in generated icons font are not centered at all. and all are exactly 2 pixel lower than to where they need to be to look vertically centered. I have to use this code to make them look centered

Transform.translate(
  offset: const Offset(0, -2),
  child: Icon(
    icon,
    color: defaultK.color(label: 'color', initial: Colors.black),
   ),
),

easazade avatar Nov 28 '21 10:11 easazade