RemixIcon icon indicating copy to clipboard operation
RemixIcon copied to clipboard

Icon shifted down - Flutter usage

Open nipunapereratb opened this issue 3 years ago • 8 comments

Describe the bug Before v3.0.0 there weren't any issues with the icons, but after the new version, every icon is shifted down. We are using the icons in a Flutter application and now the icons are wrongly placed

To Reproduce Steps to reproduce the behavior:

  1. Download the font package and check the .ttf file

Expected behavior The icons should appear like in the left side of the screenshot below

Screenshots Screenshot 2023-04-06 at 15 50 33

Device (please complete the following information):

  • OS: MacOS 13.0.1

Additional context Is there any way to use any of the previous versions?

Thank you.

nipunapereratb avatar Apr 06 '23 13:04 nipunapereratb

  1. In version 3.0.0, we have readjusted the baseline of the icons. Theoretically, the baseline of v3.0.0 is more reasonable. I am curious if you manually adjusted the icon offset of version 2.5.0 before. If so, readjusting the offset should suffice.
  2. You can download previous versions on the Release page. GitHub is a version control tool where you can find all the historical versions.

xiaochunjimmy avatar Apr 06 '23 15:04 xiaochunjimmy

Hi @xiaochunjimmy we didn't adjust the offset manually, that's how we found out the icons were shifted down.

Thank you for the response, let us know.

nipunapereratb avatar Apr 07 '23 07:04 nipunapereratb

I faced the same issue for the icons on my website. I had to use bottom margin ultimately.

n-ce avatar Apr 28 '23 18:04 n-ce

Same issue with some of the google icons on flutter web on mobile devices.

mchesnokov avatar May 16 '23 05:05 mchesnokov

@nipunapereratb @mchesnokov @n-ce Did you download the font file you are using from the website's collection?

wendygaoyuan avatar May 26 '23 07:05 wendygaoyuan

@nipunapereratb @mchesnokov @n-ce Did you download the font file you are using from the website's collection?

Yes. Also, I downloaded again today and it seems the issue has been solved.

n-ce avatar May 28 '23 14:05 n-ce

@nipunapereratb @mchesnokov @n-ce Did you download the font file you are using from the website's collection?

Yes. Also, I downloaded again today and it seems the issue has been solved.

We fixed this issue 2 days ago

wendygaoyuan avatar May 28 '23 14:05 wendygaoyuan

Its seems working fine now, thank you

nipunapereratb avatar May 29 '23 07:05 nipunapereratb