red_dragon
02-23-2009, 06:02 AM
An easy workaround for the hyphenation problem (see also the entry in the ->Hanlin Forum (http://www.mobileread.com/forums/showthread.php?t=39827)) could be to not hyphenate words that contain less than 5 characters (or make this configurable using word / subword length).
I have checked the source code in the original fbReader 0.10.3 release. The file where the changes have to be implemented could be "zlibrary/text/src/view/ZLTextLineProcessor.cpp" (line 228 - 242) or directly in "zlibrary/text/src/hyphenation/ZLTextHyphenator.cpp" (the "info" method).
Maybe someone can have a look at it...
I have checked the source code in the original fbReader 0.10.3 release. The file where the changes have to be implemented could be "zlibrary/text/src/view/ZLTextLineProcessor.cpp" (line 228 - 242) or directly in "zlibrary/text/src/hyphenation/ZLTextHyphenator.cpp" (the "info" method).
Maybe someone can have a look at it...