Skip to content
Verified Commit 8433ea80 authored by sunpoet's avatar sunpoet
Browse files

x11-fonts/py-gfsubsets: Add py-gfsubsets 2024.2.5

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.
parent 0532aa39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment