View Issue Details

IDProjectCategoryView StatusLast Update
0016498ScribusTypographypublic2024-02-27 10:40
ReporterPeterBenedek Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformx64OSLinux MintOS Version20 (64bit)
Product Version1.5.7.svn 
Summary0016498: En dash character does not take into account the Non Breaking Space
DescriptionI uploaded a sample document and this contain two En dash characters.
After the first En dash there is one Non Breaking Space, but En dash character is end of the previous line.
TagsNo tags attached.
PatchNo

Relationships

related to 0016869 closedjghali Configure fine spaces as unbreakable spaces /or/ unbr. spaces length. 
related to 0017167 closedjghali Non-breaking spaces not respected before punctuation mark 

Activities

PeterBenedek

2021-03-01 18:35

developer  

Document-1.sla (15,395 bytes)   
EnDash.png (45,712 bytes)   

jghali

2021-03-01 20:05

administrator   ~0048888

Last edited: 2021-03-01 20:07

This seems to be caused by the space placed before the En dash. With the same sequence space/dash/non-breaking space, MS Word produces the same kind of line breaking than Scribus, ie it breaks the line after the EnDash. If you remove the space before the EnDash/non-breaking space sequence, MS Word keep both words together.

Not sure what Unicode standard says about that case, but using an EnDash followed by a non-breaking space is somewhat contradicting: EnDash explicitly allows breaking line after that character, while non-breaking space explicitly disallows breaking line before or after. It might well be a case of undefined behavior.

PeterBenedek

2021-03-03 06:45

developer   ~0048897

I don't use Windows and nor MS office, but I tested in LibreOffice -- Writer, and this function is work correct in Writer.

PeterBenedek

2021-03-03 07:22

developer  

NBSpace.odt (11,462 bytes)
NBSpace.png (38,990 bytes)   

Issue History

Date Modified Username Field Change
2021-03-01 18:35 PeterBenedek New Issue
2021-03-01 18:35 PeterBenedek File Added: Document-1.sla
2021-03-01 18:35 PeterBenedek File Added: EnDash.png
2021-03-01 20:05 jghali Note Added: 0048888
2021-03-01 20:07 jghali Note Edited: 0048888
2021-03-03 06:45 PeterBenedek File Added: EnSpace.odt
2021-03-03 06:45 PeterBenedek File Added: EnSpace.png
2021-03-03 06:45 PeterBenedek Note Added: 0048897
2021-03-03 06:50 PeterBenedek File Deleted: EnSpace.png
2021-03-03 06:50 PeterBenedek File Deleted: EnSpace.odt
2021-03-03 07:22 PeterBenedek File Added: NBSpace.odt
2021-03-03 07:22 PeterBenedek File Added: NBSpace.png
2022-12-11 10:15 PeterBenedek Relationship added related to 0016869
2024-02-27 10:36 PeterBenedek Relationship added has duplicate 0017167
2024-02-27 10:39 PeterBenedek Relationship deleted has duplicate 0017167
2024-02-27 10:40 PeterBenedek Relationship added related to 0017167