Home > Back-end >  Jasper PDF generated string is truncated, how to deal with?
Jasper PDF generated string is truncated, how to deal with?

Time:01-22

Hi
All
Company recently added a Jasper for SpringMvc project documents PDF printing function, has been inactive,
But recently there was a problem, the online environment to generate PDF files of some of the string is truncated, only a part of me in my development environment test, all normal, but in the test environment also resembles the abnormal situation,
The diagram below:
Figure 1

Figure 2

FIG. 3

Export effect is abnormal in FIG. 1, figure 2 is the normal export effect, in figure 3 is my template,
I in test environment two Linux server tried (two on Linux for springmvc project is deployed by the Jenkins, using the same jar package), for example A A machine, A machine B, also A document, A machine output, the effect of the figure 1 PDF file has been wrong, B machine output PDF file output is the effect of figure 2, has been right, very strange questions, because two different servers installed plugins plugin? There is something wrong with the code, or template or me? I set the special font in the template, not always use the default font, hope everybody can help me to open the imagination,

CodePudding user response:

Someone met?

CodePudding user response:

The length of the problem, not intercept, you locate the cell properties look at length value

CodePudding user response:

The
refer to the original poster & lt; Span style="color: # 4788 c7" & gt; Akks_migo & lt;/span> Response:
someone met?
& lt; Br/& gt; Excuse me. Is there a to solve this problem? Also encounter this problem now

CodePudding user response:

The
refer to the original poster & lt; Span style="color: # 4788 c7" & gt; Akks_migo & lt;/span> Response:
someone met?
& lt; Br/& gt; If solved, could you please share the solution, thank you

CodePudding user response:

Has been uninstalled,,,
  • Related