[patch] #65903: The &nbsp breaks align "justify"

Germain Garand germain at ebooksfrance.org
Fri Nov 21 01:01:36 GMT 2003


Hi,
the reason for this bug is that the Unicode directional property DirWS was 
used to count spaces, but QChar->isSpace() was used thereafter to decrease 
the counter.

Since   is not a DirWS, but a DirCS (Common Number Separator), there is a 
space count mismatch.

DirWS is only rightfully used in calcMinMaxWidth() since there we don't wan't 
to break on  

Please review,
Germain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_nbsp_justify.diff
Type: text/x-diff
Size: 1530 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20031121/1a544be8/attachment.diff>


More information about the kfm-devel mailing list