SDL_ttf prerelease 1.2

Presenting a vastly improved prerelease version of SDL_ttf, 1.2:
http://www.devolution.com/~slouken/SDL/projects/SDL_ttf/src/SDL_ttf-1.2.0.tar.gz

Changes:
1.2.0:
Sam Lantinga - Fri May 5 11:08:24 PDT 2000

  • Added support for font styles (bold, italic, underline)
    New functions: TTF_GetFontStyle(), TTF_SetFontStyle()

1.1.1:
Sam Lantinga - Thu May 4 02:19:36 PDT 2000

  • Improved the quality of the alpha blended text rendering
    Sam Lantinga - Thu May 4 01:11:00 PDT 2000
  • Added font glyph caching, speeded up text rendering
  • Added font attribute information.
    New functions: TTF_FontDescent(), TTF_FontLineSkip()

1.1.0:
Sam Lantinga - Tue Apr 25 22:36:41 PDT 2000

  • Added two new styles of font rendering:
    solid colorkey (no dither) and alpha blended dithering
    New functions: TTF_RenderText_Solid(), TTF_RenderText_Blended()

Improvements and bug fixes welcome. :slight_smile:

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Sam Lantinga wrote:

Presenting a vastly improved prerelease version of SDL_ttf, 1.2:

New functions: TTF_FontDescent(), TTF_FontLineSkip()
^^^^^^^^^^^^^^^

You just anticipated my next request :slight_smile:

Thanks!

Sam Lantinga wrote:

Presenting a vastly improved prerelease version of SDL_ttf, 1.2:
http://www.devolution.com/~slouken/SDL/projects/SDL_ttf/src/SDL_ttf-1.2.0.tar.gz

Just a note to others: this version has a change in behavior
in the render functions. Rendering an empty string now returns
a NULL surface, rather than a zero-sized surface.

I’m updating SDL_gui to use this version, and will have it
online this weekend. (Along with an RPM for SDL_ttf 1.2.0).