View Issue Details

IDProjectCategoryView StatusLast Update
0016066ScribusStory Editor / Text Framespublic2020-03-06 11:25
Reporterptr01 Assigned Tojghali  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Platformscribus-1.5.5-linux-x86_64.AppImOSDebianOS Version10.3
Product Version1.5.5 
Target VersionFixed in Version1.5.6.svn 
Summary0016066: Variable Text gets damaged when hyphenation is on
DescriptionWhen automatic hyphenation splits the Variable Text the letters shuffle.
E.g.: "Figure..3.4" becomes "F.4–igure.3" or "FI.4–gure.3"
Steps To Reproduce1. Turn hyphenation on.
2. Create a sentence with Variable Text in it.
3. Add symbols on the beginning of the sentence until the Variable Text splits.
Additional InformationOn image Variable Text is underlined.
Tagshyphenation, Variable Text
PatchNo

Activities

ptr01

2020-03-05 12:49

reporter  

screenshot.png (38,900 bytes)
screenshot.png (38,900 bytes)
Document-1.sla (14,361 bytes)

jghali

2020-03-05 14:01

administrator   ~0047430

I can reproduce this issue in Ubuntu 18.04 with 1.5.6.svn but I can't on Windows. Might be a matter of harfbuzz version.

jghali

2020-03-06 11:25

administrator   ~0047431

Last edited: 2020-03-06 11:25

View 2 revisions

No, in fact this is the std::sort() algorithm from c++ standard template library which are implemented differently on Linux and on Windows Visual Studio. The linux implementation caused the issue, so I replaced a few of these calls in designed places by the more adapted std::stable_sort().

Issue History

Date Modified Username Field Change
2020-03-05 12:49 ptr01 New Issue
2020-03-05 12:49 ptr01 Tag Attached: hyphenation
2020-03-05 12:49 ptr01 Tag Attached: Variable Text
2020-03-05 12:49 ptr01 File Added: screenshot.png
2020-03-05 12:49 ptr01 File Added: Document-1.sla
2020-03-05 14:01 jghali Note Added: 0047430
2020-03-06 11:25 jghali Assigned To => jghali
2020-03-06 11:25 jghali Status new => resolved
2020-03-06 11:25 jghali Resolution open => fixed
2020-03-06 11:25 jghali Fixed in Version => 1.5.6.svn
2020-03-06 11:25 jghali Note Added: 0047431
2020-03-06 11:25 jghali Note Edited: 0047431 View Revisions