Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stadiamaps/sdf_font_tools
Rust tools for working with SDF font glyphs in PBF format.
https://github.com/stadiamaps/sdf_font_tools
Last synced: 2 days ago
JSON representation
Rust tools for working with SDF font glyphs in PBF format.
- Host: GitHub
- URL: https://github.com/stadiamaps/sdf_font_tools
- Owner: stadiamaps
- License: bsd-3-clause
- Created: 2018-11-24T06:01:35.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-06-14T05:11:37.000Z (5 months ago)
- Last Synced: 2024-10-19T00:22:49.563Z (21 days ago)
- Language: Rust
- Homepage:
- Size: 364 KB
- Stars: 26
- Watchers: 5
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-maplibre - SDF Font Tools - A CLI tool for generating SDF fontstacks from fonts (similar to FontMaker), as well as crates which let you build fontstacks on the fly (used in MapLibre Martin). (Map Styling / Font Glyph Generation)
README
# SDF Font Tools
This is a collection of complementary crates for converting fonts into signed distance fields
and combining the results into MapLibre-compatible font stacks. Refer to the individual crate
READMEs for more details.* [`build_pbf_glyphs`](build_pbf_glyphs) - CLI tool to crunch a directory fonts into PBF files you can host statically
* [`pbf_font_tools`](pbf_font_tools) - Library exposing high level interfaces for generating glyphs from TTF/OTF fonts and combining glyphs from multiple fonts into fontstacks.
* [`sdf_glyph_renderer`](sdf_glyph_renderer) - Library crate for converting SDF glyphs from an arbitrary bitmap (alpha map).