|
Post by lordagamemnon on Feb 18, 2020 0:59:28 GMT
I'm trying to make a template (under the magic.mse-game file) with a vertical symbol-only text box, but I'm running into a weird issue with shrink-overflow. Specifically, it's shrinking even when it doesn't need to, which is mildly annoying.
Here's the code for the field:
casting cost 3: left: 20 top: 75 height: 216 width: 50 alignment: top left shrink-overflow direction: vertical symbol font: name: magic-mana-future size: 25 scale down to: 12 always symbol: true z index: 4 padding top: 0 padding bottom: 0 Whenever I input a fifth symbol into the box, it begins shrinking them. Visually, this isn't necessary, and the math validates this:
{Math on font size} Future-font's definition maps 135 pt=200 by 200 px. I'm rendering at 25 pt= ~37.04 px. Five of those symbols would be ~185 px high, so even with a bit of padding, they would comfortably fit within a height of 216. I've also tried this with the magic-mana-large font, I've tried commenting out "scale down to", including a non-symbol font, and messing around with some alignment options, but none of it has helped. Does anyone have any suggestions on what's happening here and/or how I can fix it?
I can attach images of the effect it has if people would like to see it in action. It's a default field, as well, so it should be reproducible in any custom style file that doesn't already use casting cost 3.
|
|