Jump to content
We've recently updated our Privacy Statement, available here ×

hanviet2003

Members
  • Posts

    4
  • Joined

  • Last visited

hanviet2003'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. Problem solved: new java.text.SimpleDateFormat("dd/MM/yyyy").format(new java.util.Date ($P{report_time}.longValue() * 1000))
  2. When design in iReport, I tried to convert parameter integer (epoch time) to human readable date on report. In expression I use this: new java.text.SimpleDateFormat("dd/MM/yyyy").format(new java.util.Date ($P{report_time} * 1000)) For example: Parameter Class: java.lang.Integer. Value: 1343754000 = 2012-08-01 Result: 25/12/1969 How to solve my problem? Thanks!
  3. I solved problem. Missed tag: Identity-H in exported XML. However, I created manual based on font extension example. I don't try again with exported extension jar file.
  4. Dear all, I think many people got the same problem and too hard to find the way to solve it. I deployed Jasper Report Server on Glassfish 3.0, JRS works normally. My server is CentOS 5, and Microsoft True Type fonts are installed in /usr/share/fonts/msttcorefonts/ folder. All ttf files are copied to JAVA_HOME/jre/lib/fonts folder too. I used iReport 4.7.0 to export the font extension jar files and copy them to WEB-INF/lib in JRS application's folder in Glassfish. The report are showing in browser OK, but when export to PDF, Unicode characters are missed. In Jasper Report XML (JRXML) I double check "PDF Embedded" propertie is checked. I also tried to add font extension jar files into repository and link resource to Jasper Report. But the PDF export still missed unicode characters. I really don't know how to solve this problem. Please help me. Thanks in advanced!
×
×
  • Create New...