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

Should font be local? #151

Open
AeriaVelocity opened this issue Sep 19, 2023 · 0 comments
Open

Should font be local? #151

AeriaVelocity opened this issue Sep 19, 2023 · 0 comments

Comments

@AeriaVelocity
Copy link

I'm using Windows and ran into this when running .\rs_doom.exe --iwad "C:\Program Files (x86)\Steam\steamapps\common\Ultimate Doom\base\DOOM.WAD" in <project root>\target\debug\release:

[ERROR rs_doom] Fatal error: Game error: during setup
[ERROR rs_doom]     caused by: System creation failed for `text_renderer`.
[ERROR rs_doom]     caused by: Font error: Cannot read font at assets/ttf/OpenSans-Regular.ttf
[ERROR rs_doom]     caused by: The system cannot find the path specified. (os error 3)
[ERROR rs_doom] Run with RUST_BACKTRACE=1 to capture backtrace.

It works fine if I use target\debug\release\rs_doom.exe, but should it be using local paths for the font? Ideally it should use a font on the user's system

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

1 participant