SDL_image, SDL_mixer, SDL_ttf PRE-RELEASE! |
Sam Lantinga
|
Please thoroughly test these PRE-RELEASE versions, and report bugs to bugzilla:
http://bugzilla.libsdl.org/ Thanks to everybody who contributed feedback and patches for this release! SDL_image: http://www.libsdl.org/tmp/SDL_image-1.2.8.tar.gz http://www.libsdl.org/tmp/SDL_image-1.2.8.zip CHANGES: * Added support for uncompressed PCX files * Added IMG_Init()/IMG_Quit() to prevent constantly loading and unloading DLLs * Added support for ICO and CUR image files * Added ImageIO loading infrastructure for Mac OS X * Added UIImage loading infrastructure for iPhone / iPod Touch SDL_mixer: http://www.libsdl.org/tmp/SDL_mixer-1.2.9.tar.gz http://www.libsdl.org/tmp/SDL_mixer-1.2.9.zip CHANGES: * MOD support uses libmikmod and is dynamically loaded by default * A patched version of libmikmod is included in libmikmod-3.1.12.zip * Added TIMIDITY_CFG environment variable to fully locate timidity.cfg * Implemented seamless looping for music playback * Temporarily disabled native MIDI on Mac OS X since the APIs are not available on 10.6. The long term solution is to implement native MIDI using CoreAudio APIs. * ID3 files are now recognized as MP3 format * Fixed native MIDI crash on 64-bit Windows * Added decoder enumeration API: Mix_GetNumChunkDecoders(), Mix_GetChunkDecoder(), Mix_GetNumMusicDecoders(), Mix_GetMusicDecoder() * Added support for FLAC audio both as chunks and streaming * Added support for streaming WAV files with Mix_LoadMUS_RW() * Fixed crash caused by not resetting position_channels SDL_ttf: http://www.libsdl.org/tmp/SDL_ttf-2.0.10.tar.gz http://www.libsdl.org/tmp/SDL_ttf-2.0.10.zip CHANGES: * Added API to disable kerning: TTF_GetFontKerning()/TTF_SetFontKerning() * Fixed height calculation for fonts that extend below the font height * Added access to font hinting: TTF_GetFontHinting()/TTF_SetFontHinting() * Added TTF_GlyphIsProvided() to check whether a glyph is in a given font NOTE: These libraries are available as part of the commercial license option for SDL 1.3. Please see http://www.galaxygameworks.com/license-FAQ.html for details! Enjoy! -- -Sam Lantinga, Founder and President, Galaxy Gameworks LLC _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||
|
SDL_image, SDL_mixer, SDL_ttf PRE-RELEASE! |
Sam Lantinga
|
There's an updated version of SDL_mixer available:
http://www.libsdl.org/tmp/SDL_mixer-1.2.9.tar.gz http://www.libsdl.org/tmp/SDL_mixer-1.2.9.zip CHANGES: * Reset channel volumes after a fade out interrupts a fade in. * Fixed crash race condition with position audio functions * Fixed stereo panning in 8-bit mode * Added /usr/share/timidity to the default timidity.cfg locations * The libmikmod patches fix security issues CVE-2007-6720 and CVE-2009-0179. On Wed, Oct 7, 2009 at 1:45 AM, Sam Lantinga wrote:
-- -Sam Lantinga, Founder and President, Galaxy Gameworks LLC _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
SDL_image, SDL_mixer, SDL_ttf PRE-RELEASE! |
Sam Lantinga
|
There's an updated version of SDL_ttf available:
http://www.libsdl.org/tmp/SDL_ttf-2.0.10.tar.gz http://www.libsdl.org/tmp/SDL_ttf-2.0.10.zip CHANGES: * Added API for font outlining: TTF_GetFontOutline()/TTF_SetFontOutline() On Wed, Oct 7, 2009 at 1:45 AM, Sam Lantinga wrote:
-- -Sam Lantinga, Founder and President, Galaxy Gameworks LLC _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
SDL_image, SDL_mixer, SDL_ttf PRE-RELEASE! |
Abacus
|
Hmm. What happened to IMG_ImageIO.c in the SDL_image archive?
- Steven On Wed, Oct 7, 2009 at 1:45 AM, Sam Lantinga wrote:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
SDL_image, SDL_mixer, SDL_ttf PRE-RELEASE! |
Abacus
|
Moreover, what happened to the 'mikmod' folder in SDL_mixer?
- Steven On Sun, Oct 11, 2009 at 9:02 AM, Steven Noonan wrote:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||
|
SDL_image, SDL_mixer, SDL_ttf PRE-RELEASE! |
Sam Lantinga
|
Ah, good catch! They're in there now.
Thanks! On Sun, Oct 11, 2009 at 9:02 AM, Steven Noonan wrote:
-- -Sam Lantinga, Founder and President, Galaxy Gameworks LLC _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||
|
SDL_image, SDL_mixer, SDL_ttf PRE-RELEASE! |
Sam Lantinga
|
I've switched to dynamically loading the system libmikmod. A version
with all the SDL_mixer patches and improvements is in libmikmod-3.1.12.zip included with SDL_mixer. See ya! On Sun, Oct 11, 2009 at 9:08 AM, Steven Noonan wrote:
-- -Sam Lantinga, Founder and President, Galaxy Gameworks LLC _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||||
|
SDL_image, SDL_mixer, SDL_ttf PRE-RELEASE! |
Abacus
|
Okay, then someone should fix the Xcode project to reflect that change.
- Steven On Sun, Oct 11, 2009 at 11:03 AM, Sam Lantinga wrote:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||||||
|
SDL_image, SDL_mixer, SDL_ttf PRE-RELEASE! |
Andre de Leiradella
Guest
|
1.
The parameters char_width and char_height of FT_Set_Char_Size are 26.6 fixed point format. Before I make a patch to SDL_ttf to accept a float (double?) ptsize, is there a reason this hasn't been done already? The float's mantissa doesn't have 32 bits of precision, so maybe double is a better fit though I don't see an use case of SDL_ttf requiring huge fonts having a point size of (2^32-1)/2^6 (is that correct?). I don't think fixed point 26.6 is a good idea... 2. My SDL_ttf knowledge doesn't go so far to make this change, but it would be cool if one doesn't have to specify the point size when opening the font, only when rendering. Right now we have to open the same font multiple times to render text differing only in point size. Note: I don't really know if FreeType allows it or if there are other reasons to avoid it. 3. I've learned the hard way that TTF_OpenFontIndexRW takes ownership of the SDL_RWops passed to it (I was closing it right after opening the font and getting segfaults.) I think that SDL_ttf needs to keep the stream open so FreeType can load glyphs when they're not in SDL_ttf's glyph cache. If the above is true, does passing 0 for freesrc do any good? I think SDL_ttf should always close the stream when the font is closed. I can make a patch which removes this parameter and always close the stream when the font is closed. Even if the freesrc parameter is required, a note in the documentation would be nice. Cheers, Andre Sam Lantinga wrote:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||||||
|
SDL_image, SDL_mixer, SDL_ttf PRE-RELEASE! |
Sam Lantinga
|
There's an updated version of SDL_ttf available:
http://www.libsdl.org/tmp/SDL_ttf-2.0.10.tar.gz http://www.libsdl.org/tmp/SDL_ttf-2.0.10.zip CHANGES: * Set the appropriate font styles for bold and italic fonts * Added font style TTF_STYLE_STRIKETHROUGH * Fixed size calculations taking outline and underline into account * Added API for font outlining: TTF_GetFontOutline()/TTF_SetFontOutline() On Wed, Oct 7, 2009 at 1:45 AM, Sam Lantinga wrote:
-- -Sam Lantinga, Founder and President, Galaxy Gameworks LLC _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
SDL_image, SDL_mixer, SDL_ttf PRE-RELEASE! |
Andre de Leiradella
Guest
|
Andre de Leiradella wrote:
Ok, fractional point sizes seem to make no difference when rendered. So no need to make ptsize a double. Cheers, Andre _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|