BSD Ports

devel/sdl2-ttf 2.24.0 OpenBSD

SDL2 TrueType fonts library

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Thomas Frohwein <[email protected]>
Categories
devel, graphics, fonts

Description

This library is a wrapper around the excellent FreeType library.

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 SDL2 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.

Install

Binary package:

pkg_add sdl2-ttf

From the ports tree:

cd /usr/ports/devel/sdl2-ttf && make install

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2