samples/text_options.rb in squib-0.5.1 vs samples/text_options.rb in squib-0.6.0

- old
+ new

@@ -76,9 +76,13 @@ align: :left, ellipsize: false) do |embed| embed.svg key: ':tool:', width: 28, height: 28, file: 'spanner.svg' embed.svg key: ':health:', width: 28, height: 28, file: 'glass-heart.svg' end + text str: "Stroke n <span fgcolor=\"\#ff0000\">fill</span>", + color: :green, stroke_width: 2.0, stroke_color: :blue, + x: '1.8in', y: '3in', width: '0.85in', font: 'Sans Bold 26', markup: true + text str: "<b>Markup</b> is <i>quite</i> <s>'easy'</s> <span fgcolor=\"\#ff0000\">awesome</span>. Can't beat those \"smart\" 'quotes', now with 10--20% more en-dashes --- and em-dashes --- with explicit ellipses too...", markup: true, x: 50, y: 1000, width: 750, height: 100, valign: :bottom,