Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > PocketBook

Notices

Reply
 
Thread Tools Search this Thread
Old 10-01-2010, 09:25 AM   #1
feedy
Junior Member
feedy began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2010
Device: PB 302
Hyphenation with fbreader180

I just received my PB 302 this week and directly installed fbreader180. All my books are however justified and unpleasant to read (e.g. sometimes just 3 words centered on one line). Hyphenation would be a solution, and is available in a lot of languages. Unfortunately not in my language (Dutch). Is there any possibility to add it?
feedy is offline   Reply With Quote
Old 10-01-2010, 09:29 AM   #2
mtravellerh
book creator
mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.
 
mtravellerh's Avatar
 
Posts: 9,613
Karma: 1620342
Join Date: Oct 2008
Location: Luxembourg
Device: PB360°
Quote:
Originally Posted by feedy View Post
I just received my PB 302 this week and directly installed fbreader180. All my books are however justified and unpleasant to read (e.g. sometimes just 3 words centered on one line). Hyphenation would be a solution, and is available in a lot of languages. Unfortunately not in my language (Dutch). Is there any possibility to add it?
Well we would need a file with the dutch hyphenaion rules. Does anyone know where to get that?
mtravellerh is offline   Reply With Quote
 
Advertisement
Old 10-01-2010, 09:42 AM   #3
feedy
Junior Member
feedy began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2010
Device: PB 302
Thanks for your reply. How did it work with the languages which are available right now? Do they come from the original fbreader project? Or do you maybe have a sample file of the german and/or english language?
feedy is offline   Reply With Quote
Old 10-01-2010, 03:05 PM   #4
mtravellerh
book creator
mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.
 
mtravellerh's Avatar
 
Posts: 9,613
Karma: 1620342
Join Date: Oct 2008
Location: Luxembourg
Device: PB360°
Quote:
Originally Posted by feedy View Post
Thanks for your reply. How did it work with the languages which are available right now? Do they come from the original fbreader project? Or do you maybe have a sample file of the german and/or english language?
They come from the original afaik
mtravellerh is offline   Reply With Quote
Old 10-01-2010, 11:15 PM   #5
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 751
Karma: 2031587
Join Date: Sep 2010
Device: iriver Story HD
LaTeX (texlive) has language support for Dutch (and other languages) which I assume includes hyphenation rules. Maybe those can be converted/imported somehow.

I'm not sure but I think I read somewhere that fbreader180 actually prevents hyphenation for some words? Guess it depends on the language and person (and font size?) whether hyphenation is any good. Personally I don't like it when a lot of words are broken up.
frostschutz is offline   Reply With Quote
Old 10-02-2010, 01:52 AM   #6
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
Are you sure Dutch is missing? The Windows Desktop FBReader (at least) includes Dutch as an option for the default language. I assume it will therefore hyphenate Dutch.

There are other possibilities:
  • The ebook's language code metadata may not be specifying Dutch correctly.
  • FBReader may not be recognizing the language code metadata, even though it is correct. This turns off FBReader's hyphenation.
  • The ebook's language code metadata may be set to UND (or und), for undefined. This turns off FBReader's hyphenation.
I suggest opening a Dutch ebook in Desktop FBReader (Windows or Linux) and see what it auto-selects as the language. It it does not select Dutch and/or does not auto-hyphenate, then attach (or provide a pointer to) a public domain ebook illustrating the problem.

Last edited by wallcraft; 10-02-2010 at 01:56 AM.
wallcraft is offline   Reply With Quote
Old 10-02-2010, 11:09 AM   #7
feedy
Junior Member
feedy began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2010
Device: PB 302
I'm running the latest FBreader (0.12.0) on Ubuntu. Dutch is indeed listed there as a language. However if I turn Dutch as default on, hyphenation is still not working. Even if the metadata inside the epub is configured as Dutch.

A samplefile of a Dutch newspaper can be found here: http://epaper.nrc.nl/downloads/nrc_20090909.epub

With English or German epub's hyphenation is working normally.

On the latest FBreader on my Pocketbook, Dutch is not listed as an option by the way.
feedy is offline   Reply With Quote
Old 10-02-2010, 01:22 PM   #8
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
It seems that Dutch localization was added in version 12.5 (How to localize FBReader interface for your preferred language). I don't know if fbreader180 is based on the 12 series, but if it is you should be able to add the "-nl.xml" files. However, as you discovered, this does not give you hyphenation.

Is the hyphenation for German "good enough"? That might be a work around for the Desktop version (manually select German under the book info icon).

I suggest posting a question on FBReader Google Group about Dutch hyphenation. You can include the Dutch newspaper as an example. If German hyphenation looks good (or better than nothing) you can mention this, because using German hyphenation for Dutch is probably an easy fix to make.
wallcraft is offline   Reply With Quote
Old 10-02-2010, 06:58 PM   #9
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 751
Karma: 2031587
Join Date: Sep 2010
Device: iriver Story HD
Maybe I'm blind but I don't even see where the hyphenation rules go. Are they builtin part of the binary? The xml files hold only language strings for buttons and the like.
frostschutz is offline   Reply With Quote
Old 10-13-2010, 10:04 AM   #10
JAW
Junior Member
JAW began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2005
Hyphenation in fbreader based on Patterns of TeX and OpenOffice
http://www.ctan.org/tex-archive/language/hyphenation/
JAW is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deutsches Readme des FBReader180 Logseman PocketBook 4 08-22-2010 03:37 PM
Hyphenation in KDXG? guiyoforward Amazon Kindle 4 08-14-2010 04:32 PM
fbreader180 + Tastensperre gulu-gulu PocketBook 4 07-05-2010 02:52 PM
PRS-300 No automatic hyphenation? robert_epub Sony Reader 5 03-23-2010 10:06 AM
hyphenation CPatrick OpenInkpot 3 03-22-2010 07:06 AM


All times are GMT -4. The time now is 05:31 PM.


MobileRead.com is a privately owned, operated and funded community.