View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017547 | Scribus | General | public | 2025-05-31 06:03 | 2025-06-02 21:41 |
Reporter | ale | Assigned To | jghali | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Product Version | 1.7.1.svn | ||||
Fixed in Version | 1.7.1.svn | ||||
Summary | 0017547: short-words: text splitting changed between 1.6.4 and 1.7.0 | ||||
Description | A former Scribus developer, reported a 3rd party user complaining that: When I use Short Words on a text (regardless of whether it's Slovak or Czech), non-breaking spaces are added even where they shouldn't be. For example, take the sentence: “koľko u vás prší”. After using the plugin, the result becomes "koľko uvásprší". When I analyzed multiple texts, I realized that the issue lies in the evaluation of letters with diacritics. For example, all words ending in “u” or “s”, etc., that are preceded by a letter with a diacritic, are interpreted as one-letter words, and so a non-breaking space is added after them. In this case, it's “vás”, but it does the same for words like “čo” or “vôľu”… I also tried it in version 1.6.4, and there it's working correctly. the 1st frame has Short Words applied - the nbsp is appliad after "či" -- which is not specified in the config the 2bd frame shows the text without SW applied | ||||
Tags | No tags attached. | ||||
Patch | No | ||||
|
|
|
It seems Qt6 QRegularExpression had a behavior change vs Qt5 QRegExp : in order to take unicode properties into account, a specific non default option needs to be set : QRegularExpression::UseUnicodePropertiesOption. Once done, it seems to work as before. |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-05-31 06:03 | ale | New Issue | |
2025-05-31 06:03 | ale | File Added: Document-1.png | |
2025-05-31 06:03 | ale | File Added: Document-1.tar.gz | |
2025-06-02 21:41 | jghali | Assigned To | => jghali |
2025-06-02 21:41 | jghali | Status | new => resolved |
2025-06-02 21:41 | jghali | Resolution | open => fixed |
2025-06-02 21:41 | jghali | Fixed in Version | => 1.7.1.svn |
2025-06-02 21:41 | jghali | Note Added: 0052695 |