From a09ffed2f603699955c18c19e0d3e782fb61d93f Mon Sep 17 00:00:00 2001 From: albert-github Date: Sun, 8 Feb 2015 11:29:00 +0100 Subject: Support generating index-color PNG files Based on the request http://stackoverflow.com/questions/27036474/how-do-make-doxygen-generate-index-color-png-files for index colored png files, this functionality will be included in the newer versions (2.39) of dot. The functionality -Tpng:cairo:gd will automatically be used by doxygen, though the file extension would be wrong (.png:cairo:gd). With this patch the :cairo:gd is stripped from the image extension, but not from the -T of the dot command. In the doxywizard the different possibilities are supplied as well. Note however that the DOT_IMAGE_FORMAT name is not checked when read from the Doxyfile so it is possible to use other renderer / formats as well due to the generic solution with getDot ImageExtension. --- src/config.xml | 12 +++++++++++- src/docbookvisitor.cpp | 2 +- src/dot.cpp | 46 ++++++++++++++++++++++++++++------------------ src/htmldocvisitor.cpp | 4 ++-- src/index.cpp | 3 ++- src/rtfdocvisitor.cpp | 3 ++- src/rtfgen.cpp | 12 ++++++++---- src/translator_am.h | 2 +- src/translator_ar.h | 2 +- src/translator_br.h | 2 +- src/translator_ca.h | 2 +- src/translator_cn.h | 2 +- src/translator_cz.h | 2 +- src/translator_de.h | 2 +- src/translator_dk.h | 2 +- src/translator_en.h | 2 +- src/translator_eo.h | 2 +- src/translator_es.h | 2 +- src/translator_fa.h | 2 +- src/translator_fi.h | 2 +- src/translator_fr.h | 4 ++-- src/translator_gr.h | 2 +- src/translator_hr.h | 2 +- src/translator_hu.h | 2 +- src/translator_id.h | 2 +- src/translator_it.h | 2 +- src/translator_jp.h | 2 +- src/translator_kr.h | 2 +- src/translator_lt.h | 2 +- src/translator_lv.h | 2 +- src/translator_mk.h | 2 +- src/translator_nl.h | 2 +- src/translator_no.h | 2 +- src/translator_pl.h | 2 +- src/translator_pt.h | 2 +- src/translator_ro.h | 2 +- src/translator_ru.h | 2 +- src/translator_sc.h | 2 +- src/translator_si.h | 2 +- src/translator_sk.h | 2 +- src/translator_sr.h | 2 +- src/translator_sv.h | 2 +- src/translator_tr.h | 2 +- src/translator_tw.h | 2 +- src/translator_ua.h | 2 +- src/translator_vi.h | 2 +- src/translator_za.h | 2 +- src/util.cpp | 6 ++++++ src/util.h | 2 ++ src/vhdldocgen.cpp | 3 ++- 50 files changed, 105 insertions(+), 70 deletions(-) diff --git a/src/config.xml b/src/config.xml index 438b885..b6f1936 100644 --- a/src/config.xml +++ b/src/config.xml @@ -3271,7 +3271,9 @@ to be found in the default search path. Graphviz). \note If you choose \c svg you need to set \ref cfg_html_file_extension "HTML_FILE_EXTENSION" to \c xhtml in order to make the SVG files visible in IE 9+ (other browsers do not have this requirement). @@ -3281,6 +3283,14 @@ to be found in the default search path. + + + + + + + +