Jump to content
Changes to the Jaspersoft community edition download ×

hungncv.apt

Members
  • Posts

    5
  • Joined

  • Last visited

hungncv.apt's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I need print PDF report from Java application (Spring boot) which is can show Japanese characters and when change font, it has to show correctly font. My app using jasperreports-fonts-6.10.0.jar and setting in jasperreports_extension.properties is setting as below : net.sf.jasperreports.extension.registry.factory.simple.font.families=net.sf.jasperreports.engine.fonts.SimpleFontExtensionsRegistryFactorynet.sf.jasperreports.extension.registry.factory.fonts=net.sf.jasperreports.engine.fonts.SimpleFontExtensionsRegistryFactory# font.xml placenet.sf.jasperreports.extension.simple.font.families.myfont=fonts/fonts.xml[/code]and in fonts/fonts.xml, is setting as below : ....<fontFamily name="Meiryo UI"> <normal>fonts/Meiryo UI.ttf</normal> <pdfEncoding>Identity-H</pdfEncoding> <pdfEmbedded>true</pdfEmbedded> <exportFonts> </exportFonts></fontFamily><fontFamily name="Tahoma"> <normal>fonts/tahoma.ttf</normal> <bold>fonts/tahomabd.ttf</bold> <pdfEncoding>Identity-H</pdfEncoding> <pdfEmbedded>true</pdfEmbedded><fontFamily name="MS UI Gothic"> <normal>fonts/msgothic.ttc</normal> <pdfEncoding>Identity-H</pdfEncoding> <pdfEmbedded>true</pdfEmbedded></fontFamily><fontFamily name="Times New Roman"> <normal>fonts/times.ttf</normal> <pdfEncoding>Identity-H</pdfEncoding> <pdfEmbedded>true</pdfEmbedded></fontFamily>[/code]and in Java code : myReport.getDefaultStyle().setPdfFontName(newfontReport); // newfontReport is setting in DB[/code]All of above fonts are existing in resource of web app. But it only show japansese text and englist text correctly in report with "Meiryo UI". Other fonts (ex : "Times New Roman"), it show englist text parts only , japansese text parts are invisiblity. Have got any one can be show me why ?
  2. You put "Tahoma.tt"f font file in classpath , but you using "BTahoma.ttf" in font.xml. Let change them to the same.
  3. Dear all, I have got a question that need you answer : Because license of Jasper ETL, JasperReport Server are GPL, AGPL, so if I using to develop my application, Must I be public source code of it ? Regards
  4. Dear all, Because license of Jasper ETL is GPL, so if I using it for develop my application, Must I be public source code of my application ?
×
×
  • Create New...