From e2d3b306a08bb536209f9a101315ad036186fe4c Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Mon, 20 Mar 2017 14:52:23 +0100 Subject: Add documentation cover --- docs/cover.jpg | Bin 0 -> 180037 bytes docs/cover_small.jpg | Bin 0 -> 12352 bytes docs/resources/cover.svg | 2394 ++++++++++++++++++++++++++++++++++++++++++ docs/resources/make_cover.sh | 14 + 4 files changed, 2408 insertions(+) create mode 100644 docs/cover.jpg create mode 100644 docs/cover_small.jpg create mode 100644 docs/resources/cover.svg create mode 100755 docs/resources/make_cover.sh (limited to 'docs') diff --git a/docs/cover.jpg b/docs/cover.jpg new file mode 100644 index 0000000..b9e0b1e Binary files /dev/null and b/docs/cover.jpg differ diff --git a/docs/cover_small.jpg b/docs/cover_small.jpg new file mode 100644 index 0000000..d88c4ee Binary files /dev/null and b/docs/cover_small.jpg differ diff --git a/docs/resources/cover.svg b/docs/resources/cover.svg new file mode 100644 index 0000000..8d24aef --- /dev/null +++ b/docs/resources/cover.svg @@ -0,0 +1,2394 @@ + + + + + + + + + + image/svg+xml + + + + + + + + {title} {subtitle} {version} {date} + diff --git a/docs/resources/make_cover.sh b/docs/resources/make_cover.sh new file mode 100755 index 0000000..6494bd4 --- /dev/null +++ b/docs/resources/make_cover.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +cat cover.svg | sed -e 's/{title}/Low level CAN binder/' \ + -e 's/font-size:87.5px/font-size:50px/g' \ + -e 's/{subtitle}//g' \ + -e 's/{version}/Version 1.0/g' \ + -e 's/{date}/March 2017/g' \ + > /tmp/cover.svg + +inkscape --without-gui --export-png=../cover.jpg \ + --export-background="#ffffff" -w 1800 -h 2360 /tmp/cover.svg + +inkscape --without-gui --export-png=../cover_small.jpg \ + --export-background="#ffffff" -w 200 -h 262 /tmp/cover.svg \ No newline at end of file -- cgit 1.2.3-korg