Skip to content

Shows a warning when createFont can't find a named font (#5481)#5605

Merged
benfry merged 1 commit into
processing:masterfrom
FlorisVO:master
Jan 18, 2019
Merged

Shows a warning when createFont can't find a named font (#5481)#5605
benfry merged 1 commit into
processing:masterfrom
FlorisVO:master

Conversation

@FlorisVO

@FlorisVO FlorisVO commented Aug 3, 2018

Copy link
Copy Markdown
Contributor

I fixed this 'issue' (enchantment) #5481. createFont(...) shows a warning when a named font (without extension) is not found on the system.

Example:

Code
void setup() { PFont font = createFont("unknown",20); }

Output
Warning: font "unknown" is missing or inaccessible on this system. Default font "Dialog.plain" is used.

@benfry benfry merged commit 87a6594 into processing:master Jan 18, 2019
@benfry

benfry commented Jan 18, 2019

Copy link
Copy Markdown
Contributor

Thank you!

@github-actions

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants