RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Skrift - a pure Ruby TrueType font renderer

Skrift is a tiny (<600 lines currently) pure-Ruby rewrite of the libschrift TrueType font renderer.

You can find it on Github where there’s also a basic demo. It’s also available from Rubygems as ‘skrift’. Skrift renders glyphs to greyscale that’s fairly easy to render into images etc., and also extracts the font metrics needed to correctly place the glyphs, but does not yet contain any layout engine.

More documentation and cleanups coming up, as well as integration with a (pure-Ruby) X11 client library.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in