![]() |
#61 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
No.
Yes, both work. Yes, I can. |
![]() |
![]() |
![]() |
#62 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
By the way, if you're trying to prevent every write to the FIFO, you've missed one instance in /etc/udhcpc.d/default.script. |
|
![]() |
![]() |
Advert | |
|
![]() |
#63 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
I wanted to mention that mupdf's CSS engine supports @font-face, so you can change the default font via user.css, e.g.:
Code:
@font-face { font-family: Libertinus; src: url("/mnt/onboard/fonts/Libertinus Serif-Regular.otf"); } @font-face { font-family: Libertinus; src: url("/mnt/onboard/fonts/Libertinus Serif-Bold.otf"); font-weight: bold; } @font-face { font-family: Libertinus; src: url("/mnt/onboard/fonts/Libertinus Serif-Italic.otf"); font-style: italic; } @font-face { font-family: Libertinus; src: url("/mnt/onboard/fonts/Libertinus Serif-BoldItalic.otf"); font-weight: bold; font-style: italic; } body { font-family: Libertinus; text-align: justify; } Last edited by baskerville; 01-12-2018 at 08:03 AM. |
![]() |
![]() |
![]() |
#64 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
To the moderators: could you replace " — " by ": " in this thread's title?
|
![]() |
![]() |
![]() |
#65 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
Opening an 80 MiB ePUB within Nickel consumes 7 MiB of RAM. mupdf on the other hand, consumes 272 MiB of RAM after opening the same ePUB! |
|
![]() |
![]() |
Advert | |
|
![]() |
#66 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
I've just released 0.3.3.
This release fixes a few bugs and generates notifications for some of the commands/services. The framebuffer rotation workaround was removed from the KSM launcher. I hope this will allow @tshering to write a wrapper for this script. |
![]() |
![]() |
![]() |
#67 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 90
Karma: 11069
Join Date: Feb 2012
Device: Sony PRS-T1, Kobo Glo HD
|
Just updated to 0.3.3 and run into the following issue (from crash.log):
Code:
Plato is running on a Kobo Glo HD. The framebuffer resolution is 1072 by 1448. error: cannot open icons/check_mark-small.svg: No such file or directory thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /checkout/src/libcore/option.rs:335:20 note: Run with `RUST_BACKTRACE=1` for a backtrace. Aborted Code:
error: syntax error after attribute name thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /checkout/src/libcore/option.rs:335:20 note: Run with `RUST_BACKTRACE=1` for a backtrace. Aborted Last edited by taos; 01-27-2018 at 07:56 PM. |
![]() |
![]() |
![]() |
#68 | ||
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
I've updated the package. Quote:
This error comes from mupdf's XML parser. Before you try the updated package, could you replace Code:
./plato > info.log 2>&1 || mv info.log crash.log Code:
RUST_BACKTRACE=1 ./plato > info.log 2>&1 || mv info.log crash.log |
||
![]() |
![]() |
![]() |
#69 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 90
Karma: 11069
Join Date: Feb 2012
Device: Sony PRS-T1, Kobo Glo HD
|
Quote:
I've wiped the plato directory and re-installed the updated package. Now, everything works fine again. Last edited by taos; 01-28-2018 at 08:14 AM. |
|
![]() |
![]() |
![]() |
#70 |
Enthusiast
![]() ![]() ![]() ![]() Posts: 38
Karma: 358
Join Date: May 2015
Device: Kobo Glo
|
First of all, thanks for the software, it feels really fast and nice.
I've got a problem on Kobo Glo (regular one, not HD) though - I'm completely unable to call the main menu, when I press the hamburger button nothing happens. All the other buttons, like frontlight, working great. Also, as a non-important suggestion, I'd personally like to have a way to customize "Powered off" screen with our own pictures and/or book covers. P.S. By default it doesn't support FB2 for some reason, but when included to settings.json - discovers and reads them just fine, but seems to not be able to recognize the author. Last edited by AlterusPrime; 01-28-2018 at 08:00 AM. Reason: fb2 info |
![]() |
![]() |
![]() |
#71 | ||||
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
Quote:
Quote:
Quote:
Right now, the metadata import isn't done by Plato itself but by the importer which requires a certain amount of involvement to build. Now that the menu view is finished, I might create menus for retrieving metadata through Plato. |
||||
![]() |
![]() |
![]() |
#72 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
I have attached a debug binary to this post, that print every event to standard output and has a relaxed tap jitter tolerance.
Please provide the content of info.log after having:
|
![]() |
![]() |
![]() |
#73 |
Enthusiast
![]() ![]() ![]() ![]() Posts: 38
Karma: 358
Join Date: May 2015
Device: Kobo Glo
|
Alright, here we go. What I've done was press "Sort by" first, then pressed again to close it. After that I've tapped main menu button twice and closed the program by holding power off button on my device.
|
![]() |
![]() |
![]() |
#74 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Did the main menu showed up?
The first thing I'm noticing is that there's a discrepancy between the device resolution defined in device.rs and the actual framebuffer resolution. |
![]() |
![]() |
![]() |
#75 |
Enthusiast
![]() ![]() ![]() ![]() Posts: 38
Karma: 358
Join Date: May 2015
Device: Kobo Glo
|
No, the menu doesn't show up at all, but Sort By menu does.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PocketBook-KOReader: a document reader for PDF, DJVU, EPUB, FB2, CBZ, ... (AGPLv3) | chrox | KOReader | 568 | 06-22-2024 03:07 AM |
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | Kindle Developer's Corner | 1268 | 02-27-2024 11:49 AM |
Kindle -- KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | KOReader | 1219 | 01-27-2024 02:29 PM |
v3 vs. v3+ as a pdf/DjVu reader | hedonism_bot | HanLin eBook | 7 | 11-02-2010 08:16 PM |