fj-text

Crates.iofj-text
lib.rsfj-text
version0.2.0
sourcesrc
created_at2024-02-10 05:44:05.082411
updated_at2024-09-14 15:31:33.13929
descriptionA crate for creating text in fornjot.
homepagehttps://github.com/samgoldman/fj-text
repositoryhttps://github.com/samgoldman/fj-text
max_upload_size
id1134757
size652,465
Sam Goldman (samgoldman)

documentation

README

Fornjot Text

Character '3' in Fornjot

About

Fornjot Text is a library for creating text in Fornjot, a CAD kernel written in Rust.

This currently very much an experiment. Feedback is welcome!

Usage

For now, see the tests. More examples coming soon!

Limitations

  • Unlikely to support fonts with nested features (like a zero with a dot in the center).
  • Rendering using Fornjot is slow - try exporting to an STL/OBJ/3MF and viewing in another viewer.
  • All glyphs are individually normalized to a height of 1 - this should be changed, but I need to learn more about fonts first.

Future

  • Support string generation (currently only single glyph at a time)
  • Reduce number of vertices used

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Commit count: 0

cargo fmt