diff --git a/img/frames/promo/extended/frame.svg b/img/frames/promo/extended/frame.svg new file mode 100644 index 00000000..51700f6b --- /dev/null +++ b/img/frames/promo/extended/frame.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/img/frames/promo/extended/frameThumb.png b/img/frames/promo/extended/frameThumb.png new file mode 100644 index 00000000..aa19f941 Binary files /dev/null and b/img/frames/promo/extended/frameThumb.png differ diff --git a/js/creator-19.js b/js/creator-19.js index 05e821ee..fa4a48ea 100644 --- a/js/creator-19.js +++ b/js/creator-19.js @@ -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('')); } diff --git a/js/frames/packPromoExtended.js b/js/frames/packPromoExtended.js index 1b5e5afd..1205e6bb 100644 --- a/js/frames/packPromoExtended.js +++ b/js/frames/packPromoExtended.js @@ -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 = [