Commit 9565bd2f authored by François Revol's avatar François Revol
Browse files

Add OpenFoodFacts template

parent 73ea10b2
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="1920"
height="1080"
viewBox="0 0 1920.0001 1080"
id="svg2"
version="1.1"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="35C3_ad_OpenFoodFacts.svg"
inkscape:export-filename="/home/revol/shared/projects/34C3/teahouse/34C3_ad_TeaHouse.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<defs
id="defs4">
<inkscape:perspective
id="perspective2874"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:vp_y="6.1230318e-14 : 1000 : 0"
inkscape:vp_x="0 : 526.18109 : 1"
sodipodi:type="inkscape:persp3d" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
inkscape:zoom="0.5"
inkscape:cx="1117.3733"
inkscape:cy="373.68208"
inkscape:document-units="px"
inkscape:current-layer="layer3"
showgrid="true"
width="1920mm"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1056"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
showguides="false"
inkscape:guide-bbox="true"
objecttolerance="50"
guidetolerance="10000">
<inkscape:grid
type="xygrid"
id="grid4184"
spacingx="100.00001"
spacingy="100"
units="px" />
<sodipodi:guide
position="-100.00001,900"
orientation="0,1"
id="guide4186"
inkscape:locked="false" />
<sodipodi:guide
position="1800.0002,100"
orientation="0,1"
id="guide4188"
inkscape:locked="false" />
<sodipodi:guide
position="100.00001,1100"
orientation="1,0"
id="guide4190"
inkscape:locked="false" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="bg black"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,27.637408)"
style="display:none"
sodipodi:insensitive="true">
<rect
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#ffffff;stroke-width:5;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
id="rect4155"
width="1920"
height="1080"
x="2.5"
y="-25.137468" />
</g>
<g
style="display:none"
transform="translate(0,27.637408)"
id="g4374"
inkscape:groupmode="layer"
inkscape:label="bg white"
sodipodi:insensitive="true">
<rect
y="-25.137468"
x="2.5"
height="1080"
width="1920"
id="rect4376"
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#ffffff;stroke-width:5;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" />
</g>
<g
inkscape:label="bg"
inkscape:groupmode="layer"
id="g4686"
transform="translate(0,27.637408)"
style="display:inline" />
<g
style="display:inline"
inkscape:label="text"
id="g4288"
inkscape:groupmode="layer">
<flowRoot
transform="translate(-34,-107.06124)"
style="font-style:normal;font-weight:normal;line-height:0.01%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:none;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="flowRoot4290"
xml:space="preserve"><flowRegion
id="flowRegion4292"
style="font-family:sans-serif"><rect
style="font-size:70.00000763px;font-family:sans-serif;fill:none"
y="129.06117"
x="138.00002"
height="200.00003"
width="1800.0002"
id="rect4294" /></flowRegion><flowPara
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:180.00001526px;line-height:1.25;font-family:Cantarell;-inkscape-font-specification:Cantarell;fill:#3b5100;fill-opacity:1;"
id="flowPara4296">Quadra'Tea House at 33C3</flowPara></flowRoot> <flowRoot
style="font-style:normal;font-weight:normal;line-height:0.01%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="flowRoot4298"
xml:space="preserve"><flowRegion
id="flowRegion4300"
style="font-family:sans-serif"><rect
y="348"
x="80"
height="578"
width="794"
id="rect4302"
style="font-family:sans-serif" /></flowRegion><flowPara
id="flowPara4304"
style="font-size:40px;line-height:1.25;font-family:sans-serif"> </flowPara></flowRoot> <flowRoot
transform="translate(31.297803,-184.76072)"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:0.01%;font-family:Cantarell;-inkscape-font-specification:Cantarell;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="flowRoot4306"
xml:space="preserve"><flowRegion
id="flowRegion4308"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Cantarell;-inkscape-font-specification:Cantarell"><rect
y="252.76073"
x="68.702209"
height="212"
width="1300.0001"
id="rect4310"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Cantarell;-inkscape-font-specification:Cantarell;text-align:end;text-anchor:end" /></flowRegion><flowPara
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:80.00000763px;line-height:1.25;font-family:Cantarell;-inkscape-font-specification:Cantarell;text-align:end;text-anchor:end"
id="flowPara1459" /><flowPara
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:80.00000763px;line-height:1.25;font-family:Cantarell;-inkscape-font-specification:'Cantarell Bold';text-align:start;text-anchor:start"
id="flowPara881">Please take your trash with you,</flowPara><flowPara
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:80.00000763px;line-height:1.25;font-family:Cantarell;-inkscape-font-specification:'Cantarell Bold';text-align:start;text-anchor:start"
id="flowPara885">and scan it for OpenFoodFacts ;-)</flowPara></flowRoot> <flowRoot
transform="translate(0,-6.1035164e-5)"
style="font-style:normal;font-weight:normal;line-height:0.01%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="flowRoot4326"
xml:space="preserve"><flowRegion
id="flowRegion4328"
style="font-family:sans-serif"><rect
y="780"
x="100.00001"
height="100"
width="0"
id="rect4330"
style="font-family:sans-serif" /></flowRegion><flowPara
id="flowPara4332"
style="font-size:40px;line-height:1.25;font-family:sans-serif"> </flowPara></flowRoot> <flowRoot
xml:space="preserve"
id="flowRoot4356"
style="font-style:normal;font-weight:normal;line-height:0.01%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
transform="translate(0,-6.1035164e-5)"><flowRegion
id="flowRegion4358"
style="font-family:sans-serif"><rect
id="rect4360"
width="0"
height="100"
x="1200"
y="680"
style="font-family:sans-serif" /></flowRegion><flowPara
id="flowPara4362"
style="font-size:40px;line-height:1.25;font-family:sans-serif"> </flowPara></flowRoot> <flowRoot
xml:space="preserve"
id="flowRoot6245"
style="font-style:normal;font-weight:normal;line-height:0.01%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"><flowRegion
id="flowRegion6247"
style="font-family:sans-serif"><rect
id="rect6249"
width="100.00001"
height="100"
x="2200"
y="480"
style="font-family:sans-serif" /></flowRegion><flowPara
id="flowPara6251"
style="font-size:40px;line-height:1.25;font-family:sans-serif"> </flowPara></flowRoot> <flowRoot
xml:space="preserve"
id="flowRoot1426"
style="fill:black;stroke:none;stroke-opacity:1;stroke-width:1px;stroke-linejoin:miter;stroke-linecap:butt;fill-opacity:1;font-family:Sans;font-style:normal;font-weight:normal;font-size:40px;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;text-align:center"><flowRegion
id="flowRegion1428"><rect
id="rect1430"
width="3.6379788e-12"
height="100"
x="100.00001"
y="680" /></flowRegion><flowPara
id="flowPara1432" /></flowRoot> <flowRoot
xml:space="preserve"
id="flowRoot1434"
style="fill:black;stroke:none;stroke-opacity:1;stroke-width:1px;stroke-linejoin:miter;stroke-linecap:butt;fill-opacity:1;font-family:Sans;font-style:normal;font-weight:normal;font-size:40px;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;text-align:center"><flowRegion
id="flowRegion1436"><rect
id="rect1438"
width="7.2759576e-12"
height="100"
x="100.00001"
y="580" /></flowRegion><flowPara
id="flowPara1440" /></flowRoot> <image
sodipodi:absref="/home/revol/devel/lqdn-infobeamer/infobeamer-templates/35C3/off/get-it-on.png"
xlink:href="get-it-on.png"
y="80"
x="1383.2002"
id="image1153"
style="image-rendering:optimizeQuality"
preserveAspectRatio="none"
height="200"
width="516.79999" />
<image
sodipodi:absref="/home/revol/devel/lqdn-infobeamer/infobeamer-templates/35C3/off/en_badge_web_generic.png"
xlink:href="en_badge_web_generic.png"
y="280"
x="1383.2002"
id="image1215"
style="image-rendering:optimizeQuality"
preserveAspectRatio="none"
height="200"
width="516.79999" />
<image
sodipodi:absref="/home/revol/devel/lqdn-infobeamer/infobeamer-templates/35C3/off/yeswescan_stephane_english_2800x2100_1_t.800.jpg"
xlink:href="yeswescan_stephane_english_2800x2100_1_t.800.jpg"
width="799.99994"
height="600"
preserveAspectRatio="none"
style="image-rendering:optimizeQuality"
id="image875"
x="300.00003"
y="280" />
</g>
<g
inkscape:groupmode="layer"
id="layer3"
inkscape:label="brought to you"
style="display:inline">
<flowRoot
xml:space="preserve"
id="flowRoot4260"
style="font-style:normal;font-weight:normal;line-height:0.01%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
transform="translate(-38)"><flowRegion
id="flowRegion4262"
style="font-family:sans-serif"><rect
id="rect4264"
width="399.99997"
height="100"
x="1300.0001"
y="680"
style="font-family:sans-serif" /></flowRegion><flowPara
id="flowPara4266"
style="font-size:40px;line-height:1.25;font-family:sans-serif"> </flowPara></flowRoot> <text
id="text4316-7"
y="968.54987"
x="447.42191"
style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
xml:space="preserve"><tspan
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:53.33333206px;line-height:1.25;font-family:'Liberation Mono';-inkscape-font-specification:'Liberation Mono';fill:#3273dc;fill-opacity:1"
id="tspan4324-53"
y="968.54987"
x="447.42191"
sodipodi:role="line">https://world.openfoodfacts.org/</tspan></text>
<image
sodipodi:absref="/home/revol/devel/lqdn-infobeamer/infobeamer-templates/35C3/off/qr_off.png"
xlink:href="qr_off.png"
y="480"
x="1400.0001"
id="image997"
style="display:inline;image-rendering:optimizeSpeed"
preserveAspectRatio="none"
height="440"
width="440" />
</g>
</svg>
# base name
TARGET_BASE := 35C3_ad_OpenFoodFacts
QRCOL := 000000
SCREEN_URL := https://en.blog.openfoodfacts.org/images/yeswescan_stephane_english_2800x2100_1_t.800.jpg
SCREEN_IMG := $(notdir $(SCREEN_URL))
FD_BADGE_URL := https://f-droid.org/badge/get-it-on.png
FD_BADGE_IMG := $(notdir $(FD_BADGE_URL))
PS_BADGE_URL := https://play.google.com/intl/en_gb/badges/images/generic/en_badge_web_generic.png
PS_BADGE_IMG := $(notdir $(PS_BADGE_URL))
QR_URL := https://world.openfoodfacts.org/
#XXX: inkscape cannot link to external SVG, nor move objects by command line :-(
QR_IMG := qr_off.png
all: $(TARGET_BASE).png $(TARGET_BASE).jpg
#XXX: inkscape cannot link to external SVG, nor move objects by command line :-(
# Makefile dependency forces regeneration if URL changes
$(QR_IMG): Makefile
qrencode --foreground $(QRCOL) --background ffffff00 -t PNG -s 10 -o $@ "$(QR_URL)"
$(TARGET_BASE).png: $(TARGET_BASE).svg $(QR_IMG) $(SCREEN_IMG) $(FD_BADGE_IMG) $(PS_BADGE_IMG)
inkscape $< --export-png $@
$(TARGET_BASE).jpg: $(TARGET_BASE).png
convert $< $@
$(SCREEN_IMG):
wget -O $@ "$(SCREEN_URL)"
$(FD_BADGE_IMG):
wget -O $@ "$(FD_BADGE_URL)"
$(PS_BADGE_IMG):
wget -O $@ "$(PS_BADGE_URL)"
clean:
rm -f $(TARGET_BASE).png $(TARGET_BASE).jpg $(QR_IMG) $(SCREEN_IMG) $(FD_BADGE_IMG) $(PS_BADGE_IMG)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment