-
Notifications
You must be signed in to change notification settings - Fork 117
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
Fix missing fonts under Linux #437
Conversation
deda797
to
3de3b41
Compare
Any chance you could add screenshots of it in action (preferably of both old and new version)? ^^ Also regarding licenses, if they don't require redistributing license in same folder as font file, it'd might make sense to add them to LEGAL.txt in release repo to avoid adding a new license file for each new content of media that requires redistributing license. |
Getting screenshots and removing the licenses from this PR now. |
9865642
to
9bbb1f3
Compare
Looks close enough for me that the difference shouldn't matter. Maybe a second opinion by someone else would be nice (preferably not using Linux to avoid bias :P). That and gonna test it tonight to make sure it also works on my machine and then I could merge it ^^ |
6ff2c82
to
b74fe35
Compare
… this fixes Linux users needing to install proprietary fonts to use the in-game console.
a2ae9e5
to
19a1416
Compare
… txt files it checks against. UTF-16LE-BOM will crash the game with a division by zero error if it's not expecting the file to be encoded as such.
99a36e8
to
3c78fae
Compare
350a8af
to
3c78fae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An issue we also noticed in testing that streaming the in-game console with |
5718dcc
to
442a061
Compare
d2d69ef
to
89b7832
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got enough positive feedback on the updated font to consider it mergeable ^^
* Replace Arial and Lucidia fonts with Lato and Fira Code respectively, this fixes Linux users needing to install proprietary fonts to use the in-game console. * Clean up gitattributes and encoding.yml to be more specific about the txt files it checks against. UTF-16LE-BOM will crash the game with a division by zero error if it's not expecting the file to be encoded as such. * Replace Fira Code with Northstar Mono (Modified Fira Mono Regular)
This PR replaces Arial with Lato, and Lucidia with Northstar Mono (Modified Fira Mono Regular), removing the need to install fonts when running the game on Linux.
Licenses for these fonts have been included along-side the TTF.Adjusts .gitattributes and .github/workflows/encoding.yml to better target localization files, this fixes a crash caused by the font definition file being encoded as UTF-16LE-BOM
Related PRs:
R2Northstar/Northstar#314
R2Northstar/NorthstarWiki#91