#cad #kernel #text #experiment #fornjot

fj-text

A crate for creating text in fornjot

2 unstable releases

0.2.0 Sep 14, 2024
0.1.0 Feb 10, 2024

#23 in #cad

Download history 137/week @ 2024-09-09 50/week @ 2024-09-16 8/week @ 2024-09-23 10/week @ 2024-09-30 1/week @ 2024-10-07

59 downloads per month

MIT/Apache

330KB
102 lines

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.

Dependencies

~42–78MB
~1.5M SLoC