FreeBSD.software
Home/x11-fonts/py311-gfsubsets

py311-gfsubsets

2025.11.4

Codepoint definitions for the Google Fonts subsetter

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.

Origin: x11-fonts/py-gfsubsets
Category: x11-fonts
Size: 1.72MiB
License: APACHE20
Maintainer: sunpoet@FreeBSD.org
Dependencies: 1 packages
Required by: 1 packages
$pkg install py311-gfsubsets

Dependencies (1)

Required By (1 packages)

More in x11-fonts