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

ezLabel() THEME_COLORS causes NUMONLY7SEG48 font to not update #18

Open
MakerMatrix opened this issue Apr 28, 2021 · 1 comment
Open

Comments

@MakerMatrix
Copy link

ezLabel luxValue = ezLabel(150, 60, 150, 60, "0", THEME_COLORS, NUMONLY7SEG48, EZ_LEFT);

^ That label will not update properly - the segments stay on as it does and eventually become all "lit"

ezLabel luxValue = ezLabel(150, 60, 150, 60, "0", {0xFFFF, 0x0000, 0xFFFF}, NUMONLY7SEG48, EZ_LEFT);

^ That label works fine

@MakerMatrix
Copy link
Author

MakerMatrix commented Apr 28, 2021

It seems the original issue affects at least some other fonts (e.g. FSSB24) as well, it just happens that I was not updating those labels when I first wrote the issue.

Further, I cannot make the FMBO24 font draw in black.

ezLabel titleLabel = ezLabel(0, 0, 320, 50, "TSL-2561", {WHITE, BLACK, WHITE}, FMBO24, EZ_CENTER);

^ This or any variation on specifying black fill, bricks my Core2

ezLabel titleLabel = ezLabel(0, 0, 320, 50, "TSL-2561", {WHITE, BLACK, WHITE}, FMB24, EZ_CENTER);
ezLabel titleLabel = ezLabel(0, 0, 320, 50, "TSL-2561", {WHITE, GREEN, WHITE}, FMBO24, EZ_CENTER);

^ Both of those work fine

That is very confusing - hard for me to imagine what would cause that.

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