|· Hosting provided by Anduin.net / Øverby Consulting ·|
|Anonymous | Login | Signup for a new account||2015-11-28 06:51 CET|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0007684||Scribus||Language Tools||public||2008-12-24 01:29||2015-07-25 15:07|
|Platform||Intel64||OS||Linux||OS Version||Ubutu Intrepid|
|Target Version||Fixed in Version|
|Summary||0007684: Hyphenation setting in "Document Setup" -> "Hyphenator" jumps back to "English" after having started the hyphenator|
|Description||If I change the hyphenation language under Document setup -> Hypenator to "Dutch" it has switched back after using the hyphenator. And indeed, the text which I wanted Scribus to hyphenate seems to be hyphenated in English style, in stead of Dutch.|
This is quite a grave bug, since it requires me to manually hyphenate _all_ texts in my > 80 pages booklet, which is just impossible. Especially since corrected hyphenation suggestions are not stored at all.
I would really be helped a lot if someone can help me fix this!
|Steps To Reproduce||Change hypnenation language in "Document Setup" -> "Hyphenator" and start the Hyphenator by selecting a textfield and clicking "Extras" -> "Hyphenate text". Go back to hyphenation settings in "Document Setup" and the language setting has been switched back to "English".|
|Tags||No tags attached.|
I have just fetched the latest version from SVN and this problem seems to be fixed: the selected hyphenation language in the preferences dialog does not change automatically.
However, when selecting "Dutch" from the list, it looks like Scribus still uses English style hyphenation?
|In 1.3.3.x hyphenation language is defined at the frame level and can be set using properties palette. In 1.3.4+ the hyphenation language is determined by the character style language. In both case changing the hyphenation language in document prefs won't miraculously change already defined frame language settings or character style language settings.|
I know, but after setting all options to "Dutch" it still seems to apply English hyphenation patterns. At least it looks like English hyphenation, but I can be wrong.
IMO, this can be caused by two problems:
1) Scribus applies the wrong patterns
2) Dutch hyphenation in Scribus is just not perfect.
I wouldn't know how to find out what is wrong...
|I mean changing language in app/doc preferences is not enough as those settings do not affect language settings already defined. In 1.3.3.x you have to change language setting of each frame from text tab in properties palette. In 1.3.5svn you have to change the style languages from style manager. In both case dutch hyphenation is then clearly different from english hyphenation.|
I meant to say that I have changed the style options in the style manager. Browsing the source code in hyphenator.cpp (and adding some debugging statements) made clear that the following statement:
Does not return a language, but just some empty string. Now
fails to load the wanted dictionairy, but doesn't notice the user of that failure!
I'm debugging some more...
Just hardcoding the string "Dutch" in hyphenator.cpp does seem to work better (at least my debugging statements show a successful load), but the results are still a bit disappointing...
I'm still wondering if Scribus is actually /using/ the loaded hyph_nl dictionary.
Debugging some more...
edited on: 2008-12-24 16:58
It looks like 1.3.3.x documents loaded in 1.3.5svn do not have language infos set in character styles. Somewhat normal as 1.3.3.x did not have character styles but would be nice if we found a way to handle hyphenation more gracefully in such docs.
|That's probably true, but I did set the correct values for character styles in my 1.3.5 document.|
|jghali, i can't reproduce the the main issue of this bug. But it looks like there are other issues discovered through this bug. Please advise how to proceed?|
|2008-12-24 01:29||basvanschaik||New Issue|
|2008-12-24 02:15||basvanschaik||Note Added: 0020826|
|2008-12-24 12:40||jghali||Note Added: 0020827|
|2008-12-24 13:33||basvanschaik||Note Added: 0020828|
|2008-12-24 15:50||jghali||Note Added: 0020832|
|2008-12-24 15:54||basvanschaik||Note Added: 0020833|
|2008-12-24 16:13||basvanschaik||Note Added: 0020834|
|2008-12-24 16:57||jghali||Note Added: 0020835|
|2008-12-24 16:58||jghali||Note Edited: 0020835|
|2008-12-24 17:25||basvanschaik||Note Added: 0020837|
|2014-07-21 08:25||Kunda||Relationship added||related to 0004967|
|2014-07-22 23:29||cbradney||Relationship deleted||related to 0004967|
|2014-08-23 14:56||Kunda||Relationship added||related to 0004967|
|2015-07-25 15:03||Kunda||Note Added: 0035888|
|2015-07-25 15:07||Kunda||Relationship added||related to 0007808|
|My View | View Issues | Change Log | Roadmap|
|Copyright © 2000 - 2015 MantisBT Team|