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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
Moreover, what happened to the ‘mikmod’ folder in SDL_mixer?
Steven
On Sun, Oct 11, 2009 at 9:02 AM, Steven Noonan wrote:
Hmm. What happened to IMG_ImageIO.c in the SDL_image archive?
Steven
On Wed, Oct 7, 2009 at 1:45 AM, Sam Lantinga <@slouken> wrote:
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
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
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
Okay, then someone should fix the Xcode project to reflect that change.
StevenOn Sun, Oct 11, 2009 at 11:03 AM, Sam Lantinga wrote:
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 <@Steven_Noonan> wrote:
Moreover, what happened to the ‘mikmod’ folder in SDL_mixer?
Steven
On Sun, Oct 11, 2009 at 9:02 AM, Steven Noonan <@Steven_Noonan> wrote:
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:
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
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
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
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…
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.
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:> 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:
Moreover, what happened to the ‘mikmod’ folder in SDL_mixer?
Steven
On Sun, Oct 11, 2009 at 9:02 AM, Steven Noonan wrote:
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:
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.
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
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
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
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…
Ok, fractional point sizes seem to make no difference when rendered. So
no need to make ptsize a double.