BSD Ports

x11-fonts/py-fontfeatures 1.8.0_2 MidnightBSD

Python library for manipulating OpenType font features

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd3
Categories
x11-fonts, python

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

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDx11-fonts/py-fontfeatures1.8.0_2 behind since 2026-08-19no data-[email protected]-
FreeBSDx11-fonts/py-fontfeatures1.9.0 newestnone known-[email protected]2026-08-24
DragonFlyx11-fonts/py-fontfeatures1.8.0_1 behind since 2026-08-19none known-[email protected]-
HardenedBSDx11-fonts/py-fontfeatures1.9.0 newestno data-[email protected]-
GhostBSDx11-fonts/py-fontfeatures1.9.0 newestno data-[email protected]-

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}fontfeatures

From mports:

cd /usr/mports/x11-fonts/py-fontfeatures && make install clean

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

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fontfeatures>0:x11-fonts/py-fontfeatures

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

Runtime 3

Build dependencies 2
Run dependencies 3
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
fontFeatures-1.8.0.tar.gz1.234846e+065cb243f752325148de4aa7615857c8aaff722123dc6d4e1b811bd71134873a26
Master sites 1
  • PYPI