Added a font_size override for font description
This commit is contained in:
@@ -22,6 +22,9 @@ Squib::Deck.new(width: 825, height: 1125, cards: 3) do
|
||||
text str: "Font strings are expressive!", x:65, y: 300,
|
||||
font: 'Arial,Verdana weight=900 style=oblique 36'
|
||||
|
||||
text str: "Font string sizes can be overridden per card.", x: 65, y: 350,
|
||||
font: 'Impact 36', font_size: [16, 20, 24]
|
||||
|
||||
text str: "This text has fixed width, fixed height, center-aligned, middle-valigned, and has a red hint",
|
||||
hint: :red,
|
||||
x: 65, y: 400,
|
||||
|
||||
Reference in New Issue
Block a user