mfractor / mfractor-feedback

Found a bug or have a feature request for MFractor? Submit it here!
3 stars 0 forks source link

[Suggestion] Font embed failure #275

Closed davidortinau closed 4 years ago

davidortinau commented 4 years ago

Mfractor does a wonderful job of showing me the fonts in my project and even previewing them (nice for icons!). BUT I made a mistake in scaffolding my project and the font files where not set as embedded resources. Agh! So I was thinking all was well b/c mfractor was showing me that it knew my fonts, but at runtime I wasn't getting the fonts and icons I expected.

It would be awesome if you could check that the fonts are indeed embedded resources if they are using the exportfont feature.

matthewrdev commented 4 years ago

@davidortinau This is pretty easy to do and a great addition to the font tooling. I will also include a code-fix to change the build action to EmbeddedResource.

matthewrdev commented 4 years ago

@davidortinau Done. I've added an analyser and code fix for this issue:

Screen Shot 2020-07-19 at 8 01 16 pm
matthewrdev commented 4 years ago

@davidortinau This will be release in MFractor 4.2.11 (due this week).