mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-26 21:04:58 -05:00
promo extended frame mask + vertical apostrophe spacing
This commit is contained in:
8
img/frames/promo/extended/frame.svg
Normal file
8
img/frames/promo/extended/frame.svg
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="1500" height="2100" viewBox="0 0 1500 2100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
||||
<rect id="Card" x="0" y="0" width="1500" height="2100" style="fill:none;"/>
|
||||
<g id="Card1" serif:id="Card">
|
||||
<path d="M106,1345L60,1345L60,1765C60.611,1789.61 73.299,1829.61 100,1853L100,1483.21C88.362,1469.83 78.412,1445.28 78,1417C78.481,1383.95 91.996,1355.98 106,1345ZM1440,1345L1394,1345L1394.33,1345.26C1408.21,1356.42 1421.52,1384.21 1422,1417C1421.59,1445.28 1411.64,1469.83 1400,1483.21L1400,1853C1426.7,1829.61 1439.39,1789.61 1440,1765L1440,1345ZM60,233L60,85C62.855,71.038 71.263,62.781 85,60L1415,60C1428.74,62.781 1437.14,71.038 1440,85L1440,233L1394,233C1408,222.016 1421.52,194.052 1422,161C1421.52,127.948 1408,99.984 1394,89L106,89C91.996,99.984 78.481,127.948 78,161C78.477,193.794 91.785,221.58 105.672,232.739L106,233L60,233Z" style="fill:rgb(0,123,67);"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.2 KiB |
BIN
img/frames/promo/extended/frameThumb.png
Normal file
BIN
img/frames/promo/extended/frameThumb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
@@ -650,7 +650,13 @@ function writeText(textObject, targetContext) {
|
||||
newSplitText.push(`{down${scaleHeight(0.01)}}`);
|
||||
} else {
|
||||
item.split('').forEach(char => {
|
||||
newSplitText.push(char, '{lns}');
|
||||
if (char == '’') {
|
||||
console.log(char);
|
||||
newSplitText.push(`{right${startingTextSize * 0.6}}`, '’', '{lns}', `{up${startingTextSize * 0.75}}`);
|
||||
console.log(newSplitText);
|
||||
} else {
|
||||
newSplitText.push(char, '{lns}');
|
||||
}
|
||||
});
|
||||
// newSplitText = newSplitText.concat(item.split(''));
|
||||
}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
//Create objects for common properties across available frames
|
||||
var masks = [{src:'/img/frames/promo/m15PromoMaskPinline.png', name:'Pinline'}, {src:'/img/frames/m15/regular/m15MaskTitle.png', name:'Title'}, {src:'/img/frames/promo/m15PromoMaskType.png', name:'Type'}, {src:'/img/frames/promo/m15PromoMaskRules.png', name:'Rules'}, {src:'/img/frames/m15/regular/m15MaskBorder.png', name:'Border'}];
|
||||
var masks = [{src:'/img/frames/promo/m15PromoMaskPinline.png', name:'Pinline'}, {src:'/img/frames/m15/regular/m15MaskTitle.png', name:'Title'}, {src:'/img/frames/promo/m15PromoMaskType.png', name:'Type'}, {src:'/img/frames/promo/extended/frame.svg', name:'Frame'}, {src:'/img/frames/promo/m15PromoMaskRules.png', name:'Rules'}, {src:'/img/frames/m15/regular/m15MaskBorder.png', name:'Border'}];
|
||||
var bounds = {x:0.7573, y:0.8848, width:0.188, height:0.0733};
|
||||
//defines available frames
|
||||
availableFrames = [
|
||||
|
Reference in New Issue
Block a user