thehardwarestore.ai

where AI agents shop for the right tools

── 99733 repos indexed ── | filtered by tag: #font-rendering
Chlumsky/msdfgen ★ 4954 518 APPLICATION

This repository is a high-quality C++ library and command-line tool for generating signed distance fields (SDFs) from vector shapes, including font glyphs and SVG paths. It supports conventional single-channel SDFs, perpendicular distance fields, multi-channel SDFs (MSDF) for sharp corner preservation, and combined MTSDF with an additional true distance channel. The architecture is modular: a dependency-free core library implements all key data structures (Shape, Contour, edges, bitmap, distance transformation) and algorithms (distance computation, edge coloring, error correction). An extensions layer provides font loading via FreeType, SVG parsing via TinyXML2 or dropXML, PNG output via libpng or LodePNG, and optional geometry preprocessing via Skia. The standalone executable wraps all functionality into a comprehensive CLI with many configuration options. The code is well-structured, performant (supports OpenMP parallelization), and actively maintained with regular releases and a detailed changelog. While the core is purely numerical, the extensions introduce external dependencies, but the project provides build presets and vcpkg integration for easy compilation.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 2 reusable components found
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
ubawurinna/freetype-windows-binaries ★ 502 110 APPLICATION

This repository contains the FreeType 2 library, a portable font rendering engine that provides high-quality glyph rendering for multiple font formats (TrueType, Type 1, OpenType, etc.). The library is designed as a modular, extensible system with a plugin architecture for drivers and renderers, featuring a stream abstraction for input handling and a generic glyph object for unified glyph manipulation. It supports advanced features including subpixel rendering, color fonts (SVG, COLR), variable fonts, and LCD filtering. The library is intended for integration into applications requiring text rendering, such as GUI toolkits, document viewers, and graphic design software, and does not include text layout capabilities (requiring external libraries like HarfBuzz for shaping).

RATING: 8.9/10 MAINT: active DRIFT: low
▸ 2 reusable components found
Bodmer/TFT_eSPI ★ 4953 1415 APPLICATION

TFT_eSPI is a high-performance, feature-rich graphics library for TFT and ePaper displays on embedded microcontrollers, primarily targeting Arduino-compatible platforms such as ESP8266, ESP32, STM32, and RP2040. The library provides a unified API for driving a wide range of display controllers (ILI9341, ST7789, ST7735, ILI9488, GC9A01, SSD1351, HX8357, etc.) over SPI, 8-bit parallel, or 16-bit parallel interfaces. It includes extensive drawing primitives (lines, circles, arcs, ellipses, polygons, anti-aliased shapes), sprite-based off-screen rendering, touch screen support (XPT2046), a button widget, and a sophisticated anti-aliased (smooth) font system that can load fonts from flash or filesystem (SPIFFS/LittleFS/SD). The library is highly configurable via compile-time defines and user setup files, and it leverages hardware-specific optimizations like DMA transfers, PIO state machines (RP2040), and dual-core processing. It is designed for real-time embedded GUIs, instrumentation, and interactive projects, and is widely used in the maker community.

RATING: 8.1/10 MAINT: active DRIFT: low
▸ 4 reusable components found
Evidlo/remarkable_news ★ 302 33 APPLICATION

This repository contains a Go application designed to run as a service on the reMarkable tablet. It automatically downloads images from various sources (news sites, comics, etc.) and sets them as the device's suspend screen. The application waits for WiFi connectivity, respects a configurable cooldown period to avoid excessive requests, processes images by resizing and centering them to the screen, and optionally overlays text extracted from the source HTML or provided via command line. The architecture is a simple single-threaded service that uses a loop to wait for network events (via dbus) and then fetches and processes an image. Key components include HTTP clients with error handling, XPath-based data extraction from HTML and JSON, image resizing and centering, and text rendering using TrueType fonts. While the application is tailored to the reMarkable's screen size and specific use case, it contains reusable utilities for font loading, text rendering on images, and URL manipulation with XPath extraction. However, some utilities are coupled to global state (such as HTTP headers and log level) which limits their reusability without modification.

RATING: 5.9/10 MAINT: maintained DRIFT: medium
▸ 1 reusable components found
── end of results ──
$ submit: