daniel.blanco Posted November 29, 2021 Share Posted November 29, 2021 Hello I have a problem when I run a report to pdf .The jasper is running in a tomcat.version jasper: JS_VERSION=6.1.1JS_sample.jdbc.driver=com.mysql.jdbc.DriverJS_sample.jdbc.url=jdbc:mysql://localhost:3306/mydbOS_BUILD_DATE_STAMP=20150911OS_BUILD_TIME_STAMP=1659The date doesn't show correctly because one of the digits is missing as you can see in the pictureIs there some way to change the size or the font in the bundles files. Example : jasperserver_config.propertiesThanks in advance Link to comment Share on other sites More sharing options...
yama818 Posted December 5, 2021 Share Posted December 5, 2021 Are you creating the report in Studio?If Yes, I believe you can specify the date format in the pattern expression settings of the text field. - Text Field Setting Sample - Report Preview I hope this is useful to you. Link to comment Share on other sites More sharing options...
daniel.blanco Posted December 10, 2021 Author Share Posted December 10, 2021 Hello The first thanks for your answer but I thing that the problem is more complicatedWe have 3 servers with the same level of tomcat, postgress and apache.But in the same report we get different outputwe imported the same report in the servers.image the date has been cuted because the last numbers doesn't appers.image2 the date appers with the correct digits but appears the first digit of the hourimage3 it worksI compare the 3 configuration tomcat, jasper and postgress and I don't find anythingCan you help me please ?Thanks in advance Link to comment Share on other sites More sharing options...
yama818 Posted December 11, 2021 Share Posted December 11, 2021 Setting the 'Text Adjust' of the text field to 'ScaleFont' may help. Alternatively, embedding the font in the PDF may help.https://community.jaspersoft.com/wiki/how-embed-fonts-jasperreport-ireport-generated-pdf-filehttps://community.jaspersoft.com/wiki/how-embed-pdf-report-output 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