Jump to content
Changes to the Jaspersoft community edition download ×

Bug? Problem with external Fonts


ktrinad

Recommended Posts

By: Vera Wahler - gianasista

Bug? Problem with external Fonts

2004-04-02 03:53

Hi,

 

I wanted to use barcodes and added the ttf-Font as an external ttf font. In the beginning everything worked fine. But when the barcode-strings became longer the code got cut. But this happens only if the String is part of a textfield and not static text. The problem is the size of the textfield. If the textfields width is large enough (much more than the displayed barcode needs) the barcode string doesn't get cut.

So I think a routine in a textfield tries to calculate the width of the string but doesn't use the barcode-font. As a consequence the textfield thinks the string is to long for the textfield and cuts the string. But I don't understand why this problem doesn't occur when I use "static-text".

It seems to be a Bug.

 

Vera

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