don't use <font face> if not requested
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -585,13 +585,16 @@ char *ParseColourString(char *bkStr, bool *isPicture)
|
|||||||
|
|
||||||
void OutputFont(void)
|
void OutputFont(void)
|
||||||
{
|
{
|
||||||
// Output <FONT FACE=...>
|
// Only output <font face> if explicitly requested by htmlFaceName= directive in
|
||||||
TexOutput("<FONT FACE=\"");
|
// tex2rtf.ini. Otherwise do NOT set the font because we want to use browser's
|
||||||
|
// default font:
|
||||||
if (htmlFaceName)
|
if (htmlFaceName)
|
||||||
TexOutput(htmlFaceName);
|
{
|
||||||
else
|
// Output <FONT FACE=...>
|
||||||
TexOutput("Times New Roman");
|
TexOutput("<FONT FACE=\"");
|
||||||
TexOutput("\">\n");
|
TexOutput(htmlFaceName);
|
||||||
|
TexOutput("\">\n");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Output start of <BODY> block
|
// Output start of <BODY> block
|
||||||
|
Reference in New Issue
Block a user