From d1274ec7b95ba139e380f0320af195ce867bc4ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 20 Oct 2002 13:45:40 +0000 Subject: [PATCH] don't use if not requested git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- utils/tex2rtf/src/htmlutil.cpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/utils/tex2rtf/src/htmlutil.cpp b/utils/tex2rtf/src/htmlutil.cpp index ea8b6efc2e..a83bc87bbd 100644 --- a/utils/tex2rtf/src/htmlutil.cpp +++ b/utils/tex2rtf/src/htmlutil.cpp @@ -585,13 +585,16 @@ char *ParseColourString(char *bkStr, bool *isPicture) void OutputFont(void) { - // Output - TexOutput(" if explicitly requested by htmlFaceName= directive in + // tex2rtf.ini. Otherwise do NOT set the font because we want to use browser's + // default font: if (htmlFaceName) - TexOutput(htmlFaceName); - else - TexOutput("Times New Roman"); - TexOutput("\">\n"); + { + // Output + TexOutput("\n"); + } } // Output start of block