pgsql: Add XSL stylesheet to fix up SVG files - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Add XSL stylesheet to fix up SVG files
Date
Msg-id E1hdgIl-0005rU-IN@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Magnus Hagander
Date:
Subject: pgsql: Fix typo
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Update list of combining characters