Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filled Style for Material Symbols on iOS not working #770

Open
kaniosm opened this issue Sep 23, 2024 · 3 comments
Open

Filled Style for Material Symbols on iOS not working #770

kaniosm opened this issue Sep 23, 2024 · 3 comments
Labels
bug-report Potential bug that should be verified platform-ios Something is related to iOS project-icons

Comments

@kaniosm
Copy link

kaniosm commented Sep 23, 2024

While the below renders on Android, it won't render on iOS.
It renders the non filled equivalent instead.

FontImageSource FontFamily=MaterialSharpFilled, Glyph={x:Static m:MaterialSharp.Favorite}, Color=White, Size=20

@enisn enisn added bug-report Potential bug that should be verified project-icons platform-ios Something is related to iOS labels Sep 23, 2024
@enisn
Copy link
Owner

enisn commented Sep 24, 2024

Do you use MaterialIcons or MaterialSymbols?

Material Icons are deprecated by Google, so I can't support on that anymore
image

Currently migrating might be tough but you can use UraniumUI.Icons.MaterialSymbols instead MaterialIcons in the future.

https://fonts.google.com/icons

As I see in the new fonts, there is a switch for Fill, I'll take a look at it how it can be implemented in MAUI

@kaniosm
Copy link
Author

kaniosm commented Sep 24, 2024

Hi Enis,

I'm talking about Material Symbols, not Material Icons

@kaniosm
Copy link
Author

kaniosm commented Sep 24, 2024

I followed this discussion:
#739

And used the below code, which seems to work on Android but not on iOS:

FontImageSource FontFamily=MaterialSharpFilled, Glyph={x:Static m:MaterialSharp.Favorite}, Color=White, Size=20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Potential bug that should be verified platform-ios Something is related to iOS project-icons
Projects
None yet
Development

No branches or pull requests

2 participants