Here is a patch to improve this a bit. It turns back on making the SVG
images in the HTML output scale with the page size. I also added some
CSS stuff to make the width 75% on large screens for a more pleasing look.
This fixes it for the gin image. The pagelayout image still doesn't
scale, presumably for the reasons you identified inside the SVG code.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services