Your message dated Tue, 31 Jan 2012 18:32:58 +0000
with message-id <[email protected]>
and subject line Bug#438749: fixed in sdl-ttf2.0 2.0.11-1
has caused the Debian Bug report #438749,
regarding sdl-ttf2.0: TrueType font which has embedded bitmaps was not properly 
rendered
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.)


-- 
438749: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=438749
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sdl-ttf2.0
Severity: minor
Version: 2.0.9-1

When using TrueType fonts with embedded bitmaps, it gets segmentation
faults. I wrote a small program to reproduce the bug. Please read the
attachment for the program. The program use fonts from
"ttf-kochi-gothic" package, please also install it before reproducing
the bug.

However, this bug has been reported to the upstream and the upstream has
fixed this bug. We can wait for new upstream version to solve it.
Please read http://bugzilla.libsdl.org/show_bug.cgi?id=190
I report it here just for easier tracking.

Regards,
 Ying-Chun Liu

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-k7 (SMP w/1 CPU core)
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash


-- 
                                                PaulLiu(劉穎駿)
E-mail address: [email protected]
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <SDL_ttf.h>
#include <SDL.h>

/*
gcc -g -o crashsdlttf crashsdlttf.c `sdl-config --cflags` \
`sdl-config --libs` -lSDL_ttf
*/

int main() {
  SDL_Color fcolor={0xff, 0xff, 0xff}, bcolor={0, 0, 0};
  Uint16 text = 21517; /* Name */
  TTF_Font *font = NULL;
  SDL_Surface *tmp,*screenSurface;

  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,24,0);                          
  
  font = TTF_OpenFont ("/usr/share/fonts/truetype/kochi/kochi-gothic.ttf",20); /* crash */
  // font = TTF_OpenFont ("/usr/share/fonts/truetype/kochi/kochi-gothic.ttf",24); /* no problem */
  
  tmp = TTF_RenderGlyph_Shaded( font, text, fcolor, bcolor );
  if (tmp!=NULL) {
    SDL_FreeSurface(tmp);
    printf ("OK\n");
  }
  return 0;
}

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: sdl-ttf2.0
Source-Version: 2.0.11-1

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-1_amd64.deb
  to main/s/sdl-ttf2.0/libsdl-ttf2.0-0_2.0.11-1_amd64.deb
libsdl-ttf2.0-dev_2.0.11-1_amd64.deb
  to main/s/sdl-ttf2.0/libsdl-ttf2.0-dev_2.0.11-1_amd64.deb
sdl-ttf2.0_2.0.11-1.debian.tar.gz
  to main/s/sdl-ttf2.0/sdl-ttf2.0_2.0.11-1.debian.tar.gz
sdl-ttf2.0_2.0.11-1.dsc
  to main/s/sdl-ttf2.0/sdl-ttf2.0_2.0.11-1.dsc
