Le 28/08/2015 19:25, Guillaume Munch a écrit :
First, thank you, it sure looks better than hand-drawn lines. Have you
considered the following characters:
⮐ U+2B90 RETURN LEFT
⮑ U+2B91 RETURN RIGHT
⮒ U+2B92 NEWLINE LEFT
⮓ U+2B93 NEWLINE RIGHT
These have been introduced in Unicode 7.0 (June 2014). I cannot use them
on my local Ubuntu 12.04. I do not know what is a good unicode version
to support, say, windows xp (do we still support that?).
which seem to be made for this purpose exactly? It should be easy to
supply a fallback font if the user do not have them, so that it looks
better than U+2936 in all cases.
How does one do with Qt to do this fallback thing? We could definitely
try all the symbols in some predefined order.
Also, would it make sense to force the character to be for example in
roman upright medium, or let it be sabs/bold/italics like the rest of
the text?
Also, I do not find the reversed the arrow intuitive for "break but keep
justified".
Why exactly? To me the horizontal part of the arrow tells in which
direction the line will be "pushed".
I agree that justifying the last line is more intuitive than
the previous "cryptic" symbol (return + rightarrow). It remains to
decide what to do in the case where "on-screen justification" is
disabled. In that case, other than the old return+rightarrow, one could
"justify" only the return character, that is to say aligning it to the
right.
Yes. I am not sure how intuitive it would be. Not more than the
'reversed newline' IMO.
Anyway, I have not written this particular patch yet, and I do not
know when I will have time to do so. We'll discuss it again then.
In the meanwhile, we could have either right-aligned return as suggested
above, or the previous return+rightarrow symbol, either of which would
need to be implemented anyway for when on-screen justification is
disabled (if you agree that the reversed symbol is not good).
Let's wait for input from other people on this last question.
JMarc