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

Newer versions of font don't play well with WPF. #8

Open
dylanthall opened this issue Mar 29, 2022 · 2 comments
Open

Newer versions of font don't play well with WPF. #8

dylanthall opened this issue Mar 29, 2022 · 2 comments

Comments

@dylanthall
Copy link

I'm not quite sure what changed, If I have time ill go through some historical versions to see if I can find the change that broke it. What I can say for certain though, is that If this font is included anywhere in a WPF project it takes 12.5s for Windows to load it from system fonts. I did not try to load the font in as its own resource however, and that may fix the problem. That being said, I downloaded an older commit from back in August 2020 and it worked just fine. 255ms instead of 12,500.

This was very reproducible All I had to do was create a WPF window in code that used a XAML file which depends on this font. As I know this is not a WPF git I'm sure this issue will basically be useless to you, but I'm putting it here in hopes that it helps someone else. Older versions of this font work in WPF, newer ones seem to take upwards of 12-15 seconds to load in, causing large application hangs.

@adamhewitt627
Copy link

Same issue for me. This would appears to relate to Templarian/MaterialDesign#6519.

@Templarian
Copy link
Owner

Interesting. This repo should generate with the newest version let me check what's going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants