pbf_font_tools

Crates.iopbf_font_tools
lib.rspbf_font_tools
version2.5.1
sourcesrc
created_at2018-11-24 11:00:35.385796
updated_at2024-02-13 01:33:10.93377
descriptionTools for working with SDF font glyphs encoded in protobuf format.
homepage
repositoryhttps://github.com/stadiamaps/sdf_font_tools
max_upload_size
id98410
size386,098
Luke Seelenbinder (lseelenbinder)

documentation

README

Rust PBF Font Tools

This crate contains tools for working with SDF font glyphs in PBF format for use in renderers like Mapbox GL.

Features

  • Combine multiple glyphs from multiple fonts into a single stack.
  • Generate glyphs from a TrueType/OpenType font.

If you're looking for a CLI tool to generate PBF ranges en masse like node-fontnik), but faster, check out build_pbf_glyphs.

NOTE: This has been developed and tested against FreeType 2.10. It will work against older versions, but the glyph generation tests may not pass as the rendering evolves over time.

References

Commit count: 102

cargo fmt