doxygen/doxygen-1.7.2-fix_cftchapfont.patch

17 lines
786 B
Diff
Raw Permalink Normal View History

diff -Nru doxygen-1.7.2.orig//src/latexgen.cpp doxygen-1.7.2/src/latexgen.cpp
--- doxygen-1.7.2.orig//src/latexgen.cpp 2010-09-19 10:31:14.000000000 +0200
+++ doxygen-1.7.2/src/latexgen.cpp 2010-12-11 18:41:58.506293348 +0100
@@ -328,10 +328,10 @@
"\\RequirePackage{sectsty}\n"
"\\RequirePackage{tocloft}\n"
"\\allsectionsfont{\\usefont{OT1}{phv}{bc}{n}\\selectfont}\n"
- "\\renewcommand{\\cftchapfont}{%\n"
+ "\\newcommand{\\cftchapfont}{%\n"
" \\fontsize{11}{13}\\usefont{OT1}{phv}{bc}{n}\\selectfont\n"
"}\n"
- "\\renewcommand{\\cftchappagefont}{%\n"
+ "\\newcommand{\\cftchappagefont}{%\n"
" \\fontsize{11}{13}\\usefont{OT1}{phv}{c}{n}\\selectfont\n"
"}\n"
"\\renewcommand{\\cftsecfont}{%\n"