我的 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/