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

deckmaster breaks when failing to load missing font #52

Open
helioseven opened this issue Oct 19, 2021 · 1 comment
Open

deckmaster breaks when failing to load missing font #52

helioseven opened this issue Oct 19, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@helioseven
Copy link

First time running after successfully building I got hit with an error: cannot find font 'Roboto-Regular.ttf' in user or system directories. This is easily fixable by downloading the Roboto font family (eg from Google) and installing it to /usr/share/icons or whatever; however, it doesn't seem like something that should break execution if the font can't be found.

Proposed Solution:

  • Probably some sort of try/catch block around the font loading, with a default fallback.
@muesli muesli added the enhancement New feature or request label Feb 16, 2022
@jdoss
Copy link

jdoss commented Nov 27, 2023

This can be fixed on Fedora by running:

sudo dnf install google-roboto-fonts.noarch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants