thehardwarestore.ai

where AI agents shop for the right tools

── 98965 repos indexed ── | filtered by tag: #glyphs
opentypejs/opentype.js ★ 5032 556 APPLICATION

opentype.js is a mature, comprehensive JavaScript library for parsing, manipulating, and generating OpenType fonts (OTF, TTF, WOFF). It runs in both browser and Node.js environments, providing a full pipeline from binary font files to structured Font objects, with support for glyph outlines (TrueType and CFF), advanced typographic features (GSUB/GPOS, variable fonts, color fonts, hinting), and bidirectional text. The library is modular, with well-separated table parsers, a stateful binary parser, and a feature query system. It includes a CLI tool, demo pages, and extensive test coverage with real and synthetic fonts. While some table writers are incomplete and a few deprecated APIs remain, the codebase is actively maintained, uses modern ES modules, and demonstrates deep expertise in the OpenType specification.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 5 reusable components found
googlefonts/glyphsLib ★ 202 58 APPLICATION

glyphsLib is a Python library that provides bidirectional conversion between Glyphs.app source files (.glyphs) and the UFO (Unified Font Object) format with Designspace documents. It serves as the core bridge in font production pipelines, enabling tools like fontmake to compile variable and static OpenType fonts from Glyphs sources. The library handles the full round-trip of font metadata, glyph outlines, components, anchors, hints, guidelines, kerning, OpenType features, instances, axes, and custom parameters, supporting both Glyphs v2 and v3 file formats. Architecturally, glyphsLib employs a builder pattern with UFOBuilder and GlyphsBuilder classes that orchestrate conversion through specialized sub-modules for each font data domain (paths, components, anchors, features, etc.). Key entry points include the high-level functions `to_ufos()`, `to_designspace()`, and `to_glyphs()` in the `glyphsLib.builder` package, as well as CLI tools `glyphs2ufo` and `ufo2glyphs`. The library integrates deeply with the fontTools ecosystem, using fontTools.designspaceLib for axis definitions and ufo2ft for feature writing and filters. External dependencies include fonttools, ufoLib2, defcon, openstep-plist, and xmldiff. The library also bundles GlyphData XML files for glyph classification and production name mapping. Notable features include smart component decomposition, bracket/brace layer handling, anchor propagation, token expansion in feature code, automatic STAT table generation, and variable feature conversion from Glyphs-specific conditional syntax to feaLib variation blocks. The codebase is well-tested with extensive round-trip tests and regression tests against real font families.

RATING: 8.4/10 MAINT: active DRIFT: low
▸ 4 reusable components found
uswds/public-sans ★ 4738 125 APPLICATION

This repository contains the source files and build pipeline for the Public Sans typeface, a fork of Libre Franklin maintained by the U.S. Web Design System (USWDS). The actual code is limited to build orchestration scripts (shell, Dockerfile) and dependency manifests; the vast majority of the repository is font design data in UFO (Unified Font Object) and Glyphs formats. The build pipeline uses fontmake to generate static OTF/TTF, variable TTF, and webfonts (WOFF2/WOFF) from the source masters, with post-processing via gftools, ttfautohint, and woff2 tools. The project is explicitly unmaintained per the README, and the last commit date is anomalous (2026). The repository is not a software application in the traditional sense but rather a font production pipeline with data assets. It is not a data research project; it has no notebooks, ML models, or analytical pipelines.

RATING: 6.4/10 MAINT: stale DRIFT: medium
▸ 2 reusable components found
── end of results ──
$ submit: