Forum Bugs

Non-breaking space with non-latin characters has fixed width when text justified

neochief
When you have a text with "text-align:justify" and cyrillic text (probably not just cyrillic, but all non-latin characters), all non-breaking spaces are treated as fixed-width characters. The bug is not present if you use latin characters.

I've created a test sample to demonstrate this bug (attached to this post). In that sample, I expect that spaces around em-dashes would be even, however they aren't.

Tested with Prince 12.2.1

Related issue: https://www.princexml.com/forum/topic/1441/is-there-a-variable-width-non-breaking-space
(btw, workaround from that post works for me, but it's just ugly as hell)
  1. test-nbsp.zip23.2 kB