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

Fix resource handling on Qt and use Roboto #11162

Merged
merged 2 commits into from Jun 9, 2018

Conversation

unknownbrackets
Copy link
Collaborator

As of #9061, we stopped using the qrc to bundle files into the Qt app. But we didn't remove the code looking up files this way, so it just meant they were gone.

This fixes lookup of assets on Qt, restoring languages and shader lists. Fixes #9832 (not sure if that works with PRs.)

Additionally, it uses Roboto like on other platforms, which I suspect will help #7581 (but have not tested diacritics specifically.) I personally think Roboto Condensed (our v1 of it) looks a lot better than the default font.

This also allows language inis to override the font, like on Windows. It uses the same translation string, not sure if that could be an issue.

-[Unknown]

It was no longer being used or linked, so it just meant the assets were missing.
With this removed, the assets (lang inis, shaders, etc.) are available again.

Fixes hrydgard#9831 - likely broken since hrydgard#9061, which stopped using the qrc.
@hrydgard hrydgard merged commit 6884751 into hrydgard:master Jun 9, 2018
@hrydgard
Copy link
Owner

hrydgard commented Jun 9, 2018

Nice.

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

2 participants