From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add XSL stylesheet to fix up SVG files
Date: Wed, 19 Jun 2019 19:31:23 +0000
Message-ID: <E1hdgIl-0005rU-IN@gemulon.postgresql.org> (raw)
Add XSL stylesheet to fix up SVG files
The SVG output produced by external tools needs some postprocessing.
This is implemented by this new XSL stylesheet.
Issues are:
- SVG produced by Ditaa does not add a viewBox attribute to the svg
element, needed to make the image scalable.
- SVG produced by Graphviz uses a stroke="transparent" attribute,
which is not valid SVG. It appears to mostly work, but FOP
complains.
Other tweaks can be added over time.
This reverts 7dc78d8ef3e62f7e06d7767c63dcede048377b9a and
29046c44f36099f4c979b1491fcf27db2f9184f9, which applied these fixes
manually.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/ac5bb8f275dd9b2746fe6d433f1c08c1c3bd3d61
Modified Files
--------------
.gitattributes | 1 -
doc/src/sgml/images/Makefile | 12 +++++--
doc/src/sgml/images/README | 11 +++----
doc/src/sgml/images/fixup-svg.xsl | 44 +++++++++++++++++++++++++
doc/src/sgml/images/gin.svg | 65 ++++++++++++++++++-------------------
doc/src/sgml/images/pagelayout.svg | 66 +++++++++++++++++---------------------
6 files changed, 119 insertions(+), 80 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org
Subject: Re: pgsql: Add XSL stylesheet to fix up SVG files
In-Reply-To: <E1hdgIl-0005rU-IN@gemulon.postgresql.org>
References: <E1hdgIl-0005rU-IN@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox