[scribus] Align text forced justified and non breaking space

ZASKE Martin zm at revue-gugu.org
Wed Apr 9 18:39:23 UTC 2014


Hi Markus,

the "non-breaking" feature is not about stretching, but it concerns not
breaking the "link" between the characters to the left and to the right
of that space. This is needed for example in orthographies like French,
where certain punctuation like ! ? : ; get separated from their sentence
by a (thin) space - but convention has it, that such punctuation should
never jump to a new line in spite of the presence of a space, ergo a
non-breaking space to "glue" that last word to the punctuation.

Personally I would think it more "natural" if all spaces in any given
line would stretch the same amount (in a context using justification),
whatever else their functionality might be. But many people have
opinions about that, and those spaces-with-punctuation are always
somewhat "exotic" anyway and mostly "thinner" than default spaces.

hth

Martin


I quote a little from the nice book Unicode Explained:

No-break space: use it!

The no-break space character U+00A0 is similar to a normal space but
does not allow a line break after it. That is, if you have “foo bar”
with a no-break space between the words, then the words are kept on the
same line when the text is rendered or reformatted.
...... The no-break space is also called a “hard space” or “required
space,” though these unofficial names may also allude to other meanings,
which are often coupled with the non-breaking behavior.

[About stretching:]

In addition to its basic meaning, the no-break space usually has the
property of being of fixed width, for any given font. That is, it is
neither expanded nor shrunk in text justification. This behavior is not
defined in the Unicode standard [here you got it, Scribus developers can
do what they think best about this aspect], but it is very common.
It is probably often caused by the way programs deal with the no-break
space:
they treat it as a printable character, just with an empty glyph (of a
particular width), not as a character that controls spacing. It’s like
an alphabetic character, just empty.

Some programs, such as web browsers, by default collapse consecutive
spaces. That is, any sequence of space characters might be treated as
equivalent to a single space. The programs usually treat no-break space
characters as non-collapsing. This is natural, since no-break space is
usually treated as a fixed width character, as just explained.

end of quote, please consider buying this book, it is by Jukka K.
Korpela and available from O'Reilly


On 08.04.2014 20:41, M. Ridinger wrote:
> Hi all,
> 
> I don't know if this is a bug with scribus 1.4.3 and 1.5.0svn or not, but I
> would expect that using a "non breaking space" in a text line with "forced
> justified" alignment this is not stretched like a normal space. At the moment I
> use a transparent non-space character as workaround or is there some better way?
> 
> By the way: while searching for a workaround for the problem above I found that
> using "manual tracking" in the "advanced settings" text properties breaks
> underlining.
> 
> Apart from that peanuts I'm very happy with scribus. Thank you for that nice
> program.
> 
> Markus
> 
> ___
> Scribus Mailing List: scribus at lists.scribus.net
> Edit your options or unsubscribe:
> http://lists.scribus.net/mailman/listinfo/scribus
> See also:
> http://wiki.scribus.net
> http://forums.scribus.net
> 


-- 
ZASKE Martin
responsable GʊGʊ
BP 50 - Bassila - Bénin
tel GʊGʊ 66.66.11.11
tel pers 97.44.62.95



More information about the scribus mailing list