BSD Ports

x11-fonts/fcft 3.3.3 MidnightBSD

Simple library for font loading and glyph rasterization

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
x11-fonts

Description

fcft is a small font loading and glyph rasterization library built on-top of FontConfig, FreeType2 and pixman.

It can load and cache fonts from a fontconfig-formatted name string, e.g. "Monospace:size=12", optionally with user configured fallback fonts.

After a font has been loaded, you can rasterize glyphs. When doing so, the primary font is first considered. If it does not have the requested glyph, the user configured fallback fonts (if any) are considered. If none of the user configured fallback fonts has the requested glyph, the FontConfig generated list of fallback fonts are checked.

In the other systems

The newest version among them is 3.3.3, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDx11-fonts/fcft3.3.3 newestno data-[email protected]-
FreeBSDx11-fonts/fcft3.3.3 newestnone known-[email protected]2026-10-11
OpenBSDgraphics/fcft by name3.3.3p0 newestno data-The OpenBSD ports mailing-list <[email protected]>2026-07-12
NetBSDfonts/fcft by name3.3.3nb1 newestnone known-[email protected]2026-09-29
DragonFlyx11-fonts/fcft3.3.1 behind since 2026-07-12none known-[email protected]-
HardenedBSDx11-fonts/fcft3.3.3 newestno data-[email protected]-
GhostBSDx11-fonts/fcft3.3.3 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install fcft

From mports:

cd /usr/mports/x11-fonts/fcft && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	fcft>0:x11-fonts/fcft
LIB_DEPENDS=	libfcft.so:x11-fonts/fcft

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

As this port's Makefile names them.

Build 2

Library 2

Build dependencies 4
Run dependencies 2
Required by 2

Configuration

Options name: x11-fonts_fcft

OptionDefaultDescription
DOCSoff
HARFBUZZonShaping of individual grapheme clusters via HarfBuzz
UTF8PROConShaping of whole text runs via libutf8proc
USES
compiler:c11 meson pkgconfig xorg
Service scripts
none

Files

Manual pages 18
  • fcft_capabilities(3)
  • fcft_clone(3)
  • fcft_destroy(3)
  • fcft_fini(3)
  • fcft_font_options_create(3)
  • fcft_font_options_destroy(3)
  • fcft_from_name(3)
  • fcft_from_name2(3)
  • fcft_init(3)
  • fcft_kerning(3)
  • fcft_log_init(3)
  • fcft_precompose(3)
  • fcft_rasterize_char_utf32(3)
  • fcft_rasterize_grapheme_utf32(3)
  • fcft_rasterize_text_run_utf32(3)
  • fcft_set_emoji_presentation(3)
  • fcft_set_scaling_filter(3)
  • fcft_text_run_destroy(3)
pkg-plist 27
  • include/fcft/fcft.h
  • include/fcft/stride.h
  • lib/libfcft.so
  • lib/libfcft.so.4
  • lib/libfcft.so.4.3.3
  • libdata/pkgconfig/fcft.pc
  • share/doc/fcft/CHANGELOG.md
  • share/doc/fcft/LICENSE
  • share/doc/fcft/README.md
  • share/man/man3/fcft_capabilities.3.gz
  • share/man/man3/fcft_clone.3.gz
  • share/man/man3/fcft_destroy.3.gz
  • share/man/man3/fcft_fini.3.gz
  • share/man/man3/fcft_font_options_create.3.gz
  • share/man/man3/fcft_font_options_destroy.3.gz
  • share/man/man3/fcft_from_name.3.gz
  • share/man/man3/fcft_from_name2.3.gz
  • share/man/man3/fcft_init.3.gz
  • share/man/man3/fcft_kerning.3.gz
  • share/man/man3/fcft_log_init.3.gz
  • share/man/man3/fcft_precompose.3.gz
  • share/man/man3/fcft_rasterize_char_utf32.3.gz
  • share/man/man3/fcft_rasterize_grapheme_utf32.3.gz
  • share/man/man3/fcft_rasterize_text_run_utf32.3.gz
  • share/man/man3/fcft_set_emoji_presentation.3.gz
  • share/man/man3/fcft_set_scaling_filter.3.gz
  • share/man/man3/fcft_text_run_destroy.3.gz
distinfo 1
FileSizeSHA256
fcft-3.3.3.tar.gz735690c0d8d485b45b1af829f73101d6588f404a32bf3c7543236b1a4707d44be81b60
Master sites 1
  • https://codeberg.org/dnkl/fcft/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/