graphics/sdl3_ttf 3.2.2_3 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/sdl3_ttf | 3.2.2_3 |
| FreeBSD | graphics/sdl3_ttf | 3.2.2_3 |
| HardenedBSD | graphics/sdl3_ttf | 3.2.2_3 |
| GhostBSD | graphics/sdl3_ttf | 3.2.2_3 |
Install
Binary package:
mport install sdl3_ttf
From mports:
cd /usr/mports/graphics/sdl3_ttf && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= sdl3_ttf>0:graphics/sdl3_ttf
LIB_DEPENDS= libSDL3_ttf.so:graphics/sdl3_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_sdl3_ttf
| Option | Default | Description |
|---|---|---|
| DOCS | off | |
| HARFBUZZ | on | Use harfbuzz to improve text shaping |
| PLUTOSVG | off | Use plutosvg for color emoji support |
- USES
- cmake pkgconfig sdl
- Service scripts
- none
Files
pkg-plist 14
- include/SDL3_ttf/SDL_textengine.h
- include/SDL3_ttf/SDL_ttf.h
- lib/cmake/SDL3_ttf/Findharfbuzz.cmake
- lib/cmake/SDL3_ttf/Findplutosvg.cmake
- lib/cmake/SDL3_ttf/Findplutovg.cmake
- lib/cmake/SDL3_ttf/PkgConfigHelper.cmake
- lib/cmake/SDL3_ttf/SDL3_ttf-shared-targets-.cmake
- lib/cmake/SDL3_ttf/SDL3_ttf-shared-targets.cmake
- lib/cmake/SDL3_ttf/SDL3_ttfConfig.cmake
- lib/cmake/SDL3_ttf/SDL3_ttfConfigVersion.cmake
- lib/libSDL3_ttf.so
- lib/libSDL3_ttf.so.0
- lib/libSDL3_ttf.so.
- libdata/pkgconfig/sdl3-ttf.pc
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| libsdl-org-SDL_ttf-release-3.2.2_GH0.tar.gz | 1.572749e+06 | ff6b81d3dc39d843cc3ead6dedd68043a79513d266792ea89445547ef4e9b073 |