Tao.Sdl SDK Documentation

SdlTtf Class

This library supports Sdl_ttf 2.0.8. This library is a wrapper around the excellent FreeType 1.2 library, available at: http://www.freetype.org

WARNING: There may be patent issues with using the FreeType library. Check the FreeType website for up-to-date details.

This library allows you to use TrueType fonts to render text in SDL applications.

Be careful when including fonts with your application, as many of them are copyrighted. The Microsoft fonts, for example, are not freely redistributable and even the free "web" fonts they provide are only redistributable in their special executable installer form (May 1998). There are plenty of freeware and shareware fonts available on the Internet though, and may suit your purposes.

For a list of all members of this type, see SdlTtf Members.

System.Object
   Tao.Sdl.SdlTtf

[Visual Basic]
MustInherit NotInheritable Public Class SdlTtf
[C#]
public abstract sealed class SdlTtf

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

SDL_ttf supports loading fonts from TrueType font files, normally ending in .ttf, though some .fon files are also valid for use. Note that most fonts are copyrighted, check the license on the font before you use and redistribute

Requirements

Namespace: Tao.Sdl

Assembly: Tao.Sdl (in Tao.Sdl.dll)

See Also

SdlTtf Members | Tao.Sdl Namespace