Forum: Ruby-Gnome 2 Embedded images with Pango and Cairo

Posted by Aiden Nibali (dismal_denizen)
on 2011-02-15 00:28
The goal: To embed images within text rendered by Pango (similar to how
some chat clients display inline emoticons), using a Cairo backend.

The research: After much Google-grinding I came across the
pango_cairo_context_get_shape_renderer and pango_attr_shape_new
functions in the original C library.

The problem: I am unable to locate bindings for the aforementioned Pango
functions in Ruby-Gnome, and I can't find an alternative way of
embedding images.

All help is much appreciated.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.