[PATCH] D11994: Doxygen: add build option to use svg instead of png files for graphs

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 17 16:12:10 PDT 2015


hans added a comment.

In http://reviews.llvm.org/D11994#226133, @silvas wrote:

>




> Just for reference, is the significantly decreased size due to the SVG files just being smaller, or compressing better? Given that most browsers seem to support SVG nowadays (http://caniuse.com/#feat=svg), it might make sense to just hardcode `svg` in the doxygen.cfg.in file (with a comment explaining the choice). That avoids surfacing any complexity in cmake.


The svg files are smaller, but the big reduction comes from better compression.

For LLVM, the doxygen with png is 1.6 GB uncompressed and 980 MB compressed. With svg, it's 867 MB uncompressed and 65 MB compressed.


http://reviews.llvm.org/D11994





More information about the llvm-commits mailing list