diff --git a/js/creator-23.js b/js/creator-23.js index c1aeeda1..ddc129ce 100644 --- a/js/creator-23.js +++ b/js/creator-23.js @@ -795,8 +795,8 @@ function writeText(textObject, targetContext) { var drawToPrePTCanvas = false; var widestLineWidth = 0; //variables that track various... things? - var newLineSpacing = 0; var textSize = startingTextSize; + var newLineSpacing = (textObject.lineSpacing || 0) * textSize; var ptShift = [0, 0]; var permaShift = [0, 0]; //Finish prepping canvases @@ -1083,7 +1083,7 @@ function writeText(textObject, targetContext) { //reset currentX = startingCurrentX; currentY += textSize + newLineSpacing; - newLineSpacing = 0; + newLineSpacing = (textObject.lineSpacing || 0) * textSize; newLine = false; } if (wordToWrite && (currentX != 0 || wordToWrite != ' ') && !textManaCost) { diff --git a/js/frames/groupFleshAndBlood.js b/js/frames/groupFleshAndBlood.js index 2ffd6cc4..ff889704 100644 --- a/js/frames/groupFleshAndBlood.js +++ b/js/frames/groupFleshAndBlood.js @@ -27,7 +27,7 @@ var LoadFABVersion = async () => { loadTextOptions({ title: {name:'Title', text:'', x:0.19, y:0.0705, width:0.62, height:0.0405, oneLine:true, font:'amanda', size:0.0405, align:'center', manaPrefix:'fab'}, type: {name:'Type', text:'', x:0.24, y:0.8977, width:0.52, height:0.0281, oneLine:true, font:'amanda', size:0.0281, align:'center', manaPrefix:'fab'}, - rules: {name:'Rules Text', text:'', x:0.12, y:0.6153, width:0.76, height:0.28, size:0.0281, font:'palatino', manaPrefix:'fab'}, + rules: {name:'Rules Text', text:'', x:0.12, y:0.6153, width:0.76, height:0.28, size:0.0281, font:'palatino', manaPrefix:'fab', lineSpacing:0.2}, cost: {name:'Cost', text:'', x:0.854, y:0.0753, width:0.0534, height:0.031, size:0.031, font:'palatino', oneLine:true, align:'center', manaPrefix:'fab'}, left: {name:'Left Stat', text:'', x:0.162, y:0.9124, width:0.0534, height:0.0358, size:0.0358, font:'palatino', oneLine:true, align:'center', manaPrefix:'fab'}, right: {name:'Right Stat', text:'', x:0.7847, y:0.9124, width:0.0534, height:0.0358, size:0.0358, font:'palatino', oneLine:true, align:'center', manaPrefix:'fab'}