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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | x11-fonts/fcft | 3.3.3 newest | no data | - | [email protected] | - |
| FreeBSD | x11-fonts/fcft | 3.3.3 newest | none known | - | [email protected] | 2026-10-11 |
| OpenBSD | graphics/fcft by name | 3.3.3p0 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | 2026-07-12 |
| NetBSD | fonts/fcft by name | 3.3.3nb1 newest | none known | - | [email protected] | 2026-09-29 |
| DragonFly | x11-fonts/fcft | 3.3.1 behind since 2026-07-12 | none known | - | [email protected] | - |
| HardenedBSD | x11-fonts/fcft | 3.3.3 newest | no data | - | [email protected] | - |
| GhostBSD | x11-fonts/fcft | 3.3.3 newest | no data | - | [email protected] | - |
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
tllist>=1.0.1: devel/tllistscdoc: textproc/scdoc
Library 2
libfreetype.so: print/freetype2libfontconfig.so: x11-fonts/fontconfig
Build dependencies 4
Run dependencies 2
Required by 2
Configuration
Options name: x11-fonts_fcft
| Option | Default | Description |
|---|---|---|
| DOCS | off | |
| HARFBUZZ | on | Shaping of individual grapheme clusters via HarfBuzz |
| UTF8PROC | on | Shaping 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
| File | Size | SHA256 |
|---|---|---|
| fcft-3.3.3.tar.gz | 735690 | c0d8d485b45b1af829f73101d6588f404a32bf3c7543236b1a4707d44be81b60 |
Master sites 1
- https://codeberg.org/dnkl/fcft/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/