| Summary: | TTF_RenderUTF8_Blended_Wrapped behaives badly when it can't wrap. | ||
|---|---|---|---|
| Product: | SDL_ttf | Reporter: | jason |
| Component: | misc | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | sylvain.becker |
| Version: | 2.0.12 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: | patch | ||
|
Description
jason
2015-11-11 18:43:10 UTC
Created attachment 3416 [details]
patch
small workaround: an unbreakable line doesn't render overlapped
and also clear kerning at beginning of line.
"and also clear kerning at beginning of line." This one is actually an issue. it can remain a prev_index and do a kerning with "space" and "A" for instance, and you get a negative xstart. which a cause of overlap. Patch added, thanks! https://hg.libsdl.org/SDL_ttf/rev/a17fa7057563 |