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

Underflow in uint8_t conversion #5

Open
Chlumsky opened this issue May 3, 2022 · 1 comment
Open

Underflow in uint8_t conversion #5

Chlumsky opened this issue May 3, 2022 · 1 comment

Comments

@Chlumsky
Copy link

Chlumsky commented May 3, 2022

I noticed the SDF images people were posting in issues seemed really broken, so I tried it out myself and sure enough got the same result. I was wondering how come the non-SDF output image was still OK, and I noticed that when you transfer msdf to bitmap_sdf, you convert negative values to unsigned integers (uint8_t).

Bad Good
bad good
@solenum
Copy link
Owner

solenum commented May 9, 2022

Good catch, I'll hopefully get time to check this out this week.

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

2 participants