View Issue Details

IDProjectCategoryView StatusLast Update
0008211ScribusTypographypublic2017-03-01 21:09
Reportermray Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformGNU/LinuxOSUbuntuOS Version9.04
Product Version1.5.0svn 
Target Version1.6 milestone 
Summary0008211: English Hypenation makes too many errors
DescriptionI analyzed 20 pages of (english) hypenation.
1 in 8 hypenations were wrong (according to dictionary.com)

nec-essary
compet-encies
boundar-ies
compon-ent
statist-ical
mal-aria
fin-ancial
situ-ation

the correct hyphens would be:
nec-es-sar-y
com-pe-ten-cies
bound-a-ries
com-po-nent
sta-tis-ti-cal
ma-lar-i-a
fi-nan-cial
sit-u-a-tion
Tagshyphenation
PatchNo

Activities

2009-06-26 10:00

 

testhyphens.sla (18,363 bytes)

ale

2009-06-26 12:00

manager   ~0022034

Last edited: 2009-06-26 12:01

it is possible to get the same errors in oo.org (write), too.
see the screenshot (no manually hyphenation was set there).

still: the problem has to be solved... but it may be a library problem and not a scribus one (or the correct values for the library have to be set?)

2009-06-26 12:01

 

Picture 1.png (155,086 bytes)   
Picture 1.png (155,086 bytes)   

mray

2009-06-26 12:28

reporter   ~0022035

OOo hyphenates right if the adjustment it left-aligned though.
Scribus seems to be wrong no matter what kind of adjustment.

2009-06-28 07:58

 

avox

2009-06-28 14:46

updater   ~0022046

I checked Scribus behaviour and it just uses the results returned by hnjlib with the given dictionary. OTOH the one used by Scribus and OOo doesn't seem to be so hot. This is what the original TeX dictionary gives:

"necessary" 1
     2 "nec=essary"
"competencies" 2
     2 "com=petencies"
     4 "compe=tencies"
"boundaries" 2
     4 "bound=aries"
     6 "boundar=ies"
"component" 1
     4 "compo=nent"
"statistical" 1
     2 "sta=tistical"
"malaria" 1
     4 "malar=ia"
"financial" 1
     4 "finan=cial"
"situation" 1
     2 "sit=uation"

2009-06-28 14:48

 

hyphen-tex.dic (27,311 bytes)

avox

2009-06-28 14:52

updater   ~0022047

So if you want to try, replace your hyph-en.dic with the attached TeX dictionary. I already changed the format to make it usable for Scribus, you just have to rename it. From the size I gues it will offer far less hyphenations than the OOo one.

And if you don't like hyphenation anyway, try setting the 'min word spacing' in the advanced text properties to 66% or even 50%!

pierremarchand

2009-06-28 22:43

reporter   ~0022049

for information, here is the result with OpenOffice dicts as provided in opensuse11.1
$ ./src/hyphenate /usr/share/ooo/hyphen/hyph_en_US.dic necessary competencies boundaries component statistical malaria financial situation
"necessary" 2
         1 "ne=cessary"
         4 "neces=sary"
"competencies" 3
         2 "com=petencies"
         5 "compet=encies"
         7 "competen=cies"
"boundaries" 2
         4 "bound=aries"
         6 "boundar=ies"
"component" 2
         2 "com=ponent"
         5 "compon=ent"
"statistical" 3
         3 "stat=istical"
         6 "statist=ical"
         8 "statistic=al"
"malaria" 1
         2 "mal=aria"
"financial" 2
         2 "fin=ancial"
         4 "finan=cial"
"situation" 1
         3 "situ=ation"

Kunda

2016-12-27 11:59

updater   ~0043210

Im adding to 1.5.3 release because I'm not sure if this is still present and it seems important enough. Devs please advise.

cbradney

2017-03-01 21:09

administrator   ~0043523

Moving to 1.6 milestone, it depends entirely on libraries on the system and dictionaries and where they came from.

Issue History

Date Modified Username Field Change
2009-06-26 10:00 mray New Issue
2009-06-26 10:00 mray File Added: testhyphens.sla
2009-06-26 12:00 ale Note Added: 0022034
2009-06-26 12:01 ale Note Edited: 0022034
2009-06-26 12:01 ale File Added: Picture 1.png
2009-06-26 12:28 mray Note Added: 0022035
2009-06-28 07:58 pierremarchand File Added: hyphenate-0.0.0-Source.tar.gz
2009-06-28 14:46 avox Note Added: 0022046
2009-06-28 14:48 avox File Added: hyphen-tex.dic
2009-06-28 14:52 avox Note Added: 0022047
2009-06-28 22:43 pierremarchand Note Added: 0022049
2016-12-27 11:59 Kunda Target Version => 1.5.3
2016-12-27 11:59 Kunda Description Updated
2016-12-27 11:59 Kunda Patch => No
2016-12-27 11:59 Kunda Note Added: 0043210
2016-12-27 12:00 Kunda Tag Attached: hyphenation
2017-03-01 21:09 cbradney Target Version 1.5.3 => 1.6 milestone
2017-03-01 21:09 cbradney Note Added: 0043523