TIBCOSoftware / jasperreports

JasperReports® - Free Java Reporting Library
https://community.jaspersoft.com/downloads/community-edition/
GNU Lesser General Public License v3.0
1.07k stars 405 forks source link

Stretching not working with Chinese characters under Linux #233

Open MGORO opened 3 years ago

MGORO commented 3 years ago

Hi,

I'm facing an issue with chinese characters and overflow stretch under Linux only (working ok under Windows). Characters are shown but the text appears cut off based on the declared height instead of stretching as expected. Tried with a very old version of Jasperreports (3.5.3) using an embedded font declared in the xml with isStretchWithOverflow=true and also with latest version 6.18.1 using a fonts extension jar and textAdjust=StretchHeight. Also tried different fonts with no luck (NotoSansCJK, ArialUnicode, SourceHansSerif). Is this working at all under Linux?

Thanks

teodord commented 2 years ago

We need to see your report and font extension to be able to reproduce it on our side.

huangliusong commented 2 years ago

@MGORO 这个问题您解决了吗

1025431504 commented 1 year ago

I had the same problem。jasperreports(5.6.0) , font use SansSerif,working ok under Windows,linux is wrong. Stretch with over flow = true .It's stretched, but the presentation is incomplete

1025431504 commented 1 year ago

@huangliusong 这个问题您解决了吗