Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-02-2018, 10:23 AM   #271
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1

Could I add my own hyphenation dictionary (es-jcn363.standard.bincode) or must I replace es.standard.bincode?
Good luck.
jcn363 is offline   Reply With Quote
Old 12-02-2018, 11:27 AM   #272
baskerville
Evangelist
baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.
 
baskerville's Avatar
 
Posts: 446
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
Quote:
Originally Posted by jcn363 View Post
Could I add my own hyphenation dictionary (es-jcn363.standard.bincode) or must I replace es.standard.bincode?
The latter.
baskerville is offline   Reply With Quote
Advert
Old 12-02-2018, 11:43 AM   #273
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
Quote:
Originally Posted by baskerville View Post
The latter.
jcn363 is offline   Reply With Quote
Old 12-07-2018, 05:48 AM   #274
Arn
Junior Member
Arn began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2018
Device: Kobo H2O
Install on H2O with KFmon

Hi,

Has anyone ever installed Plato on a Kobo H2O first edition ?
I have successfully installed Koreader before but Plato just don't launch. Is there any possible conflict beetween the two ?

Thanks
Arn is offline   Reply With Quote
Old 12-07-2018, 08:38 AM   #275
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
Quote:
Originally Posted by Arn View Post
Is there any possible conflict beetween the two ?

Thanks
Not at all.
What kind of install do you made?

Good luck.
jcn363 is offline   Reply With Quote
Advert
Old 12-07-2018, 04:08 PM   #276
Arn
Junior Member
Arn began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2018
Device: Kobo H2O
I've Installed KFmon,
- put the file in the plato.0.5.4 archive in a plato directory inside the .add directory,
- copy the plato.ini found on Kfom github page in .add/kfmon/config,
- the plato.svg in a icons directory on root
- copy the content of plato-launcher-fmon-0.4.1 (plato.sh, nikel.sh) in .add/plato/

Have I made something wrong ?

Thanks
Arn is offline   Reply With Quote
Old 12-07-2018, 05:23 PM   #277
Brahman
Junior Member
Brahman began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2018
Device: H20(2) & PRS-T3
Quote:
Originally Posted by Arn View Post
I've Installed KFmon,
- put the file in the plato.0.5.4 archive in a plato directory inside the .add directory,
- copy the plato.ini found on Kfom github page in .add/kfmon/config,
- the plato.svg in a icons directory on root
- copy the content of plato-launcher-fmon-0.4.1 (plato.sh, nikel.sh) in .add/plato/

Have I made something wrong ?

Thanks
Assuming you meant ".adds" I too had similar problem.. I couldn't see the plato -icon on start up screen on KFmon or Fmon. When I finally tried a clean install and used "plato-launcher-fmon-0.4.1.zip" same thing happened, although this time I found the plato icon and launcher in "My Books", in the head menu.. It might have been there all the time though. Take a look.
Brahman is offline   Reply With Quote
Old 12-07-2018, 06:31 PM   #278
Arn
Junior Member
Arn began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2018
Device: Kobo H2O
I did find the icone, but it only opens as a picture, Plato doesn't launch...
Arn is offline   Reply With Quote
Old 12-07-2018, 07:12 PM   #279
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 875
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Check the paths in the kfmon plato.ini file. In particular, check that the location of the logo png and plato.sh match where they are located on your kobo.
sherman is offline   Reply With Quote
Old 12-08-2018, 02:44 AM   #280
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@Arn: The default config expects you to follow instructions *to the letter*: namely, unpacking the archive *as is* and *in its entirety* to the *root* folder.

This would mean plato.png ends up in an icons subfolder .

Instead, you manually put the plato.png file directly at the root, which is not where the config expects it: kaboom .

As @sherman just said, the easiest solution is simply to adapt the plato config to remove that icons/ folder from the filename key in the plato config (you'll have to restart your device after). It's unlikely to ever need an update, so you should be able to keep it like that pretty much forever .

----

The other solution is to delete the Plato icon/book *from the Kobo UI*, then unpack it in the right place again. You'll also have to reboot after.

----

Sidebar: if you had other stuff being watched by KFMon, this effectively broke that, as KFMon aborts if it cannot find any of the requested files.

Last edited by NiLuJe; 12-08-2018 at 02:52 AM.
NiLuJe is offline   Reply With Quote
Old 12-08-2018, 05:42 AM   #281
baskerville
Evangelist
baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.
 
baskerville's Avatar
 
Posts: 446
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
Plato 0.6.0

I'm releasing 0.6.0 today.

It contains a major feature for non-reflowable formats: the continuous fit-to-width zoom mode. The title label in the reader's top bar is now tappable and brings up a menu with a Zoom Mode sub-menu. You can also enable this zoom mode by performing an horizontal spread gesture. Don't forget to use to margin cropper tool to tightly fit the view frame to the underlying text block.

The use case for fit-to-width is when the text block is taller than the screen. This method therefore requires cutting the text block into chunks. By doing so, the probability of cutting lines in half is high. The way the other readers deal with this problem is by introducing a vertical overlap parameter that makes the scroller rewind by a small amount to account for the cropped line. I took a different approach: since the OCR layer is almost always present, we can find the rectangle of the line that contains the cut, find the line preceding it and re-adjust the cut to fall in-between the two lines. I've also introduced screen margins, at the center of the toolbar, to re-add the margins that we loose by tightly fitting the text block.

List of other changes:
  • Add a contextual menu for categories. In particular, categories can now be renamed.
  • Add a menu item in the matches menu to empty the trash.
  • The hyphenation bounds for a language LANG, can be overridden by creating a file named LANG.bounds in the hyphenation-patterns directory. The content of this file shall be the left bound, followed by a space, followed by the right bound.

Last edited by baskerville; 12-12-2018 at 03:35 AM.
baskerville is offline   Reply With Quote
Old 12-08-2018, 07:05 AM   #282
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
jcn363 is offline   Reply With Quote
Old 12-08-2018, 12:28 PM   #283
DezReads
Member
DezReads began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Dec 2018
Device: Kobo Aura H2O Edition 2 (Version 2)
Just installed plato on my Kobo Aura H2O Edition 2 (Version 2) and launched it via ksm.

It works but the touch input is only correct if the rotation is set to 270 (for both the menu and the reading mode).
DezReads is offline   Reply With Quote
Old 12-08-2018, 01:11 PM   #284
baskerville
Evangelist
baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.
 
baskerville's Avatar
 
Posts: 446
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
Quote:
Originally Posted by DezReads View Post
Just installed plato on my Kobo Aura H2O Edition 2 (Version 2) and launched it via ksm.
Thanks for trying.

Quote:
Originally Posted by DezReads View Post
It works but the touch input is only correct if the rotation is set to 270 (for both the menu and the reading mode).
Within the home view (the menu mode in your own terms), could you try to tap one of the four corners of the screen for each of the three other rotation values and report, for each value, on how the touch event is translated: Which icon did you tap? Which icon responded to the tap?
baskerville is offline   Reply With Quote
Old 12-08-2018, 07:26 PM   #285
DezReads
Member
DezReads began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Dec 2018
Device: Kobo Aura H2O Edition 2 (Version 2)
Quote:
Originally Posted by baskerville View Post
Within the home view (the menu mode in your own terms), could you try to tap one of the four corners of the screen for each of the three other rotation values and report, for each value, on how the touch event is translated: Which icon did you tap? Which icon responded to the tap?
Sure, let me also correct myself (I am holding my device in portrait mode while testing, so if I say something like 'lower left corner', I mean the area right over the kobo logo, to the left side of the usb port):
  • 0:
    Touching the lower right corner opens the menu, which is in the upper left corner, the ui is in landscape mode.
    Accordingly, touching the lower left corner where the search icon is presses the back button in the upper right corner.
    (Seems to be vertically and horizontally mirrored)
  • 90 (Standard):
    The touch input works correctly but the ui is upside down.
  • 180:
    Touching the lower left corner opens the search, which is in the upper right corner, the ui is in landscape mode.
    Accordingly, touching the upper left corner opens the menu which is located in the lower right corner.
    (Seems to be vertically and horizontally mirrored)
  • 270:
    Touch works without problems and the ui is presented correctly!

Hope this helps! Feel free to ask me if you need anything else.
DezReads is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle -- KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) hawhill KOReader 1237 07-07-2025 02:25 PM
PocketBook-KOReader: a document reader for PDF, DJVU, EPUB, FB2, CBZ, ... (AGPLv3) chrox KOReader 584 07-01-2025 07:34 AM
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) hawhill Kindle Developer's Corner 1289 04-07-2025 10:18 AM
v3 vs. v3+ as a pdf/DjVu reader hedonism_bot HanLin eBook 7 11-02-2010 08:16 PM


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


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