FontIcon Foreground Issue With Color Glyphs
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 9.6k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
//
To Reproduce
//
Expected behavior
//
Screenshots
//
OS version
//
.NET version
//
WPF-UI NuGet version
//
Additional context
So i'm creating this issue because i need some input from you guys about how to resolve this following issue in a good way:
The problem is, as for now, that the IconElement sets a default foreground brush by default.
The problem with that is, that it limits the FontIcon class to make use of color glyph provided by fonts like Segoe UI Emoji.
But we cannot not set a default (i guess) because you would have to do it manually everytime yourself.
So, here i am, seeking for someone who got a good idea.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names IconElement and FontIcon, with Segoe UI Emoji as the affected font, but provides no file, test, reproduction, or version details. Start by locating those controls and reproducing the foreground behavior in a WPF sample; done means a documented, maintainer-approved way to preserve color glyphs without breaking the default foreground behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100