Symbol font measurments (margin/fontsize) now scaled by font size, this requires all symbol files to change (or you get really large margins);
Symbol fonts now support stretching/compressing of text; Made the default symbols of mana-future lighter (compare with real cards); Use sort_text instead of sort for vanguard; Fixed initial card list for vs git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@643 0fc631ac-6414-0410-93d0-97cfa31319b6
@@ -196,7 +196,7 @@ card style:
|
||||
width: 220
|
||||
height: 20
|
||||
alignment: top shrink-overflow
|
||||
z index: 1
|
||||
z index: 2
|
||||
padding top: 2
|
||||
font:
|
||||
name: Matrix
|
||||
|
||||
@@ -175,7 +175,6 @@ card style:
|
||||
symbol font:
|
||||
name: magic-mana-future
|
||||
size: 22
|
||||
scale down to: 22
|
||||
alignment: bottom right
|
||||
always symbol: true
|
||||
mask: costmask.png
|
||||
|
||||
@@ -178,9 +178,10 @@ symbol:
|
||||
as text: .|[0-9]+(?!/)
|
||||
text font:
|
||||
name: MPlantin
|
||||
size: 15
|
||||
size: 1
|
||||
color: rgb(0,0,0)
|
||||
text margin left: 3
|
||||
text margin right: 2
|
||||
text margin top: -1
|
||||
text margin bottom: -1
|
||||
max stretch: 0.5
|
||||
text margin left: .26
|
||||
text margin right: .2
|
||||
text margin top: -.12
|
||||
text margin bottom: -.12
|
||||
|
||||
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 48 KiB |
@@ -139,9 +139,10 @@ symbol:
|
||||
as text: .|[0-9]+(?!/)
|
||||
text font:
|
||||
name: MPlantin
|
||||
size: 16
|
||||
size: 1
|
||||
color: rgb(0,0,0)
|
||||
text margin left: 3
|
||||
text margin right: 2
|
||||
text margin top: -1
|
||||
text margin bottom: -1
|
||||
max stretch: 0.5
|
||||
text margin left: .35
|
||||
text margin right: .3
|
||||
text margin top: 0.1
|
||||
text margin bottom: 0.1
|
||||
|
||||
@@ -191,12 +191,13 @@ symbol:
|
||||
as text: .|[0-9]+(?!/)
|
||||
text font:
|
||||
name: MPlantin
|
||||
size: 15
|
||||
size: 1
|
||||
color: rgb(0,0,0)
|
||||
text margin left: 3
|
||||
text margin right: 2
|
||||
text margin top: -1
|
||||
text margin bottom: -1
|
||||
max stretch: 0.5
|
||||
text margin left: .28
|
||||
text margin right: .2
|
||||
text margin top: -.12
|
||||
text margin bottom: -.06
|
||||
|
||||
##############################################################
|
||||
# Insert-symbol menu
|
||||
|
||||
@@ -198,12 +198,13 @@ symbol:
|
||||
as text: .|[0-9]+(?!/)
|
||||
text font:
|
||||
name: MPlantin
|
||||
size: 15
|
||||
size: 1
|
||||
color: rgb(0,0,0)
|
||||
text margin left: 3
|
||||
text margin right: 2
|
||||
text margin top: -1
|
||||
text margin bottom: -1
|
||||
max stretch: 0.5
|
||||
text margin left: .26
|
||||
text margin right: .2
|
||||
text margin top: -.12
|
||||
text margin bottom: -.12
|
||||
|
||||
##############################################################
|
||||
# Insert-symbol menu
|
||||
|
||||
@@ -60,9 +60,9 @@ init script:
|
||||
|
||||
# Converted mana cost
|
||||
cmc := to_text + {
|
||||
1 * number_of_items(in: sort(order:"SWUBRG")) # colored mana
|
||||
- 1 * number_of_items(in: sort(order:"/")) # guild mana, W/U -> 2 - 1
|
||||
+ 1 * sort(order: "[0123456789]") # colorless mana
|
||||
1 * number_of_items(in: sort_text(order:"SWUBRG")) # colored mana
|
||||
- 1 * number_of_items(in: sort_text(order:"/")) # guild mana, W/U -> 2 - 1
|
||||
+ 1 * sort_text(order: "[0123456789]") # colorless mana
|
||||
}
|
||||
|
||||
############################################################## The text box
|
||||
|
||||
@@ -293,12 +293,15 @@ card field:
|
||||
)
|
||||
identifying: true
|
||||
show statistics: false
|
||||
card list visible: true
|
||||
card list column: 1
|
||||
card list width: 200
|
||||
description: The name of the card, use @ for a diamond
|
||||
card field:
|
||||
type: text
|
||||
name: cost
|
||||
script: only_numbers(value)
|
||||
card list visible: true
|
||||
card list column: 3
|
||||
card list alignment: right
|
||||
card list width: 37
|
||||
@@ -391,6 +394,7 @@ card field:
|
||||
hide_when_empty: true,
|
||||
type_over1: " `"
|
||||
)
|
||||
card list visible: true
|
||||
card list column: 2
|
||||
show statistics: false
|
||||
|
||||
@@ -406,9 +410,11 @@ card field:
|
||||
order_by: {
|
||||
sort_index() + card.team + card.team_2_of_2 + card.team_2 + card.team_2_of_2_2 + card.name + card.version + " • " + card.team_affiliation
|
||||
})
|
||||
card list visible: true
|
||||
card list column: 6
|
||||
card list width: 55
|
||||
card list name: #
|
||||
card list alignment: right
|
||||
editable: false
|
||||
show statistics: false
|
||||
card field:
|
||||
@@ -543,18 +549,22 @@ card field:
|
||||
name: attack
|
||||
script: only_numbers(value)
|
||||
save value: true
|
||||
card list visible: true
|
||||
card list column: 4
|
||||
card list width: 33
|
||||
card list name: ATK
|
||||
card list alignment: right
|
||||
|
||||
card field:
|
||||
type: text
|
||||
name: defence
|
||||
script: only_numbers(value)
|
||||
save value: true
|
||||
card list visible: true
|
||||
card list column: 5
|
||||
card list width: 33
|
||||
card list name: DEF
|
||||
card list alignment: right
|
||||
|
||||
############################# Copyright stuff
|
||||
card field:
|
||||
|
||||