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

Date cut off for PDF exports (Linux only)


whitesail2008

Recommended Posts

Hi I use IReport to dev the PDF file and the result in Windows is collect the date display is " 05/13/2015", but under the Linux, the date is cut off and just display"05/12/201".

So, I changed the size by myself and test it, under the Ubuntu, the display is good, but under the Redhat without XWindows, the display still is "05/12/201".

I checked some information, they said it is about the font issue. At first I used the default font which font name ="  SansSerif" and pdf font name ="Helvetica".  Later, I did the test, I add one line code to my jrxml file:

<style name="base" isDefault="true" fontName="SansSerif" pdfFontName="SansSerif" /> it still not worked well, I also tested changed both font to:

<style name="base" isDefault="true" fontName="Times-Roman" pdfFontName="Times-Roman"/>

still not work good, can anyone can give me some suggestion?

 

Thank you!!

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...