]> git.ipfire.org Git - artwork.git/commitdiff
Import the new logo and some scripts to generate different versions of it
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 30 Apr 2025 14:23:45 +0000 (15:23 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 30 Apr 2025 14:23:45 +0000 (15:23 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
.gitignore [new file with mode: 0644]
Makefile [new file with mode: 0644]
logo.svg [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..8636d97
--- /dev/null
@@ -0,0 +1,4 @@
+.DS_Store
+standard/*.pdf
+standard/*.png
+standard/*.svg
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..150929f
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,42 @@
+OBJECTS = \
+       standard/logo.svg \
+       standard/logo.pdf \
+       standard/logo-512x512.png \
+       standard/logo-1024x1024.png \
+       standard/logo-2048x2048.png
+
+# Inkscape command line
+INKSCAPE = inkscape $< --export-filename=$@
+
+.PHONY: all
+all: $(OBJECTS)
+
+# Converts the logo to a plain SVG file without requiring the font
+standard/logo.svg: logo.svg
+       mkdir -p $(dir $@)
+       $(INKSCAPE) \
+               --batch-process \
+               --actions="select-all;object-to-path;export-plain-svg"
+
+# Converts the logo to PDF
+standard/logo.pdf: logo.svg
+       mkdir -p $(dir $@)
+       $(INKSCAPE)
+
+# Converts the logo to a transparent PNG image with 512x512 pixels
+standard/logo-512x512.png: logo.svg
+       mkdir -p $(dir $@)
+       $(INKSCAPE) --export-width=512
+
+standard/logo-1024x1024.png: logo.svg
+       mkdir -p $(dir $@)
+       $(INKSCAPE) --export-width=1024
+
+standard/logo-2048x2048.png: logo.svg
+       mkdir -p $(dir $@)
+       $(INKSCAPE) --export-width=2048
+
+.PHONY: clean
+clean:
+       # Remove all generated objects
+       rm -vf $(OBJECTS)
diff --git a/logo.svg b/logo.svg
new file mode 100644 (file)
index 0000000..1dbeb5f
--- /dev/null
+++ b/logo.svg
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   width="1000"
+   height="1000"
+   viewBox="0 0 264.58333 264.58333"
+   version="1.1"
+   id="svg1"
+   inkscape:version="1.3.2 (091e20e, 2023-11-25)"
+   sodipodi:docname="logo.svg"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg">
+  <sodipodi:namedview
+     id="namedview1"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:showpageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     inkscape:deskcolor="#d1d1d1"
+     inkscape:document-units="px"
+     inkscape:zoom="0.46035255"
+     inkscape:cx="348.64584"
+     inkscape:cy="438.79414"
+     inkscape:window-width="1888"
+     inkscape:window-height="927"
+     inkscape:window-x="530"
+     inkscape:window-y="236"
+     inkscape:window-maximized="0"
+     inkscape:current-layer="layer1" />
+  <defs
+     id="defs1">
+    <rect
+       x="145.54063"
+       y="208.53583"
+       width="514.82283"
+       height="308.45925"
+       id="rect1" />
+  </defs>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1">
+    <text
+       xml:space="preserve"
+       transform="scale(0.26458333)"
+       id="text1"
+       style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect1);display:inline;fill:#000000;fill-opacity:1;stroke:none" />
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:83.3871px;line-height:1.25;font-family:Prompt;-inkscape-font-specification:'Prompt, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.434307"
+       x="-1.2527964"
+       y="156.599"
+       id="text2"><tspan
+         sodipodi:role="line"
+         id="tspan2"
+         style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:83.3871px;font-family:Prompt;-inkscape-font-specification:'Prompt, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;stroke-width:0.434307"
+         x="-1.2527964"
+         y="156.599">IPFire<tspan
+   style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:83.3871px;font-family:Prompt;-inkscape-font-specification:'Prompt, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#ff2e52;fill-opacity:1;stroke-width:0.434307"
+   id="tspan1">_</tspan></tspan></text>
+  </g>
+</svg>