BSD Ports

x11-fonts/py-gfsubsets 2025.11.4 FreeBSD

Codepoint definitions for the Google Fonts subsetter

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
APACHE20
Categories
x11-fonts, python
Package size
227.0 KiB, 1760.4 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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDx11-fonts/py-gfsubsets2025.11.4 newestnone known-[email protected]-
DragonFlyx11-fonts/py-gfsubsets2024.9.25none known-[email protected]-
MidnightBSDx11-fonts/py-gfsubsets2025.11.4_1 newestno data-[email protected]-
HardenedBSDx11-fonts/py-gfsubsets2025.11.4 newestno data-[email protected]-
GhostBSDx11-fonts/py-gfsubsets2025.11.4 newestno data-[email protected]-

Install

Binary package:

pkg install py312-gfsubsets

From the ports tree:

cd /usr/ports/x11-fonts/py-gfsubsets/ && make install clean

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

RUN_DEPENDS=	py312-gfsubsets>0:x11-fonts/py-gfsubsets

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2025.11.42025.11.4-2024.9.252025.11.4
FreeBSD:14:quarterly2025.11.42025.11.4n/a2024.9.252025.11.4
FreeBSD:15:latest2025.11.42025.11.4n/a2024.9.252024.9.25
FreeBSD:15:quarterly2025.11.42025.11.4n/an/an/a
FreeBSD:16:latest2025.11.42025.11.4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

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 3

The full lists below include those, and their dependencies in turn.

Build dependencies 17
Run dependencies 7

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
gfsubsets-2025.11.4.tar.gz1.40574e+0693a5256bda8aff54b2d9986e9ea15cc9aff48670d912fe27a6da2079fbed8a49
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.