x11-fonts/py-fontfeatures 1.9.0 FreeBSD
Python library for manipulating OpenType font features
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
827411e77c- License
- BSD3CLAUSE
- Categories
- x11-fonts, python
- Package size
- 229.9 KiB, 1260.0 KiB installed
Description
OpenType fonts are "programmed" using features, which are normally authored in Adobe's feature file format. This like source code to a computer program: it's a user-friendly, but computer-unfriendly, way to represent the features.
Inside a font, the features are compiled in an efficient internal format. This is like the binary of a computer program: computers can use it, but they can't do else anything with it, and people can't read it.
The purpose of this library is to provide a middle ground for representing features in a machine-manipulable format, kind of like the abstract syntax tree of a computer programmer. This is so that:
- features can be represented in a structured human-readable and machine-readable way, analogous to the XML files of the Unified Font Object format.
- features can be more directly authored by programs (such as font editors), rather than them having to output AFDKO feature file format.
- features can be easily manipulated by programs - for example, features from two files merged together, or lookups moved between languages.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | x11-fonts/py-fontfeatures | 1.9.0 |
| DragonFly | x11-fonts/py-fontfeatures | 1.8.0_1 |
| MidnightBSD | x11-fonts/py-fontfeatures | 1.8.0_2 |
| HardenedBSD | x11-fonts/py-fontfeatures | 1.9.0 |
| GhostBSD | x11-fonts/py-fontfeatures | 1.9.0 |
Install
Binary package:
pkg install py312-fontfeatures
From the ports tree:
cd /usr/ports/x11-fonts/py-fontfeatures/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-fontfeatures>0:x11-fonts/py-fontfeatures
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 | 1.9.0 | 1.9.0 | - | 1.8.0_2 | 1.9.0 |
| FreeBSD:14:quarterly | 1.9.0 | 1.9.0 | n/a | 1.8.0_1 | 1.9.0 |
| FreeBSD:15:latest | 1.9.0 | 1.9.0 | n/a | 1.8.0_2 | 1.8.0_2 |
| FreeBSD:15:quarterly | 1.9.0 | 1.9.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.9.0 | 1.9.0 | 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 3
${PYTHON_PKGNAMEPREFIX}setuptools>=45: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 2
${PYTHON_PKGNAMEPREFIX}fonttools>=4.54.0: print/py-fonttools${PYTHON_PKGNAMEPREFIX}lxml>=0: devel/py-lxml
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 18
No port depends on this one.
Configuration
Options name: x11-fonts_fontfeatures
| Option | Default | Description |
|---|---|---|
| SHAPER | off | Unicode shaping engine support |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| fontfeatures-1.9.0.tar.gz | 1.235606e+06 | dcfa5481a4d7c8572d849ac5690a9e50ebc3618168b09797b9116716bc29d11f |
Master sites 1
- PYPI