| Summary: | Adjust rendered surface width, add an "SDL_PixelFormat *format" parameter. | ||
|---|---|---|---|
| Product: | SDL_ttf | Reporter: | Samuel Mimram <smimram> |
| Component: | misc | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED WONTFIX | QA Contact: | Sam Lantinga <slouken> |
| Severity: | enhancement | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://bugs.debian.org/206057 | ||
|
Description
Samuel Mimram
2006-06-25 17:40:11 UTC
A workaround: scan the resulting surface from left and from the right and find the x for the first non non-transparent pixel for each side. Subtracting those values from the width will give you the "true" width. |