Break after Dash: FormattedTextArea

Break after Dash: FormattedTextArea

Forum member · May 6, 2016
Using FormattedTextArea, two words separated only by a dash (U+002D), occurring at end of line, result in a line break before the first word instead of between the dash and the second word, even if the first word plus the dash would fit on the first line. Using TextArea, the break occurs as expected, between the dash and the second word. This can be seen in the DynamicPDF examples. For FormattedTextArea, edit text/FormattedText.txt. On the second line, change "your websites" to "your-websites"; then run FormattedTextContinuation.java. For TextArea, run TimeMachine.java and look on page 3 for "Four-Dimensional". Is there a way to use FormattedTextArea so that dashes automatically break at end of line? I've tried various Unicode dashes to no avail. I can force a break by inserting a space, but I'd prefer not to have to programmatically determine which dashes will cause undesirable line breaks. thanks Jay Dunning

Re: Break after Dash: FormattedTextArea

Support · May 10, 2016
Hello Jay, We are able to recreate the issue based on the description you have provided. We have forward this information to our development team further analysis. We will post an update once we receive an update from our development team. Thanks, ceTe Software Support Team.

Re: Break after Dash: FormattedTextArea

Support · Jun 24, 2016
Hello Jay, This issue has been fixed and a new build of the product is released that includes the fix. Here is the link to download the fixed jars. Thanks, ceTe Software Support Team.