Your message dated Sat, 03 Mar 2012 17:24:35 +0000
with message-id <[email protected]>
and subject line Bug#405378: fixed in sdl-ttf2.0 2.0.11-2
has caused the Debian Bug report #405378,
regarding libsdl-ttf2.0-0: Lack of error reporting for glyph rendering errors
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
405378: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405378
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libsdl-ttf2.0-0
Version: 2.0.8-3+b1
Severity: minor
Tags: patch
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...
Thanks,
Kevin
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18.20061209a
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages libsdl-ttf2.0-0 depends on:
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii libfreetype6 2.2.1-5 FreeType 2 font engine, shared lib
ii libsdl1.2debian 1.2.11-7 Simple DirectMedia Layer
ii zlib1g 1:1.2.3-13 compression library - runtime
libsdl-ttf2.0-0 recommends no packages.
-- no debconf information
--- SDL_ttf.c.orig 2007-01-02 19:01:41.000000000 -0700
+++ SDL_ttf.c 2007-01-02 19:12:24.000000000 -0700
@@ -888,6 +888,7 @@
error = Find_Glyph(font, c, CACHED_METRICS);
if ( error ) {
+ TTF_SetFTError("Couldn't find glyph", error);
return -1;
}
glyph = font->current;
@@ -1089,6 +1090,7 @@
error = Find_Glyph(font, c, CACHED_METRICS|CACHED_BITMAP);
if( error ) {
+ TTF_SetFTError("Couldn't find glyph", error);
SDL_FreeSurface( textbuf );
return NULL;
}
@@ -1165,6 +1167,7 @@
/* Get the glyph itself */
error = Find_Glyph(font, ch, CACHED_METRICS|CACHED_BITMAP);
if ( error ) {
+ TTF_SetFTError("Couldn't find glyph", error);
return(NULL);
}
glyph = font->current;
@@ -1351,6 +1354,7 @@
error = Find_Glyph(font, c, CACHED_METRICS|CACHED_PIXMAP);
if( error ) {
+ TTF_SetFTError("Couldn't find glyph", error);
SDL_FreeSurface( textbuf );
return NULL;
}
@@ -1433,6 +1437,7 @@
/* Get the glyph itself */
error = Find_Glyph(font, ch, CACHED_METRICS|CACHED_PIXMAP);
if( error ) {
+ TTF_SetFTError("Couldn't find glyph", error);
return NULL;
}
glyph = font->current;
@@ -1601,6 +1606,7 @@
}
error = Find_Glyph(font, c, CACHED_METRICS|CACHED_PIXMAP);
if( error ) {
+ TTF_SetFTError("Couldn't find glyph", error);
SDL_FreeSurface( textbuf );
return NULL;
}
@@ -1685,6 +1691,7 @@
/* Get the glyph itself */
error = Find_Glyph(font, ch, CACHED_METRICS|CACHED_PIXMAP);
if ( error ) {
+ TTF_SetFTError("Couldn't find glyph", error);
return(NULL);
}
glyph = font->current;
--- End Message ---
--- Begin Message ---
Source: sdl-ttf2.0
Source-Version: 2.0.11-2
We believe that the bug you reported is fixed in the latest version of
sdl-ttf2.0, which is due to be installed in the Debian FTP archive:
libsdl-ttf2.0-0_2.0.11-2_amd64.deb
to main/s/sdl-ttf2.0/libsdl-ttf2.0-0_2.0.11-2_amd64.deb
libsdl-ttf2.0-dev_2.0.11-2_amd64.deb
to main/s/sdl-ttf2.0/libsdl-ttf2.0-dev_2.0.11-2_amd64.deb
sdl-ttf2.0_2.0.11-2.debian.tar.gz
to main/s/sdl-ttf2.0/sdl-ttf2.0_2.0.11-2.debian.tar.gz
sdl-ttf2.0_2.0.11-2.dsc
to main/s/sdl-ttf2.0/sdl-ttf2.0_2.0.11-2.dsc
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Manuel A. Fernandez Montecelo <[email protected]> (supplier of updated
sdl-ttf2.0 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 03 Mar 2012 15:46:34 +0000
Source: sdl-ttf2.0
Binary: libsdl-ttf2.0-0 libsdl-ttf2.0-dev
Architecture: source amd64
Version: 2.0.11-2
Distribution: unstable
Urgency: low
Maintainer: Debian SDL packages maintainers
<[email protected]>
Changed-By: Manuel A. Fernandez Montecelo <[email protected]>
Description:
libsdl-ttf2.0-0 - TrueType Font library for Simple DirectMedia Layer 1.2,
libraries
libsdl-ttf2.0-dev - TrueType Font library for Simple DirectMedia Layer 1.2,
developme
Closes: 405378 661987
Changes:
sdl-ttf2.0 (2.0.11-2) unstable; urgency=low
.
* Bump Standards-Version to 3.9.3 (no changes needed)
* Depend on debhelper>=9~
- Remove lintian warning
package-needs-versioned-debhelper-build-depends 9
* Add lintian override for the slightly different name libSDL-ttf-2.0-0
* Use "dh_autoreconf --as-needed" in debian/rules
* Change debian/copyright format URI to
http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
* Added patch for "TTF_RenderGlyph_Shaded is broken" (Closes: #661987),
thanks
Ying-Chun Liu (PaulLiu) for the report and pointing to the fix.
* Added patch for "Lack of error reporting for glyph rendering errors"
(Closes: #405378), thanks Kevin Locke for the report and providing the the
fix (accepted upstream already).
Checksums-Sha1:
629622d4069e863a050e66fe5f239eb648e28b94 1535 sdl-ttf2.0_2.0.11-2.dsc
f345d9b0f5873a0cad721462058063b09bda7894 5752 sdl-ttf2.0_2.0.11-2.debian.tar.gz
7ae4f1d9d901cb8c07f100ebb030f479dc168332 20442
libsdl-ttf2.0-0_2.0.11-2_amd64.deb
4bc057cea52e9d8ef4394b3ae5b8a01e7ab7a740 29084
libsdl-ttf2.0-dev_2.0.11-2_amd64.deb
Checksums-Sha256:
1d50a9b0728ac75f1c17ea14946b033302fb388da95a41d4a4db0b9a72769be3 1535
sdl-ttf2.0_2.0.11-2.dsc
e2c1a7bb9b21bab12fbb76223aa264e1a71e9cf08ff7a7fe8807f81f15a264dc 5752
sdl-ttf2.0_2.0.11-2.debian.tar.gz
866127266cb440779e7cee0f0160210cb8f95bfbd7e846bbb0993d2d55adbcda 20442
libsdl-ttf2.0-0_2.0.11-2_amd64.deb
2674e2a2aa4354404738acfe429ee459c36ae5b99c281775b7cd68c464eb97d9 29084
libsdl-ttf2.0-dev_2.0.11-2_amd64.deb
Files:
abbc56599df5b5efb068f020ce2c5ffc 1535 libs optional sdl-ttf2.0_2.0.11-2.dsc
8cceb2dc9157339d7f9b06233aeee499 5752 libs optional
sdl-ttf2.0_2.0.11-2.debian.tar.gz
70d28b0adc6e5eb51901469befc0646e 20442 libs optional
libsdl-ttf2.0-0_2.0.11-2_amd64.deb
97c01adae171b517e20181911bf59af6 29084 libdevel optional
libsdl-ttf2.0-dev_2.0.11-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAk9SUj8ACgkQK4B7+/vnTpqEOgCgr1I5gWN0a3XIYg1LP3QDTrtD
DaYAoNfTAbz+zbgN+cghk3AhwrBM05Tz
=uZAP
-----END PGP SIGNATURE-----
--- End Message ---