commit: a79753c392d0b2a66402a1f11ef02cf131efe080
Author: Michael Orlitzky gentoo org>
AuthorDate: Fri Jan 17 15:37:04 2020 +
Commit: Ulrich Müller gentoo org>
CommitDate: Mon Jan 27 19:56:25 2020 +
URL:https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=a79753c3
*.svg: specify Open Sans instead of generic "sans-serif" font.
The text in most of our diagrams was left to use the generic
"sans-serif" font face, which depends on both the local machine and
the program used to edit/convert the SVG image. This isn't the best
situation, because we want the output PNGs to be predictable.
The Tyrian layout used for devmanual.gentoo.org makes heavy use of the
"Open Sans" font, so this commit updates each SVG in the devmanual to
use that face for all text elements that were previously "sans-serif".
Bug: https://bugs.gentoo.org/700904
Signed-off-by: Michael Orlitzky gentoo.org>
[Fonts in ebuild-writing/functions/diagram.svg fixed]
Signed-off-by: Ulrich Müller gentoo.org>
ebuild-writing/functions/diagram.svg | 477
general-concepts/autotools/diagram.svg | 515 ++
general-concepts/emerge-and-ebuild/diagram.svg | 294 --
general-concepts/git-to-rsync/diagram.svg | 644 +-
general-concepts/mirrors/diagram.svg | 717 -
5 files changed, 1727 insertions(+), 920 deletions(-)
diff --git a/ebuild-writing/functions/diagram.svg
b/ebuild-writing/functions/diagram.svg
index 43bf26e..9547fc7 100644
--- a/ebuild-writing/functions/diagram.svg
+++ b/ebuild-writing/functions/diagram.svg
@@ -5,17 +5,11 @@
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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd;
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape;
- inkscape:export-ydpi="96"
- inkscape:export-xdpi="96"
- inkscape:version="1.0beta1 (fe3e306978, 2019-09-17)"
- sodipodi:docname="diagram.svg"
- id="svg2503"
- viewBox="-130 100 1100 80"
- height="80"
+ version="1.0"
width="1100"
- version="1.0">
+ height="80"
+ viewBox="-130 100 1100 80"
+ id="svg2503">
@@ -28,389 +22,366 @@
-
Ebuild Function Order
+ x="-129.33987"
+ y="96.698219"
+ id="background"
+ style="fill:#ee;stroke-width:0.293003" />
+ x="-7.6246438"
+ y="115.12637"
+ id="rect2508"
+
style="opacity:1;fill:#ff;stroke:#00;stroke-width:2;stop-opacity:1" />
pkg_setup
+ id="text2510"
+
style="text-anchor:middle;opacity:1;stop-opacity:1;-inkscape-font-specification:'Open
Sans';font-family:'Open
Sans';font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal;">pkg_setup
+ x="109.90766"
+ y="115.12637"
+ id="rect2518"
+
style="opacity:1;fill:#ff;stroke:#00;stroke-width:2;stop-opacity:1" />
src_unpack
+ id="text2520"
+
style="text-anchor:middle;opacity:1;stop-opacity:1;-inkscape-font-specification:'Open
Sans';font-family:'Open
Sans';font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal;">src_unpack
+ x="428.4689"
+ y="115.12637"
+ id="rect2528"
+
style="opacity:1;fill:#ff;stroke:#00;stroke-width:2;stop-opacity:1" />
src_compile
+ id="text2530"
+
style="text-anchor:middle;opacity:1;stop-opacity:1;-inkscape-font-specification:'Open
Sans';font-family:'Open
Sans';font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal;">src_compile
+
style="opacity:1;fill:none;stroke:#00;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stop-opacity:1"
/>
+ x="538.37067"
+ y="115.12637"
+ id="rect2540"
+
style="opacity:1;fill:#ccffcc;stroke:#00;stroke-width:2;stop-opacity:1" />
src_test
+ id="text2542"
+
style="text-anchor:middle;opacity:1;stop-opacity:1;-inkscape-font-specification:'Open
Sans';font-family:'Open
Sans';font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal;">src_test
-
+ x1="619.22565" />
+
+ y2="135.12637"
+ x2="639.90759"
+ y1="130.12637"
+ x1="647.90759" />
+ x="649.09814"
+ y="115.12637"
+ id="rect2550"
+
style="opacity:1;fill:#ff;stroke:#00;stroke-width:2;stop-opacity:1" />
src_install
+ id="text2552"
+
style="text-anchor:middle;opacity:1;stop-opacity:1;-inkscape-font-specification:'Open
Sans';font-family:'Open
Sans';font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal;">src_install
-
+ x1="729.9978" />
+
+ y2="135.12637"
+ x2="759.09814"
+ y1="130.12637"
+ x1="767.09814" />
+ x="767.90759"
+ y="115.12637"
+ id="rect2560"
+