Your message dated Sat, 03 Mar 2012 17:24:35 +0000
with message-id <[email protected]>
and subject line Bug#661987: fixed in sdl-ttf2.0 2.0.11-2
has caused the Debian Bug report #661987,
regarding sdl-ttf2.0: TTF_RenderGlyph_Shaded is broken
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.)
--
661987: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661987
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sdl-ttf2.0
Severity: normal
Version: 2.0.11-1
Dear Maintainer,
TTF_RenderGlyph_Shaded() is broken. I wrote a small program to reproduce
the bug. Please read the attachment for the program.
This bug has been reported to the upstream and there is a patch to fix
this bug. Please read
http://bugzilla.libsdl.org/show_bug.cgi?id=1433
I report it here just for easier tracking.
Yours Sincerely,
Paul Liu
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=ja_JP.utf8, LC_CTYPE=ja_JP.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libsdl-ttf2.0-0 depends on:
ii libc6 2.13-26
ii libfreetype6 2.4.8-1
ii libsdl1.2debian 1.2.15-1
ii multiarch-support 2.13-26
ii zlib1g 1:1.2.6.dfsg-1
libsdl-ttf2.0-0 recommends no packages.
libsdl-ttf2.0-0 suggests no packages.
-- no debconf information
--
PaulLiu (劉穎駿)
E-mail: Ying-Chun Liu (PaulLiu) <[email protected]>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <SDL_ttf.h>
#include <SDL.h>
/*
gcc -g -o test test.c `sdl-config --cflags` `sdl-config --libs` -lSDL_ttf
*/
int main() {
SDL_Color fcolor={0xff, 0xff, 0xff}, bcolor={0, 0xff, 0};
Uint16 text = 't';
const char *text_str = "t";
TTF_Font *font = NULL;
SDL_Surface *tmp,*screenSurface;
int running=1;
SDL_Rect dstrect;
SDL_Event event;
if ( SDL_Init( SDL_INIT_VIDEO | SDL_INIT_TIMER | SDL_INIT_AUDIO ) < 0 ){
fprintf( stderr, "Couldn't initialize SDL: %s\n", SDL_GetError() );
exit(-1);
}
if ( TTF_Init() < 0 ){
fprintf( stderr, "Can't initialize SDL TTF\n");
exit(-1);
}
screenSurface = SDL_SetVideoMode( 800,600,0,0);
font = TTF_OpenFont ("/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf",30);
if (!font) {
printf("TTF_OpenFont: %s\n", TTF_GetError());
}
if (TTF_GlyphIsProvided(font,text)) {
printf ("%s:%d Code %x is provided\n",__func__,__LINE__,text);
}
while (running) {
while (SDL_PollEvent(&event)) {
switch (event.type) {
case SDL_QUIT:
running=0;
break;
default:
break;
}
}
/* put a 't' character in (100,100) */
tmp = TTF_RenderGlyph_Shaded( font, text, fcolor, bcolor );
if (!tmp) {
printf("%s:%d Error\n",__func__,__LINE__);
}
memset(&dstrect,0,sizeof(SDL_Rect));
dstrect.x = 100;
dstrect.y = 100;
SDL_BlitSurface(tmp,NULL,screenSurface,&dstrect);
SDL_FreeSurface(tmp);
/* put a 't' character in (200,100) */
tmp = TTF_RenderText_Shaded( font, text_str, fcolor, bcolor );
if (!tmp) {
printf("%s:%d Error\n",__func__,__LINE__);
}
memset(&dstrect,0,sizeof(SDL_Rect));
dstrect.x = 200;
dstrect.y = 100;
SDL_BlitSurface(tmp,NULL,screenSurface,&dstrect);
SDL_FreeSurface(tmp);
SDL_UpdateRect(screenSurface,0,0,0,0);
SDL_Delay(50);
}
return 0;
}
signature.asc
Description: OpenPGP digital signature
--- 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 ---