Skip to content

Should font be local? #151

@AeriaVelocity

Description

@AeriaVelocity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions