View Single Post
Old 06-06-2015, 06:06 AM   #131
Nick_1964
Bookworm
Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.
 
Nick_1964's Avatar
 
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
Still struggling with the Hyphenation part.
When I change and enable the patch for a Glo HD like this ( enable patch and put off Hyphenation forever )
Code:
<Patch>
patch_name = `Set kepub hyphenation`
patch_enable = `yes`
#
# The built-in kepub stylesheet has a line "* { -webkit-hyphenation: auto; }"
# to turn on hyphenation, but it is only used if the device's justification
# button is set to full justification. With this patch enabled hyphenation
# will always/never be turned on, regardless of justification button setting.
#
# (Note that if the publisher has set the hyphenation in the book's stylesheet
# then that will override the built-in stylesheet.)
#
# Alternative 1: Always turn kepub hyphenation on
#replace_bytes = 91FA92, FC F6 7C E5, 01 20 01 20
# Alternative 2: Never turn kepub hyphenation on
replace_bytes = 936B54, FC F6 7C E5, 00 20 00 20
</Patch>
It will give the next error:
e:\Kobo patches\glo\patch_kobo_3150\tools\pa32lsb.exe: line 830 in 'e:\Kobo patc
hes\glo\patch_kobo_3150\3.15.0_source\libnickel.so .1.0.0.patch': replace_bytes m
ismatched data.
ERROR processing e:\Kobo patches\glo\patch_kobo_3150\3.15.0_source\libnicke l.so.
1.0.0.patch

Something is wrong with the value.
Nick_1964 is offline   Reply With Quote