0

我正在尝试在我的报告(RTF)中进行 HTML 转换,它可以工作,但预期的输出会将我的字体“Times New Roman”更改为 Arial。我相信,即使在 xdo.config 中,我也将默认字体更改为 Times New Roman,但 HTML2FO 仍然使它成为 Arial。文件的其他部分有 Times New Roman。

XML:

<TEST><p><b><i>This is a test paragraph</b></i>. This is without bold
and italic</p><p><b><i>This is another test paragraph</b></i>. This is
without bold and italic</p><TEST>

BIP代码:

<?HTML2FO:TEST?>

任何人都可以帮我解决这个问题吗?

谢谢!

4

1 回答 1

0

I am having the same problem too. The way I got around this is to change the XML output:

<TEST><div style="font-family:Calibri;font-size:10px;"><p><b><i>This is a test paragraph</b></i>. This is without bold
and italic</p><p><b><i>This is another test paragraph</b></i>. This is
without bold and italic</p></div><TEST>
于 2015-12-08T02:23:42.837 回答