whitesail2008 Posted May 13, 2015 Share Posted May 13, 2015 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now