Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 11-29-2014, 07:07 PM   #1
jchtt
Member
jchtt began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jun 2011
Device: Kindle Paperwhite 3, Kobo Aura H2O
Aura H2O, no hyphenation in Adobe reader for left-aligned text

I recently got my hands on an H2O and I can't seem to get hyphenation running the way I'd like to. Ideally, I'd want to use the Adobe reader for epub files, but it won't hyphenate unless I force the text to be justified. On the other hand, the kepub reader does hyphenation no matter what, but annoys me with its cut off bug. I'm a bit puzzled because this behavior seems to be the reverse from what I read should be true on the forums.

I attached a small test file to illustrate this, in which I also specified
Code:
* {
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
adobe-hyphenate: auto;
}
without any visible effect. Do other H2O owners share this experience? Any ideas?
Attached Files
File Type: epub test.epub (2.4 KB, 171 views)
jchtt is offline   Reply With Quote
Old 11-29-2014, 08:12 PM   #2
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
It is the same on my Glo with firmware 3.11.0, epub hyphenation only happens with full justification.

I never noticed this before because I always use full justification, so I don't know if it has always been this way or if is was something new when the Adobe RMSDK was upgraded in firmware 3.5.0.

Unlike for kepubs, the device's built-in stylesheet doesn't set the hyphenation at all for epubs, it is the Adobe RMSDK that decides when to use hyphenation based on the book's stylesheet. Maybe someone who is still using firmware version 3.4.1 or earlier could check whether it was different in the old RMSDK.

Edit: For kepubs it is a little different: by default the hyphenation is whatever is set in the book, and if nothing is specified in the book then it defaults to no hyphenation. But if full justification is set on the device then hyphenation is turned on, overriding what is in the book.

Last edited by GeoffR; 11-29-2014 at 10:12 PM. Reason: kepub differences
GeoffR is offline   Reply With Quote
Advert
Old 11-29-2014, 10:23 PM   #3
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
I was able to try your test book on a Kobo Mini running firmware 3.4.1, and it hyphenated even when left justified. So my guess is the change happened when the Adobe RMSDK was updated in firmware 3.5.0.
GeoffR is offline   Reply With Quote
Old 11-30-2014, 05:35 AM   #4
Anak
Fanatic
Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.
 
Posts: 598
Karma: 641742
Join Date: Mar 2012
Location: DE
Device: Kobo Glo
Have you tried this property with the value "explicit"?

Code:
adobe-hyphenate: explicit
(adobe-hyphenate: none | explicit | auto)
Anak is offline   Reply With Quote
Old 11-30-2014, 09:46 AM   #5
jchtt
Member
jchtt began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jun 2011
Device: Kindle Paperwhite 3, Kobo Aura H2O
Quote:
Originally Posted by Anak View Post
Have you tried this property with the value "explicit"?

Code:
adobe-hyphenate: explicit
(adobe-hyphenate: none | explicit | auto)
If I do that, I get no hyphenation at all, not even justified.

Quote:
Originally Posted by GeoffR View Post
I was able to try your test book on a Kobo Mini running firmware 3.4.1, and it hyphenated even when left justified. So my guess is the change happened when the Adobe RMSDK was updated in firmware 3.5.0.
OK, great. What do you think I'd need to use this version on the H2O? Would it be enough to replace the adobehost binary, or would it have to be a bunch of files?
jchtt is offline   Reply With Quote
Advert
Old 11-30-2014, 12:43 PM   #6
robko
Wizard
robko ought to be getting tired of karma fortunes by now.robko ought to be getting tired of karma fortunes by now.robko ought to be getting tired of karma fortunes by now.robko ought to be getting tired of karma fortunes by now.robko ought to be getting tired of karma fortunes by now.robko ought to be getting tired of karma fortunes by now.robko ought to be getting tired of karma fortunes by now.robko ought to be getting tired of karma fortunes by now.robko ought to be getting tired of karma fortunes by now.robko ought to be getting tired of karma fortunes by now.robko ought to be getting tired of karma fortunes by now.
 
Posts: 2,454
Karma: 5469320
Join Date: Jul 2010
Device: Kobo
Quote:
Originally Posted by jchtt View Post
OK, great. What do you think I'd need to use this version on the H2O? Would it be enough to replace the adobehost binary, or would it have to be a bunch of files?
Others with way more knowledge than I will no doubt weigh in shortly, but I don't think that's going to work for you. Firmware 3.7 was the first version for the H2O, so no guarantees that going back to 3.5 will work (or won't brick your device). I'd be very surprised if you could go back to the old adobe within the current firmware (obviously there's been big changes in the adobe code).
robko is offline   Reply With Quote
Old 11-30-2014, 02:38 PM   #7
jchtt
Member
jchtt began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jun 2011
Device: Kindle Paperwhite 3, Kobo Aura H2O
Quote:
Originally Posted by robko View Post
Others with way more knowledge than I will no doubt weigh in shortly, but I don't think that's going to work for you. Firmware 3.7 was the first version for the H2O, so no guarantees that going back to 3.5 will work (or won't brick your device). I'd be very surprised if you could go back to the old adobe within the current firmware (obviously there's been big changes in the adobe code).
What's life without a bit of risk . I actually tried replacing the adobehost binary via usbnet and nickel still worked, but I don't think this is the correct binary for the adobe reader since the rendering did not change. Does anyone know if there's a separate binary for that, or is it integrated into nickel?
jchtt is offline   Reply With Quote
Old 11-30-2014, 06:04 PM   #8
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by jchtt View Post
What's life without a bit of risk . I actually tried replacing the adobehost binary via usbnet and nickel still worked, but I don't think this is the correct binary for the adobe reader since the rendering did not change. Does anyone know if there's a separate binary for that, or is it integrated into nickel?
Did you restart the device? Or otherwise cause nickel to restart?

You probably want the RMSDK library. It should be something like "librmsdk.so". But my bet is that the dependencies will mean that replacing it won't work. I suggest that you make sure you know how to do a factory reset on the device before doing anything.

As to older firmware, recognising the hardware is probably the biggest issue. If the hardware is not recognised, I expect it to drop back to treating it as the original Touch. The device ids were added a version or two before release. So, there is a reasonable chance that 3.5.0 will start. How well it works is another matter. There is also at least one script that checks the hardware ids and returns a value. Changing that to recognise the correct hardware and maybe returning that it is a Aura HD might get it working.
davidfor is offline   Reply With Quote
Old 11-30-2014, 09:44 PM   #9
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by jchtt View Post
If I do that, I get no hyphenation at all, not even justified.
I think adobe-hyphenate: explicit; is for soft hyphenation. If you use Calibre to add soft hyphens to the book then explicit should cause it to ignore the built-in hyphenation dictionaries and only hyphenate at soft hyphens. My guess it will still only hyphenate fully justified paragraphs, but I haven't tried it.

Quote:
OK, great. What do you think I'd need to use this version on the H2O? Would it be enough to replace the adobehost binary, or would it have to be a bunch of files?
In old firmware versions the RMSDK was compiled in together with libnickel.so, but in versions 3.3.0 and later it was seperated out into librmsdk.so. version 3.4.1 is the last firmware with the old RMSDK. However I very much doubt it will work to use the old librmsdk.so with the new firmware.

Last edited by GeoffR; 11-30-2014 at 09:56 PM. Reason: Added quotes
GeoffR is offline   Reply With Quote
Old 12-02-2014, 05:04 PM   #10
jchtt
Member
jchtt began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jun 2011
Device: Kindle Paperwhite 3, Kobo Aura H2O
Thanks for the hints! Indeed, I get a boot loop if I try to replace librmsdk with the one from the 3.3.0 firmware, and adobe-hyphenate:explicit together with softhyphens will hyphenate only in justified mode, too. I haven't tried replacing the whole firmware yet, but I think I'll give up for now and try to live with the header in the Kobo reader software .
jchtt is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
H2O with 3.8.0 Hyphenation? JSWolf Kobo Reader 16 05-13-2015 09:49 PM
Replacing Nook Simple Touch: Onyx T68 vs Kobo Aura vs Kobo Aura H2O iNovelReader Which one should I buy? 0 10-28-2014 01:40 AM
Justified or Left Aligned? buffaloseven Kobo Reader 29 08-29-2013 11:46 AM
Left aligned conversion shamus888 Conversion 1 12-25-2012 03:53 PM
iPhone Text messages justified or left aligned? AlexBell Apple Devices 10 07-03-2012 11:01 AM


All times are GMT -4. The time now is 03:24 AM.


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