Jump to content
Changes to the Jaspersoft community edition download ×

Could not load the following font


1198153847
Go to solution Solved by 1198153847,

Recommended Posts

jaspersoft studio:6.3.1.final

Already import package:

2(95).png.f0105efaafa265f1cbdea6895cb597e6.png

PDF property set:

1(150).png.b85f49dab9301c77b6359e37f7315616.png

 

net.sf.jasperreports.engine.JRRuntimeException: Could not load the following font: 

pdfFontName: STSong-Light

pdfEncoding: UniGB-UCS2-H

isPdfEmbedded : true

 

at net.sf.jasperreports.engine.export.JRPdfExporter.getFont(JRPdfExporter.java:2320)

 

at net.sf.jasperreports.engine.export.JRPdfExporter.getChunk(JRPdfExporter.java:2106)

 

at net.sf.jasperreports.engine.export.JRPdfExporter.getPhrase(JRPdfExporter.java:2075)

 

at net.sf.jasperreports.engine.export.SimplePdfTextRenderer.getPhrase(SimplePdfTextRenderer.java:64)

 

at net.sf.jasperreports.engine.export.SimplePdfTextRenderer.render(SimplePdfTextRenderer.java:72)

 

at net.sf.jasperreports.engine.export.JRPdfExporter.exportText(JRPdfExporter.java:2435)

 

at net.sf.jasperreports.engine.export.JRPdfExporter.exportElements(JRPdfExporter.java:1094)

 

at net.sf.jasperreports.engine.export.JRPdfExporter.exportPage(JRPdfExporter.java:1053)

 

at net.sf.jasperreports.engine.export.JRPdfExporter.exportReportToStream(JRPdfExporter.java:917)

 

at net.sf.jasperreports.engine.export.JRPdfExporter.exportReport(JRPdfExporter.java:537)

 

at com.jaspersoft.studio.editor.preview.actions.export.AExportAction.exportWithProgress(AExportAction.java:225)

 

at com.jaspersoft.studio.editor.preview.actions.export.AExportAction.doPreview(AExportAction.java:344)

 

at com.jaspersoft.studio.editor.preview.actions.export.AExportAction$3.run(AExportAction.java:193)

 

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

  • Solution
jaspersoft studio:6.3.1.final  has bug.
Do not use Jaspersoft studio view with Chinese PDF effect. In the program to import the following package can be directly displayed with the program.
Import in maven:
<dependency>
     <groupId>itext</groupId>
     <artifactId>itext</artifactId>
     <version>4.2.1</version>
</dependency>

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...