You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi there:
when i tryed to set the property 'net.sf.jasperreports.export.docx.flexible.row.hegiht' to the report,i found some static text of element Last Page Footer overflow to the next page, it is not corrected loaction on the foot of the last page.
i was new to the jasper , hope for some advice
Thanks
The text was updated successfully, but these errors were encountered:
Are you sure that the font you are using (微软雅黑) exists both on the machine that generates the report and also on the machine where the DOCX file is viewed? If it indeed exists, is it really the same TTF as the one you have mentioned in your JRXML (MSYH.TTF)?
The recommended way to ensure the font exists on the machine that runs the report is to package it up as a JasperReports font extension (using Jaspersoft Studio). If you do that, you would not need the pdfFontName, pdfEncoding and isPdfEmbedded attributes in JRXML anymore as they are somewhat deprecated by the introduction of font extensions many years ago.
Also, to ensure the font exists on the machine that views the DOCX file, you can embed the font into the DOCX by setting this property: https://jasperreports.sourceforge.net/config.reference.html#net.sf.jasperreports.export.docx.embed.fonts
hi there:
when i tryed to set the property 'net.sf.jasperreports.export.docx.flexible.row.hegiht' to the report,i found some static text of element Last Page Footer overflow to the next page, it is not corrected loaction on the foot of the last page.
i was new to the jasper , hope for some advice
Thanks
The text was updated successfully, but these errors were encountered: