Can we add non-breaking hyphens?

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

3.00dB"

Answer this question I have this problem too

Is this a good question?

Score 2
Add a comment

1 Answer

Most Helpful Answer

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

Comments:

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

by

Add a comment

Add your answer

Ken Cawley will be eternally grateful.