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 Yesterday, 04:53 PM   #91
MrSilverstrike
Kobo Mod Maker
MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.
 
MrSilverstrike's Avatar
 
Posts: 156
Karma: 969522
Join Date: Apr 2024
Location: Belgium
Device: Kobo Libra Color, Kobo Clara Color
Quote:
Originally Posted by fogice View Post
It would also be nice if the chapter and title information WASN'T IN ALL CAPS. Why oh why did Kobo decide that looked nice?
All caps is a design choice. Hey, I did it in Kobalt, too. I tried both. I'll make it a setting
MrSilverstrike is offline   Reply With Quote
Old Yesterday, 06:42 PM   #92
MrSilverstrike
Kobo Mod Maker
MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.
 
MrSilverstrike's Avatar
 
Posts: 156
Karma: 969522
Join Date: Apr 2024
Location: Belgium
Device: Kobo Libra Color, Kobo Clara Color
Beta 3 is now available with many improvements. Upgrading can be done via the website. For the changelog, look here.
MrSilverstrike is offline   Reply With Quote
Old Today, 02:25 AM   #93
rantanplan
Weirdo
rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.
 
Posts: 1,363
Karma: 13544822
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Kobo Libra 2, Tolino Vision Color, reMarkable PaperPro
Quote:
Originally Posted by MrSilverstrike View Post
Beta 3 is now available with many improvements. Upgrading can be done via the website. For the changelog, look here.
Quote:
Save changed reading progress to Nickel every 30 seconds while reading and before sleep, so the sleep screen can show the current progress.
Is this smart? In one 60 minute reading session, this would result in 120 writes on a NAND drive.
rantanplan is offline   Reply With Quote
Old Today, 02:28 AM   #94
rantanplan
Weirdo
rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.
 
Posts: 1,363
Karma: 13544822
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Kobo Libra 2, Tolino Vision Color, reMarkable PaperPro
Oh, you added a QT-6 version, I'll immediately install this on my Tolinos <3
rantanplan is offline   Reply With Quote
Old Today, 03:17 AM   #95
rantanplan
Weirdo
rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.
 
Posts: 1,363
Karma: 13544822
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Kobo Libra 2, Tolino Vision Color, reMarkable PaperPro
If I try to open a book with DRM, I get this view:

Click image for larger version

Name:	IMG_0723.jpeg
Views:	38
Size:	278.6 KB
ID:	226632

I know that Kobalt doesn't support protected books but I'd have expected that Kobalt either throws an error message and closes or that it would automatically open the Nickel reader.
rantanplan is offline   Reply With Quote
Old Today, 05:33 AM   #96
MrSilverstrike
Kobo Mod Maker
MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.
 
MrSilverstrike's Avatar
 
Posts: 156
Karma: 969522
Join Date: Apr 2024
Location: Belgium
Device: Kobo Libra Color, Kobo Clara Color
Please wait for official Tolino support for a bit: how book progress is saved and such is different there, and I literally don’t handle it yet. Stay tuned, it’s coming in the next beta probably
MrSilverstrike is offline   Reply With Quote
Old Today, 05:41 AM   #97
rantanplan
Weirdo
rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.
 
Posts: 1,363
Karma: 13544822
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Kobo Libra 2, Tolino Vision Color, reMarkable PaperPro
I should have checked the website
rantanplan is offline   Reply With Quote
Old Today, 12:39 PM   #98
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,346
Karma: 16800000
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
@MrSilverstrike

I've installed beta3 on both an AuraOne and a Libra2. I'm having some problems with font settings. It has always been my No.1 priority for any reading app I've ever used.

The following is what I want and, so far, have always been able to "find a way", albeit often via hacks, kobopatches etc.
  1. Main body text: displays my personal choice of serif font (currently sideloaded MinionPro).
  2. CSS font-family:sans-serif displays a sans-serif font. A personal choice would be ideal, but 'Legible Next' is OK.
  3. CSS font-family:monospace displays a monospace font. A personal choice would be ideal, but 'IBM Plex Mono' is OK.
  4. CSS font-variant:small-caps displays a true SmallCaps font (not an ugly simulation). Ideally the SmallCaps chars (if any) within the font currently being used.
  5. If there are any embedded fonts (e.g. fancy headings/dropcaps, "handwritten" letters etc.) then they should be visible.

In beta3:
  • If I have 1 & 4 then I lose 2, 3 & 5.
  • If I choose Publisher Fonts then I have 2, 3 & 5 but I'm forced to use Libron for 1 & 4. I'm not really a fan of the slab serif look in books.
Am I missing something?

In beta2 it was possible to select my default font as MinionPro then choose Publisher default (whose button then displayed a message that it was using MinionPro). So I had 1, 3, 4 and 5. The only thing missing was 2 (sans-serif), which seemed more like a bug than a deliberate decision because 3 (monospace) was working OK.

I may be in a minority of one but this fonts situation doesn't feel like progress. Are there any potential future options/tweaks which would give me what I've always been able to achieve in the past?

Last edited by jackie_w; Today at 12:50 PM.
jackie_w is offline   Reply With Quote
Old Today, 12:55 PM   #99
MrSilverstrike
Kobo Mod Maker
MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.
 
MrSilverstrike's Avatar
 
Posts: 156
Karma: 969522
Join Date: Apr 2024
Location: Belgium
Device: Kobo Libra Color, Kobo Clara Color
Quote:
Originally Posted by jackie_w View Post
Am I missing something? [...] I may be in a minority of one but this fonts situation doesn't feel like progress. Are there any potential future options/tweaks which would give me what I've always had in the past?
Right.

As it stands, the font override works the same as it does in Kobo's reader app: if you choose anything but the publisher fonts, you get that font everywhere. It's a blanket rule.

Otherwise, the rules are simple:

- serif fallback: Libron
- sans serif fallback: Legible Next
- mono fallback: Plex Mono

What you're asking for is essentially a way to customize these, right? I can add that for you.

Perhaps via a userstyle.css file. You would be able to put anything in there you'd like to apply to all books. Would that help?
MrSilverstrike is offline   Reply With Quote
Old Today, 01:46 PM   #100
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,346
Karma: 16800000
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by MrSilverstrike View Post
Otherwise, the rules are simple:

- serif fallback: Libron
- sans serif fallback: Legible Next
- mono fallback: Plex Mono

What you're asking for is essentially a way to customize these, right? I can add that for you.

Perhaps via a userstyle.css file. You would be able to put anything in there you'd like to apply to all books. Would that help?
Thanks for your quick reply.

Customising the serif fallback is my "must-have" but customising all 3 when Publisher Fonts is selected would be just about perfect.

If you think it could be done via a userstyle.css file that would suit me fine and I'm more than happy to test it for you.

Quote:
Originally Posted by MrSilverstrike View Post
As it stands, the works the same as it does in Kobo's reader app: if you choose anything but the publisher fonts, you get that font everywhere. It's a blanket rule.
Just my POV but all the Nickel kepub CSS overrides are too aggressive. The Nickel epub CSS overrides are better, but still not perfect for me. I do appreciate that it's impossible to please everyone with a one-size-fits-all set of CSS override rules. That's why some of the kobopatches were created to allow the user full control. Obviously kobopatch is not as user-friendly as just having an optional simple user-created userstyle.css file on the device (or however you planned to implement it).

Personally I prefer much gentler overrides, i.e. at body level only, for all of font-family, line-height and text-align properties.

I'm very much looking forward to seeing what you can do!
jackie_w is offline   Reply With Quote
Old Today, 01:50 PM   #101
MrSilverstrike
Kobo Mod Maker
MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.
 
MrSilverstrike's Avatar
 
Posts: 156
Karma: 969522
Join Date: Apr 2024
Location: Belgium
Device: Kobo Libra Color, Kobo Clara Color
Quote:
Originally Posted by jackie_w View Post
Personally I prefer much gentler overrides, i.e. at body level only, for all of font-family, line-height and text-align properties.
That's where the custom `userstyle.css` file would work really well, too.

I think I'll do it this way, then. It also gives everyone a chance to declare their own global overrides so they don't need to edit each book's CSS.
MrSilverstrike is offline   Reply With Quote
Old Today, 05:56 PM   #102
Uncle Robin
Diligent dilettante
Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.
 
Uncle Robin's Avatar
 
Posts: 3,791
Karma: 52758936
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
Quote:
Originally Posted by MrSilverstrike View Post
Right.