sdl-ttf2.0_2.0.11.orig.tar.gz
  to main/s/sdl-ttf2.0/sdl-ttf2.0_2.0.11.orig.tar.gz



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: Fri, 27 Jan 2012 11:43:59 +0000
Source: sdl-ttf2.0
Binary: libsdl-ttf2.0-0 libsdl-ttf2.0-dev
Architecture: source amd64
Version: 2.0.11-1
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: 413069 438749 515122 594824 595739 653656
Changes: 
 sdl-ttf2.0 (2.0.11-1) unstable; urgency=low
 .
   * New upstream release (Closes: #515122, #595739, #413069, #438749, #594824)
     - License switched to zlib/libpng
   * New maintainers
     - Make package as part of SDL team
     - Add myself to Uploaders, and setting DM-Upload-Allowed: yes
     - Remove previous maintainers/uploaders, inactive for years and they have
       been informed
   * Changes in packaging:
     - Switch to debhelper compat level v9 (level 4 before, obsolete)
       - Greatly simplifying debian/rules accordingly
       - Build for multiarch (Closes: #653656)
     - Bump Standards-Version to 3.9.2 (no changes needed)
     - Added 'source/format', with '3.0 (quilt)'
     - Modifications to dependencies and build options:
       - Depending on newer dpkg-dev
       - Depending on SDL >= 1.2.14 (instead of misc old versions)
     - debian/copyright: updated license and converted to DEP-5
     - Modifying slightly the descriptions
     - lintian source override for versioned debhelper warning
Checksums-Sha1: 
 9e2dbeeed477e00b43d48ab487e576ef9723a74e 2177 sdl-ttf2.0_2.0.11-1.dsc
 0ccf7c70e26b7801d83f4847766e09f09db15cc6 4053686 sdl-ttf2.0_2.0.11.orig.tar.gz
 bafc734112531e618192451dc1b0f472ff00e426 4252 sdl-ttf2.0_2.0.11-1.debian.tar.gz
 f99792cf6e3fa37cf5e253957f4a1ddc10b22c36 19916 
libsdl-ttf2.0-0_2.0.11-1_amd64.deb
 f2d26bbb68700c9405e2cfb5961bbfa8e4d23fb7 29318 
libsdl-ttf2.0-dev_2.0.11-1_amd64.deb
Checksums-Sha256: 
 6f5c4cad3b291c44b83c55865497e7ee9a36238844a0e89974f52c2757c7f90b 2177 
sdl-ttf2.0_2.0.11-1.dsc
 724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7 4053686 
sdl-ttf2.0_2.0.11.orig.tar.gz
 93cf54373f6174b2dd59aa7a8ccda02de15e3aeb3a18dddfa0badfc7122894ed 4252 
sdl-ttf2.0_2.0.11-1.debian.tar.gz
 1d37ba80d1d53fe9e8214e589a21c7b9eba406e48e74b2d9090c0bdf18f2b5ea 19916 
libsdl-ttf2.0-0_2.0.11-1_amd64.deb
 a4b3ade85aef9259f41a57272711d893dcbb997b4005e1c58b7a0890840cd243 29318 
libsdl-ttf2.0-dev_2.0.11-1_amd64.deb
Files: 
 8093419176e23ed5678463314bb9a088 2177 libs optional sdl-ttf2.0_2.0.11-1.dsc
 61e29bd9da8d245bc2471d1b2ce591aa 4053686 libs optional 
sdl-ttf2.0_2.0.11.orig.tar.gz
 eea0ab4fa7c44283661b05b38e69f820 4252 libs optional 
sdl-ttf2.0_2.0.11-1.debian.tar.gz
 950b9a2aec03964fad2c6063cb59127b 19916 libs optional 
libsdl-ttf2.0-0_2.0.11-1_amd64.deb
 1f92b26da3c9796d7062da922936daae 29318 libdevel optional 
libsdl-ttf2.0-dev_2.0.11-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJPKC9KAAoJEMMfT9lJqytsc3QQAILmY3TAm0kmEV3XcLbGpUqo
hX61ri3yCg2fRLjIwg3YWbP4cunKUoHN7m4CqLleCRfMUWHFth/Iteihhl0GpEka
55il4qED97lbB9Z4WXmqUXlbqThrGa+pOmw+Q66eQ2yWamoYl8rKe5EGRqy6Kajb
RhqTBIV58QKi/9yafKzGkioBVaQpoxIBaqnvA71Qz4ptapjblprwgVnzai6XznRs
K3zHcEVYHXAdTxS9OBsaAhh/QYADAex/i8uLosYSb0VVGdTFlTDihSTvwUWsELSm
srJMpwaQaFn9gkhxksTp3V7s6d1OEZYpgTeIV9jsdrSWh3ZOah82lsc+0SqZfLe+
2n/NgXFp7CYfFBHmnefiTJ6V3tY1JcQvh+N8Dyx0ZQtb6RZMPR0mNOFRNOYnozf1
M7YC7ge1NFZi+8mJ4kK+ZsFEyJ8DUOzcIY9Rr/vuSV9IMobupksXJQt2Nghrecn8
eN9sKDCcBJQtvAxFa3VUCM+5PIx0Tt7/jhEJjwNuUhrr59oo1LuiwKDLWvfPviNi
7jN6AlNNP/Nf5lBmC8IycQDv1dIXpUblG+qz38MjR1xC/gEc3zbZu8DaKtfaO51I
l5Lg3JgYSMy/cpr15QFKkv56r3G/6LW87HiiCNTYHgeHT3OSbJ8HV++S+V2wLiy5
suPd068+EpK/TUpLHLoI
=wNSo
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to