OpenSCAD Variable Width Text -- TrueType(TTF) Font to DXF Converter
by jas, published
Come on people! Let's have some variable-width love in the OpenSCAD font arena! Here is a C program that converts TTF fonts into DXF that is suitable for import and extrusion in OpenSCAD. Bonus: it includes DIMENSION information that can be used by the dxf_dim OpenSCAD function to layout the text based on character metric information that was in the font.
Take a look at the README... there is a C program that can be compiled with pretty much only freetype2 libraries as a dependency. This can be used to generate a DXF file that can be used in OpenSCAD. Take a look at the examples for how to access character metric info. Maybe someone (hint hint) can adapt the widely used Write.SCAD to use (optionally) this method to lay out characters in various geometries.
Liked ByView All
Give a Shout Out
OpenSCAD Variable Width Text -- TrueType(TTF) Font to DXF Converter by jas is licensed under the Creative Commons - Attribution license.
What does this mean?
- You must attribute (give credit) to the creator of this Thing.
- Remixing or Changing this Thing is allowed.
- Commercial use is allowed.
We're sure jas would love to see what you've printed. Please document your print and share a Make with the community.
To post a Make simply visit this Thing again and click I Made One to start uploading your photo. It’s even easier to post a Make via the Thingiverse Mobile app (available via Google Play and Apple App Store).