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

Platformer2D sample is not building due to missing font file #62

Open
dezoitodemaio opened this issue Nov 9, 2022 · 4 comments
Open

Comments

@dezoitodemaio
Copy link

I had to change the FontName property in Hud.spritefont to FreeSans in order to build the sample.
There is no Arial or Arial Bold font since i'm using Ubuntu.

@SimonDarksideJ
Copy link
Contributor

Only just spotted this, but I find it odd this hasn't come up before, will do a fresh clone and test.

@MonogameGuy
Copy link

The Arial font is a proprietary font and is not included in most Linux repositories due to licensing restrictions.

You can install Microsoft's TrueType core fonts using the package ttf-mscorefonts-installer.

sudo apt install ttf-mscorefonts-installer

@SimonDarksideJ
Copy link
Contributor

We recently went through this exercise with the new "StartKit" templates. I'll ensure we also follow though with that work to update our current samples.

@SimonDarksideJ
Copy link
Contributor

PR submitted for testing to replace the Arial font
#82

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