crystal-reports - 导出为 PDF 时,t 更改为 "ti"

标签 crystal-reports

我的 Crystal 报表生成以下文本:

This is to certify that {FullName} has completed the course

其中公式{Fullname} 为:Mr. + 名称

我想更改 {FullName} 以删除标题“Mr”。我在 {FullName} 上使用了“在公式中查找”,并更改了 Mr. 的显示字符串。 + {?FullName}{?FullName}。但不知何故,这用“ti”替换了每个小写“t”。所以现在静态字符串改为:

This is tio certify tihati .... has successfully completied tihe course

我该如何纠正这个问题?需要注意的是,只有导出为 PDF 时才会发生这种情况。在主报告预览中,报告正确显示。

最佳答案

您所描述的是 really weird bug涉及 Calibri 字体。导出为 PDF 时,某些字形无法正确处理。我找到的解决方案如下:

A) Avoid using Calibri fonts in Crystal Reports. You might try a more common True Type font, such as Arial. Again, be sure that font is installed on every... workstation.

or

B) Downgrade Crystal Reports to use a legacy Microsoft Uniscribe component (USP10.dll). Here’s the procedure that we’ve used at Alterity with good results.

以下是 Solution B 的高级说明,但我只是建议更改字体。我确信您可以找到一个与 Calibri 非常接近的产品,而不会出现此问题。

关于crystal-reports - 导出为 PDF 时,t 更改为 "ti",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44845963/

相关文章:

database - 在运行时设置 Crystal Report 数据源

mysql - Crystal Reports 和 MySQL - 无法使用左外连接

crystal-reports - 如何更改 Crystal 报告文件上的数据源类型

.net - 关于改变与 Crystal 报表的连接

asp.net-mvc - ASP.NET MVC中的Crystal Reports

c# - Crystal 报表和登录问题

c# - Crystal 报表的替代品

mysql - 显示从站状态,其中值 = x

crystal-reports - Crystal Report "Logon failed..."尝试导航到下一页时出错

.net - 混合模式程序集是针对运行时版本“v2.0.50727”构建的