SDL_ttf questions

I have a couple of questions regarding SDL_ttf (version 2.0.3).

  1. The file ‘SDL_ttf.h’ says that SDL_ttf is distributed under the GPL,
    but the accompanying file ‘COPYING’ contains the LGPL. Which is the correct
    license?

  2. The file ‘SDL_ttf.h’ also says that SDL_ttf is wrapper around FreeType
    1.0, but the accompanying version of Freetype is 2.0. I guess the
    information in ‘SDL_ttf.h’ is just outdated, right?

  3. I understand that there are patent issues if Freetype 2.0 is compiled
    with the macro ‘TT_CONFIG_OPTION_BYTECODE_INTERPRETER’ defined. This macro
    is defined in the ‘ftoptions.h’ file in the copy of Freetype that is
    distributed with SDL_ttf. I changed the ‘ftoptions.h’ file so that the
    macro is no longer defined. That means I’m free of patent issues, right?–
    Rainer Deyke (root at rainerdeyke.com)
    Shareware computer games - http://rainerdeyke.com
    "In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor

  1. The file ‘SDL_ttf.h’ says that SDL_ttf is distributed under the GPL,
    but the accompanying file ‘COPYING’ contains the LGPL. Which is the correct
    license?

LGPL

  1. The file ‘SDL_ttf.h’ also says that SDL_ttf is wrapper around FreeType
    1.0, but the accompanying version of Freetype is 2.0. I guess the
    information in ‘SDL_ttf.h’ is just outdated, right?

Yep.

  1. I understand that there are patent issues if Freetype 2.0 is compiled
    with the macro ‘TT_CONFIG_OPTION_BYTECODE_INTERPRETER’ defined. This macro
    is defined in the ‘ftoptions.h’ file in the copy of Freetype that is
    distributed with SDL_ttf. I changed the ‘ftoptions.h’ file so that the
    macro is no longer defined. That means I’m free of patent issues, right?

I don’t know. Consult with your favorite neighborhood lawyer. :slight_smile:

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment