require 'gtk2'

Gtk.init

str = <<ENDE
<span size="300000" face="Sans">Test</span>
<span size="300000" face="Arial">Test</span>
ENDE
attrs, text, accel_char = Pango.parse_markup(str, '$')

label = Gtk::Label.new(text)
label.attributes = attrs

Gtk::Window.new.add(label).show_all

Gtk.main
