]> granicus.if.org Git - postgresql/commit
Add XSL stylesheet to fix up SVG files
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 19 Jun 2019 19:26:42 +0000 (21:26 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 19 Jun 2019 19:26:42 +0000 (21:26 +0200)
commitac5bb8f275dd9b2746fe6d433f1c08c1c3bd3d61
tree3bb3954cce0076762a985033b0ff75e67ad27183
parent66013fe73095f851c151a17ccc7553abe6246891
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.
.gitattributes
doc/src/sgml/images/Makefile
doc/src/sgml/images/README
doc/src/sgml/images/fixup-svg.xsl [new file with mode: 0644]
doc/src/sgml/images/gin.svg
doc/src/sgml/images/pagelayout.svg