samples/config/config_text_markup.rb in squib-0.13.4 vs samples/config/config_text_markup.rb in squib-0.14.beta1
- old
+ new
@@ -1,20 +1,20 @@
require 'squib'
Squib::Deck.new(config: 'config_text_markup.yml') do
background color: :white
text str: %{"'Yaml ain't markup', he says"},
- x: 10, y: 10, width: 300, height: 200, font: 'Serif 20',
+ x: 10, y: 10, width: 300, height: 200, font: 'Serif 7',
markup: true, hint: :cyan
text str: 'Notice also the antialiasing method.',
- x: 320, y: 10, width: 300, height: 200, font: 'Arial Bold 20'
+ x: 320, y: 10, width: 300, height: 200, font: 'Arial Bold 7'
save_png prefix: 'config_text_'
end
Squib::Deck.new(config: 'config_disable_quotes.yml') do
text str: %{This has typographic sugar --- and ``explicit'' quotes --- but the quotes are "dumb"},
- x: 10, y: 10, width: 300, height: 200, font: 'Serif 20',
+ x: 10, y: 10, width: 300, height: 200, font: 'Serif 7',
markup: true, hint: :cyan
save_png prefix: 'config_disable_text_'
end