summaryrefslogtreecommitdiffstats
path: root/src/translator_dk.h
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2015-02-08 10:29:00 (GMT)
committeralbert-github <albert.tests@gmail.com>2015-02-08 10:29:00 (GMT)
commita09ffed2f603699955c18c19e0d3e782fb61d93f (patch)
tree0df3f69e7c752c954ff3ec42b02fc91682d8acb9 /src/translator_dk.h
parent5bfda3d4c1158e5429349a2698339650dcfbbe88 (diff)
downloadDoxygen-a09ffed2f603699955c18c19e0d3e782fb61d93f.zip
Doxygen-a09ffed2f603699955c18c19e0d3e782fb61d93f.tar.gz
Doxygen-a09ffed2f603699955c18c19e0d3e782fb61d93f.tar.bz2
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.
Diffstat (limited to 'src/translator_dk.h')
-rw-r--r--src/translator_dk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/translator_dk.h b/src/translator_dk.h
index 74b07f4..2904a76 100644
--- a/src/translator_dk.h
+++ b/src/translator_dk.h
@@ -993,7 +993,7 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0
"\\endcode\n"
"Hvis \\c MAX_DOT_GRAPH_HEIGHT i konfigurationsfilen "
"er sat til 240, vil dette resultere i følgende graf:"
- "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
+ "<p><center><img src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
"<p>\n"
"De forskellige slags kasser i ovenstående graf har følgende "
"betydninger:\n"