You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Embedded SVGs are vertically lower than they should be
To Reproduce
Create the following script:
require'squib'require'game_icons'Squib::Deck.new(cards: 3)douse_layoutfile: 'economy.yml'backgroundcolor: 'white'cut_zonesafe_zoneLOVE=GameIcons.get('skoll/hearts').recolor(fg: 'black',bg: 'white',fg_opacity: 1.0,bg_opacity: 0.0).stringdescs=["Here is text without an embed","Here is text with {l} embedded","{l}"]rectlayout: :descriptiontextlayout: :description,str: descsdo |embed|
embed.svgkey: '{l}',width: 32,height: 32,data: LOVEendsaveformat: :pngend
Describe the bug
Embedded SVGs are vertically lower than they should be
To Reproduce
Create the following script:
Run it with
ruby deck.rb
Expected behavior
SVGs should be inline with text
Screenshots
Environment
Additional context
A text string that is entirely replaced with embeds does not seem to be lowered.
Check the following:
The text was updated successfully, but these errors were encountered: