Kompass – Zeitung für Piraten

Scribus: Schusterjungen und Hurenkinder im Testing!

Schusterjungen und Hurenkinder
Gar nicht schön anzusehen: die letzte Zeile links ist ein Schusterjunge, die erste rechts ein Hurenkind. (Abb. CC-BY-SA Rainer Zenz, Wikimedia)

Update: Patch ist drin!

Hässlich sind sie im Layout, die Absätze am Ende oder Anfang eines Textblockes, die nicht ganz bündig an der Kante abschließen. Schriftsetzer nennen sie Schusterjungen respektive Hurenkinder, orphans & widows im englischsprachigen Raum.

Das beliebte open-source Layoutprogramm Scribus kann  nun bald automatisch Text zusammenhalten. Dank einer  100 KB großen Code-Spende von mecirt ist das neue Feature bei einem Scribus-Entwickler im Test und fließt hoffentlich schon bald ins SVN-Repository:

The … patch implements several paragraph text flow options. Specifically, these include the option not to leave isolated parts of paragraphs at the end/beginning of a line/column (known as widow/orphan control), option to never split a paragraph to multiple pages (it will move entirely if needed), and an option to keep a paragraph with the next one (useful for headings and such). These options are very important for typesetting of longer texts (books and such).

The patch implements the feature itself (hooked to the textitem layouting code), adds the necessary controls to the text property widget and the paragraph style dialog, and also supports loading/saving of the new options (1.5 format only). Additionally, it includes some cleanup of the text layouting code, which I did to help me understand how the whole thing works. It also fixes a problem with automatic tab breaks retaining the fill character, if any, which I have randomly noticed.

Gerade für unser Zeitungsprojekt eine große Arbeitserleicherung, denn manuell gesetzte Spaltenwechsel schieben sich bei Änderungen anderswo immer wieder neu um. Die Ausgabe Kompass 2011.2 wurde komplett in Scribus produziert. Uff!

Kommentare sind geschlossen.