Jump to content
  • TextField rendered incorrectly (4.0.2)


    szucsatti
    Assigned User teodord
    CategoryBug report
    PriorityNormal
    ReproducibilityAlways
    ResolutionUnable to Reproduce
    SeverityMajor
    StatusResolved

    I think textFields are not rendered correctly in jasper reports version 4.0.2. The last character or characters from the displayed text are rendered in a new line. For instance:

    super admin becomes

    super

    admin

     

    Owner becomes

    Owne

    r

     

    Besides that text indented to the right is also displayed very close to the reportElements margin. The same jrxml file produced a perfectly good PDF file with jasper reports version 4.0.1.

    I have also generated reports to xls files and that works fine.


    Attachments:

    User Feedback

    Recommended Comments

    szucsatti, are you using Font Extensions? This type of issue is nearly always due to fonts. You must use font extensions to correctly generate PDF reports.
    Link to comment
    Share on other sites

    Is there a different font configuration in 4.0.2 reports and up? I literally replaced just 3 jars (4.0.2 fonts, flow and applet) in my app and this issue appeared. Still a problem in 4.1.1
    Link to comment
    Share on other sites

    I'm using 4.1.1 and the issue occurs with the following Uppercase letters S, E and J

     

    Basically if I fill a text field with a parameter containing SS it puts a new line in. The result is one S over the other. The same occurs with E and J.

    Link to comment
    Share on other sites

    probably this isnt a proper solution, but it works.

     

    try to override logical fonts with physical ones in font extensions,

    then you will get what you expect :)

    Link to comment
    Share on other sites

    Changed Status from Assigned to Feedback Requested

    Changed Assigned User from @giulio to @teodord


    Hi,If any of you still experience the problems mentioned above, please attach some relevant files so that we can reproduce the problem locally, such as JRXML templates, PDFs, HTML exports, screenshots.Thank you,Teodor
    Link to comment
    Share on other sites

    Hi there,

     

    We are still facing this issue.I have been monitoring this discussion for the past 3 months.Could you please let me know if there is any updates? or Is there any temporary resolution for this issue? we are not interested to rollback to the previous version.

     

    Thanks,

    Dhayal N.

    Link to comment
    Share on other sites

    Hi,

     

    Can you attach the report template (JRXML) and maybe some other files you are using, such as custom font extensions?

    I see your screenshot, but is not enough to understand what happens in your enviroment.

    What version of JR are you using?

     

    Thank you,

    Teodor

     

    Link to comment
    Share on other sites

    Reacting to the second comment in the original 'issue':

    Besides that text indented to the right is also displayed very close to the reportElements margin. The same jrxml file produced a perfectly good PDF file with jasper reports version 4.0.1.

    I have also generated reports to xls files and that works fine.

     

    This is still the case in JS-CE-5.5.0a

     

    The previews in iReport and JasperStudio on a Windows system show the indents specified with 'left indent' and 'right indent' nicely and as expected. Running the same report in JasperServer seems to drop the specified indents in the 'preview'. When exporting to PDF the results look OK again.

    Link to comment
    Share on other sites

    Hi,

     

    Since nobody attached any JRXML with some hardcoded values inside, easy to be tested by others (I asked it several times here already), I'm afraid I'll have to close this bug tracker, even if the problem actually exists. I have to close it with "Unable to Reproduce".

     

    The problem is probably related to the introduction of paragraph indentation properties in 4.0.2, but again, without some files to be able to work on, I'll have to close it.

     

    Thanks,

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