tcoppex / ofxFontSampler

:ab: TrueType font glyph sampler addon for OpenFrameworks.
MIT License
3 stars 1 forks source link
font glyphs openframeworks-addon truetype-font ttf

ofxFontSampler

License: MIT Stage: alpha

fontsampler

ofxFontSampler is a TrueType Font (TTF) glyph path extractor and renderer designed to finely sample glyphes from a font.

It was somewhat inspired by Ken Perlin's blog post "Unfont Design".

Overview

The project consist of two parts :

Example

The example consists of two demos you can switch using the mouse left-click. It relies on the ofxTriangleMesh addon to triangulate meshes.

Demo 1 : Latin charset letters

Display iteratively the 26 uppercase letters of the latin charset (A to Z) with different animated contour sampling.

Demo 2 : ofxRenderFont

Display a 3d text with dynamic extrusion on the z-axis using the ofxRenderFont utility class.

Limitations

References

Acknowledgement

The example is distributed with a typeface from GNU FreeFont used under the GNU General Public License. You can read more about it and obtain a free copy here.

License

ofxFontSampler is released under the MIT License.