As it stands, the font override works the same as it does in Kobo's reader app: if you choose anything but the publisher fonts, you get that font everywhere. It's a blanket rule.

Otherwise, the rules are simple:

- serif fallback: Libron
- sans serif fallback: Legible Next
- mono fallback: Plex Mono

What you're asking for is essentially a way to customize these, right? I can add that for you.

Perhaps via a userstyle.css file. You would be able to put anything in there you'd like to apply to all books. Would that help?

I'm just following this thread for now, grateful for all the beta testers and for your remarkable responsiveness to queries and suggestions, but this post raised a query for me:

How will the font-choice setup work with different scripts? For example if I'm reading a book of poems written in devanagari with either English translation or Roman transliteration? Or, once I've mastered it, a more extreme example would be Urdu and English - one RTL script, one LTR. What steps will users need to take to adress those kinds of use cases?
Uncle Robin is offline   Reply With Quote
Old Today, 07:33 PM   #103
MrSilverstrike
Kobo Mod Maker
MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.MrSilverstrike ought to be getting tired of karma fortunes by now.
 
MrSilverstrike's Avatar
 
Posts: 156
Karma: 969522
Join Date: Apr 2024
Location: Belgium
Device: Kobo Libra Color, Kobo Clara Color
Quote:
Originally Posted by Uncle Robin View Post
I'm just following this thread for now, grateful for all the beta testers and for your remarkable responsiveness to queries and suggestions, but this post raised a query for me:

How will the font-choice setup work with different scripts? For example if I'm reading a book of poems written in devanagari with either English translation or Roman transliteration? Or, once I've mastered it, a more extreme example would be Urdu and English - one RTL script, one LTR. What steps will users need to take to adress those kinds of use cases?
Currently, Kobalt falls back to various multi-language fonts if certain glyphs or scripts aren't supported.

If a font doesn't support Cyrillic or Urdu, for example, the fallback fonts should still render those characters correctly, whether they're RTL or LTR. If the epub is valid and correctly declares those paragraphs as being LTR, they should be rendered correctly.

So you can generally choose the regular (Latin) font you prefer, and rest assured that the fallback options will render whatever text correctly.

If you're asking whether it'd be possible to use a particular font for a particular language fallback if the main font doesn't support that... well, that isn't currently customizable, but if your main font has coverage for those characters (i.e. you get an Indian font which supports Latin + Devanagari) it should just... work and that font will be used for your main text and Devanagari.

In the future, I could make these "font fallbacks" customizable for folks who like to bring their own favorite fonts.

I maintain a whole automated set of screenshots as part of the validation process which shows all of these supported fallbacks (these screenshots don't show all cases, but it's to give you an idea of the scope of what I'm aiming to support):

Click image for larger version

Name:	international.png
Views:	4
Size:	709.2 KB
ID:	226674
Click image for larger version

Name:	cjk.png
Views:	4
Size:	455.7 KB
ID:	226675
MrSilverstrike is offline   Reply With Quote
Old Today, 07:39 PM   #104
Uncle Robin
Diligent dilettante
Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.
 
Uncle Robin's Avatar
 
Posts: 3,791
Karma: 52758936
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
Thank you for that very helpful response. That's good to know as is, because currently I'm OK using Arial Unicode as my default for both Latin and devanagari when needed, even though there are other devanagari fonts I prefer. I'm currently only learning to read Urdu, so even though nastaliq is NASTY to learn to read, I'm sure by the time I've mastered the script I'm sure Kobalt will allow wetware implants for fallback fonts.
Uncle Robin is offline   Reply With Quote
Reply

Tags
koreader, nickelhook, reader


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding alternative readers to Kobo devices Ken Maltby Kobo Reader 251 11-28-2024 05:46 PM
good alternative reader app (epub) for note air? polossatik Onyx Boox 22 05-01-2022 09:18 AM
Android devices. Built in e-reader vs. e-reader app. Your preferences? norweger Android Devices 19 11-10-2019 11:12 AM
Reader not Appearing in Devices or App AniPendragon Kobo Reader 13 10-28-2015 09:38 PM
Reader App for Apple Devices Ken401 Sony Reader 7 11-07-2012 09:20 AM


All times are GMT -4. The time now is 10:40 PM.


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