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

Stretch with Overflow Problem


Guest
Go to solution Solved by Teodor Danciu,

Recommended Posts

Hi all,

 

I have a problem with the "Stretch with Overflow"-option in text fields.

Sometimes when the text just fits on one line, the field stretches in my pdf on two lines, with an empty second line. I don't have any paddings on these fields and I use JR 1.2.5.

 

Thanks in advance for your help!

Petra

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

Hi,

 

This is usually the result of some font mismatch problem.

Make sure that the fontName and pdfFontName point to the same font file, with the same font metrics.

The most probably cause of font problems is that you designed your report on a machine where the fontName existed and was installed properly and then you deploy the report on a server machine that does not have those fonts and some other default font with different font metrics is used at report fill time.

 

I hope this helps,

Teodor

Link to comment
Share on other sites

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