graphics/sdl2_ttf 2.20.2 MidnightBSD
Library to use TrueType fonts to render text in SDL applications
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- zlib
- Categories
- graphics
Description
This library is a wrapper around the FreeType and Harfbuzz libraries, allowing you to use TrueType fonts to render text in SDL applications.
It allows a programmer to use multiple TrueType fonts without having to code a font rendering routine themselves. With the power of outline fonts and antialiasing, high quality text output can be obtained without much effort.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | graphics/sdl2_ttf | 2.20.2 |
| FreeBSD | graphics/sdl2_ttf | 2.24.0 |
| DragonFly | graphics/sdl2_ttf | 2.24.0 |
| HardenedBSD | graphics/sdl2_ttf | 2.24.0 |
| GhostBSD | graphics/sdl2_ttf | 2.24.0 |
Install
Binary package:
mport install sdl2_ttf
From mports:
cd /usr/mports/graphics/sdl2_ttf && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= sdl2_ttf>0:graphics/sdl2_ttf
LIB_DEPENDS= libSDL2_ttf-2.0.so:graphics/sdl2_ttf
Dependencies
As this port's Makefile names them.
Library 1
libfreetype.so: print/freetype2
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
Options name: graphics_sdl2_ttf
| Option | Default | Description |
|---|---|---|
| DOCS | off | |
| HARFBUZZ | on | Enable HarfBuzz support |
- USES
- cmake sdl
- Service scripts
- none
Files
pkg-plist 10
- include/SDL2/SDL_ttf.h
- lib/cmake/SDL2_ttf/SDL2_ttf-shared-targets-.cmake
- lib/cmake/SDL2_ttf/SDL2_ttf-shared-targets.cmake
- lib/cmake/SDL2_ttf/SDL2_ttfConfig.cmake
- lib/cmake/SDL2_ttf/SDL2_ttfConfigVersion.cmake
- lib/libSDL2_ttf-2.0.so
- lib/libSDL2_ttf-2.0.so.0
- lib/libSDL2_ttf-2.0.so.0.2000.2
- lib/libSDL2_ttf.so
- libdata/pkgconfig/SDL2_ttf.pc
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| libsdl-org-SDL_ttf-release-2.20.2_GH0.tar.gz | 8.814413e+06 | 0fe9d587cdc4e6754b647536d0803bea8ca6ac77146c4209e0bed22391cf8241 |