Commit 410f9eb9 authored by pichoro's avatar pichoro

Changed text_shape script to sort better.

Changed textbox font to not scale down so small.
parent 8957bd5f
...@@ -26,12 +26,12 @@ init script: ...@@ -26,12 +26,12 @@ init script:
# What should the textbox look like? # What should the textbox look like?
text_shape := { text_shape := {
if styling.one_textline_tokens if card.rule_text == ""
and card_style.text.content_lines <= 2 and card.flavor_text == "<i-flavor></i-flavor>" then "0" # no textbox
and card.flavor_text == "<i-flavor></i-flavor>" then "1" # small else if styling.one_textline_tokens
else if card.rule_text != "" or and card_style.text.content_lines == 2
number_of_items(in:"" + card.flavor_text) > 21 then "2" # large and card.flavor_text == "<i-flavor></i-flavor>" then "1" # small textbox
else "0" # none else "2" # large textbox
} }
suffix := "" suffix := ""
...@@ -152,7 +152,7 @@ card style: ...@@ -152,7 +152,7 @@ card style:
top: top:
{ if text_shape() == "1" then 414 { if text_shape() == "1" then 414
else if text_shape() == "2" then 350 else if text_shape() == "2" then 350
else 433 } else 430 }
width: 286 width: 286
height: 20 height: 20
alignment: top shrink-overflow alignment: top shrink-overflow
...@@ -199,7 +199,7 @@ card style: ...@@ -199,7 +199,7 @@ card style:
name: MPlantin name: MPlantin
italic name: MPlantin-Italic italic name: MPlantin-Italic
size: 15 size: 15
scale down to: 6 scale down to: 15
color: rgb(0,0,0) color: rgb(0,0,0)
symbol font: symbol font:
name: name:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment