matthewrdev / fa2cs

Easily use FontAwesome icon codes in C#.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any idea why this might not work ?

stephenhauck opened this issue · comments

I made the same .cs file using https://andreinitescu.github.io/IconFont2Code/

So ... when I try to use it like so it does not work
image

MFractor knows what it is in the hover but ... no dice in the UI

image

Is my XAML off or ???
The fact that MFractor can show it tells me it's probably a Shell framework issue ?
Any direction you can offer would be appreciated ...

Hi @stephenhauck, I don't think your XAML is off, I've encountered font rendering issues before in Xamarin.Forms.

Can you attach the font and the font icon file to this issue and I'll attempt to reproduce? What platform(s) are you seeing this issue on?

I am seeing this on Android and iOS
I am simply using the Font Awesome otf fonts and generating the C# class here
https://andreinitescu.github.io/IconFont2Code/

I reported it here a few days ago but it seems no one understands or cares ...
MicrosoftDocs/xamarin-docs#3255

I have them all registered like this ..
image

And generated literals for each
image

And they are all set to "Embedded Resource"

None of them work ...

@stephenhauck Doing some house keeping on the issue in this repo. Did you end up getting this to work?

@stephenhauck I'm closing this issue as it's 6+ months old and, hopefully, you managed to get this to work. Please reach out again if you need further help :)