View Issue Details

IDProjectCategoryView StatusLast Update
0007932ScribusStory Editor / Text Framespublic2017-06-22 19:40
Reporterleonidas61 Assigned To 
Status acknowledgedResolutionopen 
PlatformPCOSLinuxOS VersionArchLinux
Product Version1.3.5svn 
Summary0007932: Is it possible to make line breaking algorithm more sophisticated
DescriptionCurrent line breaking algorithm divides text into lines in points where space locates only. I think it will be good to add some additional points (they can be listed in some option list), for example, after en-dash and em-dash (this is useful in intervals, for example 123--456; 456 can be placed on next line). In this case if we see thin space after dash, it's length at the end (or at the beginning) of line must become 0.

Next, what about follow rule: hyphenation must be disabled at the end of page (every or odd only)/column/frame? This is common requirement for high-quality books.

Third, what about rule, according which spaces in justified paragraph must be equal? I understand that this is impossible as is, but lines can be calculated in paragraph as whole like TeX do.

Problem is follow. If we set hyphenation limit to 4 successive hyphens, we'll have 4 lines with normal spaces (with hyphens) and line with wide spaces (without hyphen) in current version. But it's better to insert line breaks in other places in first lines to make spaces in them a bit wider. In this case spaces in 5th line will be narrowed.

These rules can highly increase visual quality of text typesetted in Scribus.
TagsHOST-Oman, hyphenation


has duplicate 0008478 closedjghali better algorithm of hyphenation of text 



2017-06-22 19:40

reporter   ~0044075

FWIW as partial and rather inconvenient workaround (I used it to break text into narrow column on book cover) is to use render frames. If you are fluent with LaTeX, you can set various options to match styles used elsewhere (font, size, color, language, linespacing), set pagesize to the frame width and have the output embedded in the resulting PDF as PDF (not rasterized); if you use LuaLaTeX and microtype package, you can enable protrusion, tracking and expansion for high-quality paragraph break.

Issue History

Date Modified Username Field Change
2009-04-11 14:45 leonidas61 New Issue
2009-09-30 09:23 jghali Relationship added has duplicate 0008478
2012-06-18 19:35 ale Assigned To => cezaryece
2012-06-18 19:35 ale Status new => assigned
2015-09-17 20:08 Kunda Category Story Editor / Text Frames => Story Ed/Txt Frames
2015-09-17 20:12 Kunda Category Story Ed/Txt Frames => Story Editor / Text Frames
2016-05-14 04:30 Kunda Tag Attached: hyphenation
2016-05-14 04:30 Kunda Tag Attached: HOST-Oman
2016-05-14 04:30 Kunda Assigned To cezaryece =>
2016-05-14 04:30 Kunda Status assigned => acknowledged
2017-06-22 19:40 eudoxos Note Added: 0044075