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

Geon bit master 4.3 font fix #139

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DavidFidge
Copy link
Contributor

Fix FontDescriptionProcessor had unexpected failure build issue on windows - use specific ttf files instead of relying on installed fonts.

https://community.monogame.net/t/fontdescriptionprocessor-had-unexpected-failure/18110/3

Also note that installed fonts don't work properly on windows since it is unable to resolve the unique 'styles' that Bitstream Vera Sans Mono has (refer to monogame pull request 7993). Using ttf directly avoids all these issues.

MonoGame/MonoGame#7993

…ndows - use specific ttf files instead of relying on installed fonts.

https://community.monogame.net/t/fontdescriptionprocessor-had-unexpected-failure/18110/3

Also note that installed fonts don't work properly on windows since it is unable to resolve the unique 'styles' that Bitstream Vera Sans Mono has (refer to monogame pull request 7993). Using ttf directly avoids all these issues.

MonoGame/MonoGame#7993
@DavidFidge
Copy link
Contributor Author

The current version has build issues on windows - the content builder comes up with "FontDescriptionProcessor had unexpected failure build". Installing fonts via right-clicking and Install in Windows Explorer does not fix the issue, at least not in windows 11 - the variants (bold, italic, roman, oblique) are treated as styles of the font family rather than being installed as a font in its own right. I'm not sure if there's a way in Windows to force it to install the sub-styles as a top level font. I couldn't find one.

The easiest fix is just to have the content builder use the .ttf file directly. Refer to https://community.monogame.net/t/fontdescriptionprocessor-had-unexpected-failure/18110/3

I haven't tested this on Linux.

@DavidFidge
Copy link
Contributor Author

Looks like there's a similar pull request in #138

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

Successfully merging this pull request may close these issues.

None yet

1 participant