| Summary: | Add some robustness to SDL_ttf | ||
|---|---|---|---|
| Product: | SDL_ttf | Reporter: | Sylvain <sylvain.becker> |
| Component: | misc | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: | patch | ||
|
Description
Sylvain
2018-11-10 13:53:50 UTC
Created attachment 3483 [details]
patch
BTW since it touches the SDL_ceilf(glyph_italic...) : There was a commit "SDL_ttf uses SDL_ceilf(), which is in SDL 2.0.8 " https://hg.libsdl.org/SDL_ttf/rev/c763e38e7dfd There is only one call to SDL_ceilf() We could prevent to update the dependency by not using SDL_ceilf, and by using fixed point arithmetic there. Let me know if I can provide a patch. Fixed, thanks! https://hg.libsdl.org/SDL_ttf/rev/50fb59da9a0e Updating the SDL dependency is fine, thanks though! |