PDFテンプレート登録

イラストレーター等で作成したチラシ原稿をPDF出力し、PDFテンプレートとして登録します。

1

チラシ_流し込み版
{{ "resources": {{ "font": {{ "GoW8": {{"src": "{fonts}/HiraKakuGo_StdN_W8.otf"}}, "GoW6": {{"src": "{fonts}/HiraKakuGo_ProN_W6.otf"}}, "@GoW6": {{"src": "{fonts}/HiraKakuGo_ProN_W6.otf", "writing-mode": "VerticalRl"}}, "GoW3": {{"src": "{fonts}/HiraKakuGo_ProN_W3.otf"}}, "@GoW3": {{"src": "{fonts}/HiraKakuGo_ProN_W3.otf", "writing-mode": "VerticalRl"}} }} }}, "template": "{template}", "context": {{ "0": {{ "image": {{"icon": "{image[0]}"}}, "description": "<body><p style='letter-spacing:-1'>{title[0]}</p><p style='font-size:80%'>{standard[0]}</p></body>", "price": "<body><p><span style='font-stretch:0.8;letter-spacing:-.5;text-stroke-color:white;text-stroke-width:0.5'>{price[0]:,d}</span><span style='font:GoW3;font-size:45%'> 円</span></p></body>", "tax": "<body><p>〈税込{post_tax_price[0]:,d}円〉</p></body>", "bonus": {{"icon": "{bonus[0]}"}}, "medicine": {{"icon": "{medicine[0]}"}}, "comment": "<body><p>{remark[0]}</p></body>" }}, "1": {{ "image": {{"icon": "{image[1]}"}}, "description": "<body><p style='letter-spacing:-1'>{title[1]}</p><p style='font-size:80%'>{standard[1]}</p></body>", "price": "<body><p><span style='font-stretch:0.8;letter-spacing:-.5;text-stroke-color:white;text-stroke-width:0.5'>{price[1]:,d}</span><span style='font:GoW3;font-size:45%'> 円</span></p></body>", "tax": "<body><p>〈税込{post_tax_price[1]:,d}円〉</p></body>", "bonus": {{"icon": "{bonus[1]}"}}, "medicine": {{"icon": "{medicine[1]}"}}, "comment": "<body><p>{remark[1]}</p></body>" }}, "2": {{ "image": {{"icon": "{image[2]}"}}, "description": "<body><p style='letter-spacing:-1'>{title[2]}</p><p style='font-size:80%'>{standard[2]}</p></body>", "price": "<body><p><span style='font-stretch:0.8;letter-spacing:-.5;text-stroke-color:white;text-stroke-width:0.5'>{price[2]:,d}</span><span style='font:GoW3;font-size:45%'> 円</span></p></body>", "tax": "<body><p>〈税込{post_tax_price[2]:,d}円〉</p></body>", "bonus": {{"icon": "{bonus[2]}"}}, "medicine": {{"icon": "{medicine[2]}"}}, "comment": "<body><p>{remark[2]}</p></body>" }}, "3": {{ "image": {{"icon": "{image[3]}"}}, "description": "<body><p style='letter-spacing:-1'>{title[3]}</p><p style='font-size:80%'>{standard[3]}</p></body>", "price": "<body><p><span style='font-stretch:0.8;letter-spacing:-.5;text-stroke-color:white;text-stroke-width:0.5'>{price[3]:,d}</span><span style='font:GoW3;font-size:45%'> 円</span></p></body>", "tax": "<body><p>〈税込{post_tax_price[3]:,d}円〉</p></body>", "bonus": {{"icon": "{bonus[3]}"}}, "medicine": {{"icon": "{medicine[3]}"}}, "comment": "<body><p>{remark[3]}</p></body>" }}, "from": {{"m": "7", "d": "{from_day}", "wd": "{from_wday}"}}, "to": {{"m": "7", "d": "{to_day}", "wd": "{to_wday}"}}, "map": {{"icon": "{map}"}} }}, "style": [ {{"*.description": {{ "rich-text": true, "font": "GoW8", "font-size": 7, "color": "Black", "text-stroke-color": "White", "text-stroke-width": 0.2 }}, "*.price": {{ "rich-text": true, "font": "GoW8", "color": [238,27,36], "font-size": 25 }}, "*.tax": {{ "rich-text": true, "font": "GoW3", "font-size": 6 }} }}, {{"*.m": {{"font": "GoW8", "font-size": 20, "font-stretch": 1.0}}}}, {{"*.d": {{"font": "GoW8", "font-size": 40, "color": [204,10,32], "font-stretch": 0.9}}}}, {{"*.wd": {{"font": "GoW8", "font-size": 18}}}}, {{"*.price": {{"font": "GoW8", "font-size": 25}}}}, {{"*.comment": {{"font": "@GoW3", "font-size": 5, "white-space": "PreLine", "line-height": 1.0, "line-skip-limit": 0}}}} ] }}