diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-02-21 22:13:48 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-02-21 23:06:11 +0800 |
commit | 8433ea805d592c329c7cd3ffa5429b63c561aab1 (patch) | |
tree | d5b723cf432d5fd95b1e2a3c7a453be0b9f807aa /x11-fonts/Makefile | |
parent | www/py-htmldate: Add py-htmldate 1.7.0 (diff) |
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.
Diffstat (limited to '')
-rw-r--r-- | x11-fonts/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index e34986bf6483..a3f390fda88d 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -243,6 +243,7 @@ SUBDIR += py-fontfeatures SUBDIR += py-fontmake SUBDIR += py-gflanguages + SUBDIR += py-gfsubsets SUBDIR += py-glyphsLib SUBDIR += py-opentype-sanitizer SUBDIR += py-opentypespec |