#cad #kernel #text #fornjot

fj-text

A crate for creating text in fornjot

1 unstable release

0.1.0 Feb 10, 2024

#407 in Graphics APIs

MIT/Apache

41KB
88 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

  • Currently supports only stencil fonts
    • Right now all regions returned are exterior regions. Any glyphs with interiors will fail to extrude. Since stencil fonts have no interiors, they work well.
  • Rendering using Fornjot is slow - try exporting to an STL and viewing in another viewer.

Future

  • Support for interior polygons
  • 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

~48–89MB
~1.5M SLoC