x11-fonts/py-gfsubsets 2024.9.25 DragonFly
Codepoint definitions for the Google Fonts subsetter
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- APACHE20
- Categories
- python, x11-fonts
- Package size
- 183.2 KiB, 1755.0 KiB installed
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 |
|---|---|---|---|---|---|---|
| DragonFly | x11-fonts/py-gfsubsets | 2024.9.25 | none known | - | [email protected] | - |
| FreeBSD | x11-fonts/py-gfsubsets | 2025.11.4 newest | none known | - | [email protected] | - |
| MidnightBSD | x11-fonts/py-gfsubsets | 2025.11.4_1 newest | no data | - | [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:
pkg install py311-gfsubsets
From DPorts:
cd /usr/dports/x11-fonts/py-gfsubsets && make install clean
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
Run dependencies 1
No port depends on this one.