x11-fonts/py-gfsubsets 2025.11.4_1 MidnightBSD
Codepoint definitions for the Google Fonts subsetter
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- Apache-2.0
- Categories
- x11-fonts, python
Description
This is the collection of nam files (codepoint subsets) that are used to subset fonts before serving on the Google Fonts CSS API.
The Python module gfsubsets provides an interface to these subset definitions. It exports the following functions:
- CodepointsInFont(filename): Lists the Unicode codepoints supported by the font
- ListSubsets(): Returns the name of all defined subsets.
- SubsetsForCodepoint(cp): Returns the names of all subsets including the codepoint.
- SubsetForCodepoint(cp): Returns the name of the "most relevant" subset including the codepoint.
- CodepointsInSubset(subset): Returns a set of codepoints included in the subset.
- SubsetsInFont(filename, min_pct, ext_min_pct): Returns the name of subsets "well" supported by a font.
In the other systems
The newest version among them is 2025.11.4, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | x11-fonts/py-gfsubsets | 2025.11.4_1 newest | no data | - | [email protected] | - |
| FreeBSD | x11-fonts/py-gfsubsets | 2025.11.4 newest | none known | - | [email protected] | - |
| DragonFly | x11-fonts/py-gfsubsets | 2024.9.25 | none known | - | [email protected] | - |
| HardenedBSD | x11-fonts/py-gfsubsets | 2025.11.4 newest | no data | - | [email protected] | - |
| GhostBSD | x11-fonts/py-gfsubsets | 2025.11.4 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}gfsubsets
From mports:
cd /usr/mports/x11-fonts/py-gfsubsets && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gfsubsets>0:x11-fonts/py-gfsubsets
Dependency graph
Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}setuptools>=61.0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8.0: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Build dependencies 3
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| gfsubsets-2025.11.4.tar.gz | 1.40574e+06 | 93a5256bda8aff54b2d9986e9ea15cc9aff48670d912fe27a6da2079fbed8a49 |
Master sites 1
- PYPI