x11-fonts/fcft 3.3.3 FreeBSD
Simple library for font loading and glyph rasterization
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
8b79ada9a6- License
- MIT
- Categories
- x11-fonts
- Package size
- 85.5 KiB, 171.5 KiB installed
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
| System | Port | Version |
|---|---|---|
| FreeBSD | x11-fonts/fcft | 3.3.3 |
| OpenBSD | graphics/fcft | 3.3.3p0 |
| NetBSD | fonts/fcft | 3.3.3nb1 |
| DragonFly | x11-fonts/fcft | 3.3.1 |
| MidnightBSD | x11-fonts/fcft | 3.3.3 |
| HardenedBSD | x11-fonts/fcft | 3.3.3 |
| GhostBSD | x11-fonts/fcft | 3.3.3 |
Install
Binary package:
pkg install fcft
From the ports tree:
cd /usr/ports/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
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.3.3 | 3.3.3 | 3.1.5 | 3.3.2 | 3.3.3 |
| FreeBSD:14:quarterly | 3.3.3 | 3.3.3 | n/a | 3.3.2 | 3.3.3 |
| FreeBSD:15:latest | 3.3.3 | 3.3.3 | n/a | 3.3.2 | 3.3.2 |
| FreeBSD:15:quarterly | 3.3.3 | 3.3.3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.3.3 | 3.3.3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
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
The full lists below include those, and their dependencies in turn.
Build dependencies 28
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- converters/libiconv
- devel/gettext-runtime
- devel/glib20
- devel/libffi
- devel/libinotify
- devel/meson
- devel/ninja
- devel/pcre2
- devel/pkgconf
- devel/py-packaging
- devel/readline
- devel/tllist
- graphics/graphite2
- graphics/png
- lang/python312
- lang/python315
- math/mpdecimal
- print/freetype2
- print/harfbuzz
- print/indexinfo
- textproc/expat2
- textproc/scdoc
- textproc/utf8proc
- x11-fonts/fontconfig
- x11/pixman
Run dependencies 23
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- converters/libiconv
- devel/gettext-runtime
- devel/glib20
- devel/libffi
- devel/libinotify
- devel/pcre2
- devel/py-packaging
- devel/readline
- graphics/graphite2
- graphics/png
- lang/python312
- lang/python315
- math/mpdecimal
- print/freetype2
- print/harfbuzz
- print/indexinfo
- textproc/expat2
- textproc/utf8proc
- x11-fonts/fontconfig
- x11/pixman
Configuration
Options name: x11-fonts_fcft
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| 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 | 741824 | b0c0f4a599f43723736c8565b8b84337c4195077f07f1bb8bb3252bb13a2306a |
Master sites 1
- https://codeberg.org/dnkl/fcft/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/