Jasper报告-无法归档文件:空 [英] Jasper Report - Unable to file the file: null
问题描述
我正在使用 JasperReport 6.1.0 在Java
.在JasperReport的标准配置中存在一些问题.导出为PDF后,某些字符不会出现.例如Ə,İ,Ğ和Ş.
I am using JasperReport 6.1.0 for creating PDF
report in Java
. In JasperReport's standart configuration has some problems. Some characters does not appear after exporting to PDF. For example Ə,İ,Ğ and Ş.
在谷歌搜索之后,我发现必须添加其他字体. JasperReport还将显示此消息: PDF字体名称现已弃用.使用非标准字体时,应使用字体扩展名.
After googling I found that I must add different font. Also JasperReport show this message: PDF Font name is now deprecated. You should use a font extension when using non-standart font.
现在,我要添加 Windows Comis Sans MS 在PDF
中显示隐藏的字母.当我向JasperReport添加任何*.ttf
时,我得到了Unable to file the file: null
.
Now I want to add Windows Comis Sans MS for displaying hidden letters in PDF
. When I added any *.ttf
to JasperReport I got Unable to file the file: null
.
我该如何解决这个问题?
How can I fix this peoblem?
推荐答案
我刚刚解决了问题,但我不知道我的解决方案是确切的解决方案.在IReport中,我将Font name
更改为Dejavu Serif
,将Pdf Embedded
更改为true
.现在,我可以创建带有Ə,İ,Ğ和Ş字母的报告.
I have just solved the problem but I do not know my solution is exact solution. In IReport I changed Font name
as Dejavu Serif
and Pdf Embedded
checked as true
. Now I can create report with Ə,İ,Ğ and Ş letters.
这篇关于Jasper报告-无法归档文件:空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!