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

Debian patch: Lack of error reporting for glyph rendering errors #24

Closed
SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Closed

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: unspecified
Reported for operating system, platform: Linux, Other

Comments on the original bug report:

On 2012-01-27 12:00:35 +0000, wrote:

Created attachment 808
libsdl-ttf2.0-glyph_error_reporting.patch

Debian contains the following bug report with a patch attached since a while ago, but I think that the upstream code still lacks these fixes/suggestions, so I don't think that it has been reported upstream. Anyway, it seems appropriate and useful to me to forward the bug report and patch.

http://bugs.debian.org/405378

Package: libsdl-ttf2.0-0
Version: 2.0.8-3+b1

I was just bitten by bug 374062 (any word if this will be fixed for
etch given that it is fixed upstream?), and found that there is no
error message set by sdl-ttf when it is unable to render a glyph,
which makes bugs like this a bit more difficult to track down. I
would really appreciate it if TTF_GetError() could return a useful
message in such situations. The attached patch does just that by
duplicating the existing error reporting for calls to Find_Glyph()
into the places where it is missing, although it might be nice to know
which glyph it was that could not be found...

The patch might be a bit out of date so maybe it doesn't apply cleanly, but that should be easy to fix if you're interested in incorporating it.

On 2012-01-28 07:29:23 +0000, Sam Lantinga wrote:

Fixed, thanks!
http://hg.libsdl.org/SDL_ttf/rev/b09799bf8dff

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