Skip to main content
User avatar

Can we add non-breaking hyphens?

We have a problem with negative numbers line breaking at the hyphen. For example, "-3.00dB" printed as "-


Answer this question I have this problem too

Is this a good question?

Score 2
Add a comment

1 Answer

Most Helpful Answer
User avatar

I've tracked down the issue: there seems to be some suboptimal logic for the way the code handles wrapping text in this regard. I say "suboptimal" only because if you add a few characters before the offending hyphen it is pushed onto the next line. Alternatively, if you add a remove a few characters the entire phrase is pulled onto the line with the hyphen. This only manifests in the PDF output as far as I can tell.

I'll file a bug on this random, wrapping behavior we're seeing here. Please let us know if it continues to affect your experience.

Was this answer helpful?

Score 2


I believe you are correct about it only happening with PDFs. I did not observe the problem in the browser.


Add a comment

Add your answer

Author avatar Ken Cawley will be eternally grateful.