https://github.com/lorp/samsa-core
Library for processing TrueType font files. Includes variations, COLR, and SVG generation.
https://github.com/lorp/samsa-core
fonts parametric-fonts truetype variable-fonts
Last synced: about 1 year ago
JSON representation
Library for processing TrueType font files. Includes variations, COLR, and SVG generation.
- Host: GitHub
- URL: https://github.com/lorp/samsa-core
- Owner: Lorp
- Created: 2023-07-27T00:14:07.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-04T00:58:53.000Z (about 1 year ago)
- Last Synced: 2025-04-04T01:29:22.335Z (about 1 year ago)
- Topics: fonts, parametric-fonts, truetype, variable-fonts
- Language: JavaScript
- Homepage:
- Size: 165 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Samsa Core
Library for processing TrueType font files.
## Features
* variations
* avar1 and avar2
* COLRv0 and COLRv1
* static TrueType export
* SVG generation
* shaping:
* GSUB (includes basic ligatures and Emoji)
* GPOS (includes class pair kerning with exceptions)
* Feature Variations
* script and language selection
## Documentation
[Documentation home](docs/index.md)
* [SamsaFont](docs/SamsaFont.md)
* [SamsaInstance](docs/SamsaInstance.md)
* [SamsaGlyph](docs/SamsaGlyph.md)
* [SamsaBuffer](docs/SamsaBuffer.md)
## In use
* [samsa-core v2 simple demo](https://codepen.io/lorp/pen/LYXgZdr) (CodePen)
* [RenderStack](https://lorp.github.io/renderstack/dist/) ([repo](https://github.com/Lorp/renderstack))
* [figma-colrv1](https://github.com/Lorp/figma-colrv1)
* [Samsa-GUI](https://lorp.github.io/samsa/src/samsa-gui.html) ([repo](https://github.com/Lorp/samsa), uses Version 1, upgrade planned)
## Links
* [GitHub repo](https://github.com/Lorp/samsa-core)
* [npm package](https://www.npmjs.com/package/samsa-core)