Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed linespacing size does not work as needed #150

Open
savage1279 opened this issue Oct 16, 2020 · 0 comments
Open

Fixed linespacing size does not work as needed #150

savage1279 opened this issue Oct 16, 2020 · 0 comments

Comments

@savage1279
Copy link

If I have a text field with a multi lined text inside.

<staticText>
  <reportElement x="0" y="0" width="198" height="252"/>
  <textElement textAlignment="Left" verticalAlignment="Top" markup="none">
    <font fontName="GostAproe" size="12"/>
    <paragraph lineSpacing="Fixed" lineSpacingSize="14.0"/>
  </textElement>
  <text><![CDATA[line 1
    line 2
    line 3
    ...
  ]]></text>
</staticText>

It renders a text line like 14.0 + maxDescent size

10-01-2017_23-48-26

An error is in AbstractTextRenderer.class. maxDescent value adds in any way not relative to the selected LineSpacing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant