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

Fonts.Families takes roboto font instead of fontawesome #5

Open
ZakiMohammed opened this issue Mar 12, 2016 · 0 comments
Open

Fonts.Families takes roboto font instead of fontawesome #5

ZakiMohammed opened this issue Mar 12, 2016 · 0 comments

Comments

@ZakiMohammed
Copy link

I am literally stuck in this error please help me out.

The problem is when i start my application it takes me to the IconButton.cs at line 269 and state

An unhandled exception of type 'System.ArgumentException' occurred in System.Drawing.dll, Additional information: Font 'Roboto' does not support style 'Regular'.

this error on GetIconFontmethod while getting the Fonts.Families[0].

Instead of taking the font "FontAwesome" it takes the Roboto font and of which it doesn't find Regular style.

This error some times come up and some times the application run as smoothly as it should.

And the last and vital piece of information about my application is that i am using Material Design for windows form application made by this guy heres the link https://github.com/IgnaceMaes/MaterialSkin

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

1 participant