View Single Post
Old 07-02-2020, 07:24 AM   #133
tartanpion
Enthusiast
tartanpion began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Nov 2011
Location: france
Device: kobo libra 2
I have a problem with no-break space and hyphenation.
Tested with your dict (hyph-fr.dict) and with the kobo's dict and kepub.
With french we use a lot of hyphenation and at the end of a line when we have a quotation mark '«', followed by a no break space and the word, kobo create a false hyphenation like if (see the example) '« jeune' was a true word and it's hyphenated after the no break space : '« -jeune'


ex : Ruth présente O comme « jeune homme de qualité » is sometimes badly hyphenate like (see the picture):
xxxx xxxx xxx xxxxxxxx xxxxx « -
jeune homme de qualité » xxxx xxx

the correct sentence should be :

xxxx xxxx xxx xxxxxxx xxxxx « jeu-
ne homme xxx xxxxxx xxxxxxxxxxx

or

xxx xxxx xxxx xxxxxxxxxxxxx xxx
« jeune homme xxxx xxxxxxxx xxx

Can we have a rule : do not hyphenate after a no break space ?
Or perhaps I need to soft hyphen the epub with the plugin hyphenate it before converting to kepub.
Attached Thumbnails
Click image for larger version

Name:	bug kobo.jpg
Views:	463
Size:	589.5 KB
ID:	180325  
tartanpion is offline   Reply With Quote