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: Pure-Ruby TrueType / OpenType glyph rendering

Skrift and its accompanying plugins skrift-color (Emoji rendering), skrift-boxdrawing (“perfect” scaling boxdrawing characters) and skrift-x11 provides a whole eco-system of TrueType / OpenType text rendering to bitmaps or X11 drawables with no external dependencies (no FreeType etc.).

The big news in this release is the inclusion of support for several color font tables, and support for double-width glyphs (most emoji). The Emoji support is partial at this point (e.g. minimal support for composing skin color or flags etc.). To avoid growing the very minimalist core renderer, the Emoji support is published as a separate gem.

This is the renderer used in my Ruby terminal emulator.

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