Skip to content

FontManager: Don't warn of not found font if no filename was given. - #1021

Open
dj-bauer wants to merge 1 commit into
ngscopeclient:masterfrom
dj-bauer:master
Open

FontManager: Don't warn of not found font if no filename was given.#1021
dj-bauer wants to merge 1 commit into
ngscopeclient:masterfrom
dj-bauer:master

Conversation

@dj-bauer

Copy link
Copy Markdown
Contributor

In some configurations the default font is simply specified by leaving the config field empty.
The current behavior is warning about not having font file "" and informing of the default font being used.
Imo the only usecase where this warning is useful if a fontfile was actually set.
To prevent overexaustion of warnings not related this change only prints out a warning if the font to load is actually not empty.

In some configurations the default font is simply specified by leaving
the config field empty.
The current behavior is warning about not having font file "" and
informing of the default font being used.
Imo the only usecase where this warning is useful if a fontfile was
actually set.
To prevent overexaustion of warnings not related this change only prints
out a warning if the font to load is actually not empty.
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.

1 participant