BSD Ports

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

SystemPortVersion
MidnightBSDgraphics/sdl3_ttf3.2.2_3
FreeBSDgraphics/sdl3_ttf3.2.2_3
HardenedBSDgraphics/sdl3_ttf3.2.2_3
GhostBSDgraphics/sdl3_ttf3.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

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

Options name: graphics_sdl3_ttf

OptionDefaultDescription
DOCSoff
HARFBUZZonUse harfbuzz to improve text shaping
PLUTOSVGoffUse 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
FileSizeSHA256
libsdl-org-SDL_ttf-release-3.2.2_GH0.tar.gz1.572749e+06ff6b81d3dc39d843cc3ead6dedd68043a79513d266792ea89445547ef4e9b073