Replies: 8 comments 7 replies
-
This might be a consequence of #1319 Can you use dynamic left padding as a workaround, or replacing the spaces with non-breaking-space unicode symbols? |
Beta Was this translation helpful? Give feedback.
-
I investigated a little bit time with debugging and it seems to me that we have in this case no "normal" bug or changed behavior. I saw that also the PDF-glyph-creation was included with the spaces (openpfd-library). debug screen with test " text" - variable is fine, and glyphs will calculateddebug screen of the fetched glyphs |
Beta Was this translation helpful? Give feedback.
-
Hmm, one of the things I changed in the source code with #1319 was in What this method does is (as its name says), it calculates the width (using the current font info) of the white space at the beginning of a text line, with the goal of shifting the output left correspondingly such that at the end the output starts where it should. Probably this method should not be called if the layout element uses the equivalent to |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
See PR #1539 |
Beta Was this translation helpful? Give feedback.
-
@merks Do you think it would be possible to add this version? |
Beta Was this translation helpful? Give feedback.
-
We recently upgraded from BIRT 4.13.0 to BIRT 4.14.0 and found a regression when generating PDF's for a Report with String-fields with a
Custom
-format.Having the "Format" of the String-Field set to
Unformatted
all is well. However, having the "Format" of the String-Field set toCustom
with "pattern" set to^
, leading white-spaces in the string-value are trimmed away. This was not the case in BIRT 4.13.0As an example, I attached the file
With_Leading_WhiteSpaces.png
which is a screenshot from the report rendered with BIRT 4.13.0Having the same report rendered with BIRT 4.14.0, the leading whitespaces are trimmed away.
As a reference, I also added the zipped
rptdesign
-file for the above mentioned report.WhiteSpaceTestReport.zip
Beta Was this translation helpful? Give feedback.
All reactions