olton / Metro-UI-CSS

Impressive component library for expressive web development! Build responsive projects on the web with the first front-end component library in Metro Style. And now there are even more opportunities every day!
http://metroui.org.ua/
MIT License
7k stars 1.97k forks source link

mif- icons not rendered #1869

Open FrancescoCarraro opened 2 years ago

FrancescoCarraro commented 2 years ago

On both Edge and Firefox, the mif-icons are not rendered. Initially I had to change the @font-face declaration from format('woff') to format('font-woff') to avoid OTS parsing issues, but now I have no issues in developer console but icons are not rendered

screenshot

Desktop (please complete the following information):

Project type is ASP.NET Core 6

olton commented 2 years ago

Hi, all icons render fine for me in Edge image

And in FireFox image

olton commented 2 years ago

Check your code, maybe you do use not an existing icon.

FrancescoCarraro commented 2 years ago

Hi, thanks for your quick reply....I'm still investigating....I'm for the first time developing on Windows 11 and I started thinking there's something wrong in IIS....I will let you know as soon I understand what's going on...

Francesco

Da: Serhii Pimenov @.> Inviato: martedì 31 maggio 2022 12:28 A: olton/Metro-UI-CSS @.> Cc: Francesco @.>; Author @.> Oggetto: Re: [olton/Metro-UI-CSS] mif- icons not rendered (Issue #1869)

Check your code, maybe you do use not an existing icon.

- Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Folton%2FMetro-UI-CSS%2Fissues%2F1869%23issuecomment-1141955699&data=05%7C01%7C%7Ce45f4b249bf447827fc308da42f0354d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637895896690582955%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=R%2F81BDKb0WR%2BlesL%2BVKSCA53R%2BhD3Mr06IRyM1Pj%2FX8%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAFCO3L4QQKFA6666ES776J3VMXSSHANCNFSM5XM4H5OQ&data=05%7C01%7C%7Ce45f4b249bf447827fc308da42f0354d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637895896690582955%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=k7VOm28Tz93ZvRnXs7%2BTgmlXqpwrLTHSWrmKubMw6yE%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

FrancescoCarraro commented 2 years ago

I'm facing the following error: Failed to decode downloaded font... ots parsing error invalid sfntversion...

any suggestion?

Da: Serhii Pimenov @.> Inviato: martedì 31 maggio 2022 12:28 A: olton/Metro-UI-CSS @.> Cc: Francesco @.>; Author @.> Oggetto: Re: [olton/Metro-UI-CSS] mif- icons not rendered (Issue #1869)

Check your code, maybe you do use not an existing icon.

- Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Folton%2FMetro-UI-CSS%2Fissues%2F1869%23issuecomment-1141955699&data=05%7C01%7C%7Ce45f4b249bf447827fc308da42f0354d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637895896690582955%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=R%2F81BDKb0WR%2BlesL%2BVKSCA53R%2BhD3Mr06IRyM1Pj%2FX8%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAFCO3L4QQKFA6666ES776J3VMXSSHANCNFSM5XM4H5OQ&data=05%7C01%7C%7Ce45f4b249bf447827fc308da42f0354d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637895896690582955%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=k7VOm28Tz93ZvRnXs7%2BTgmlXqpwrLTHSWrmKubMw6yE%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

FrancescoCarraro commented 2 years ago

Ok, it turned out the path in the @font-face declaration was the cause of the error...I don't know why this never happened before....anyway...issue is solved

thanks again for your support

Francesco

Da: Serhii Pimenov @.> Inviato: martedì 31 maggio 2022 12:28 A: olton/Metro-UI-CSS @.> Cc: Francesco @.>; Author @.> Oggetto: Re: [olton/Metro-UI-CSS] mif- icons not rendered (Issue #1869)

Check your code, maybe you do use not an existing icon.

- Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Folton%2FMetro-UI-CSS%2Fissues%2F1869%23issuecomment-1141955699&data=05%7C01%7C%7Ce45f4b249bf447827fc308da42f0354d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637895896690582955%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=R%2F81BDKb0WR%2BlesL%2BVKSCA53R%2BhD3Mr06IRyM1Pj%2FX8%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAFCO3L4QQKFA6666ES776J3VMXSSHANCNFSM5XM4H5OQ&data=05%7C01%7C%7Ce45f4b249bf447827fc308da42f0354d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637895896690582955%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=k7VOm28Tz93ZvRnXs7%2BTgmlXqpwrLTHSWrmKubMw6yE%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>