Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-26-2020, 06:47 PM   #76
zertyuiop
Junior Member
zertyuiop began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2020
Device: Kobo Forma
Hello, is there any way to change the font size on the home screen, for example the percentage of reading a book?
zertyuiop is offline   Reply With Quote
Old 04-26-2020, 07:04 PM   #77
Semwize
Guru
Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.
 
Posts: 808
Karma: 249456
Join Date: Jun 2016
Device: Kobo
Quote:
Originally Posted by zertyuiop View Post
Hello, is there any way to change the font size on the home screen, for example the percentage of reading a book?
Settings -> Beta Features -> Font Scale
Semwize is offline   Reply With Quote
Advert
Old 04-26-2020, 07:36 PM   #78
zertyuiop
Junior Member
zertyuiop began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2020
Device: Kobo Forma
Quote:
Originally Posted by Semwize View Post
Settings -> Beta Features -> Font Scale
This changes the size of all fonts, I need to slightly reduce the font on the home screen.
zertyuiop is offline   Reply With Quote
Old 04-26-2020, 08:09 PM   #79
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: 5,784
Karma: 14403332
Join Date: Sep 2009
Location: UK
Device: Kobo: H2O, GloHD, KA1, ClaraHD, Forma
Quote:
Originally Posted by zertyuiop View Post
Hello, is there any way to change the font size on the home screen, for example the percentage of reading a book?
I don't think anyone has ever requested this before so there is no official patch. However, you're in luck because I do something similar on my own Forma.

The following patch should allow you to change font-size for either or both of the upper labels (x% read) and the lower labels (y HOURS TO GO) on your Forma Home screen. I'm not planning to add this to the official kobopatch pack so just add it to the .yaml file where you keep all your other nickel.yaml custom patches.

You'll need to experiment to get your ideal Replace: font-sizes.

[patch code removed due to lack of response from requester]

Last edited by jackie_w; 05-28-2020 at 06:35 AM. Reason: beta patch code removed
jackie_w is offline   Reply With Quote
Old 04-26-2020, 08:33 PM   #80
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: 22,969
Karma: 41943049
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by zertyuiop View Post
This changes the size of all fonts, I need to slightly reduce the font on the home screen.
I have to ask, why? I can't think of what advantage this would give. The home screen is built around these font sizes and the words on them. Making them smaller isn't going to put more on the screen. I suppose that if you are also changing the font, tuning the size might be needed.
davidfor is offline   Reply With Quote
Advert
Old 04-26-2020, 08:38 PM   #81
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: 22,969
Karma: 41943049
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Semwize View Post
Settings -> Beta Features -> Font Scale
I hadn't thought of this before, but this can be uses to make the font size smaller. Once the font scaling has been turned on, you can edit the config file and change the value for "LargePrintFontScale". Save the change, disconnect and restart the device and whatever was entered is used. I've tried 0.75 and it works. It does apply everywhere, not just the home screen. I can't think of a good use unless you had a lot of books with long titles. That would help to display the title without wrapping in the library list and elsewhere.
davidfor is offline   Reply With Quote
Old 04-26-2020, 09:39 PM   #82
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: 5,784
Karma: 14403332
Join Date: Sep 2009
Location: UK
Device: Kobo: H2O, GloHD, KA1, ClaraHD, Forma
Quote:
Originally Posted by davidfor View Post
I have to ask, why? I can't think of what advantage this would give. The home screen is built around these font sizes and the words on them. Making them smaller isn't going to put more on the screen. I suppose that if you are also changing the font, tuning the size might be needed.
I can't answer on behalf of @zertyuiop but I find the font-sizes used in many parts of the GUI on both KA1/Forma to be far too big (e.g. dictionary & footnote pop-ups, book lists). It's not necessarily anything to do with fitting more on the screen (e.g. Home screen), aesthetically it just "looks all wrong" (personal opinion only ) so when I know how to "fix" it ... I do.

OTOH I'm sure for many others the large print on the big screen Kobos is a real plus point.
jackie_w is offline   Reply With Quote
Old 04-27-2020, 03:19 AM   #83
zertyuiop
Junior Member
zertyuiop began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2020
Device: Kobo Forma
Quote:
Originally Posted by davidfor View Post
I have to ask, why? I can't think of what advantage this would give. The home screen is built around these font sizes and the words on them. Making them smaller isn't going to put more on the screen. I suppose that if you are also changing the font, tuning the size might be needed.
I translated the reader into Russian, and just the percentage of what I read on the home screen does not appear completely and I have no idea how to make these labels shorter without changing the font size.
I do not really need Russian on the reader, but on Russian forums they often (very often) ask for Russian localization for the latest versions.

Last edited by zertyuiop; 04-27-2020 at 03:24 AM.
zertyuiop is offline   Reply With Quote
Old 04-27-2020, 07:39 AM   #84
Semwize
Guru
Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.
 
Posts: 808
Karma: 249456
Join Date: Jun 2016
Device: Kobo
Quote:
Originally Posted by zertyuiop View Post
I translated the reader into Russian, and just the percentage of what I read on the home screen does not appear completely and I have no idea how to make these labels shorter without changing the font size.
Just change the size in the translation file itself Patches are not needed, this is superfluous. Include private messages, I will explain.
Semwize is offline   Reply With Quote
Old 04-29-2020, 05:06 PM   #85
bajillioneer
Member
bajillioneer began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Apr 2020
Device: Kobo Aura One
I've made sure ownership and permissions are set correctly but I keep getting denied. Patching as root also didn't work. What am I missing? Thanks for your time.

kobopatch.sh: line 17: ./bin/kobopatch-linux-64bit: Permission denied
bajillioneer is offline   Reply With Quote
Old 04-29-2020, 05:21 PM   #86
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: 12,129
Karma: 21225489
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma, Elipsa & Sage
@bajillioneer:

Doing that from a noexec mountpoint? (e.g., /tmp might be noexec on any sane system).
NiLuJe is offline   Reply With Quote
Old 04-29-2020, 05:37 PM   #87
bajillioneer
Member
bajillioneer began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Apr 2020
Device: Kobo Aura One
Quote:
Originally Posted by NiLuJe View Post
@bajillioneer:

Doing that from a noexec mountpoint? (e.g., /tmp might be noexec on any sane system).
Oh damn, I forgot about fstab. I recently added a new drive after one failed. Thanks.
bajillioneer is offline   Reply With Quote
Old 04-30-2020, 07:18 PM   #88
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 64,176
Karma: 104145061
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
I believe I may have found a problem witht he Advanced Font Control (or whatever it's called now) patch. It's supposed to work with OTF fonts and I just side loaded an OTF font and yes, you can appear to change the weight but the font won't change on screen when reading ePub.

The font is New York small. This is from Apple. It is available for free.
https://developer.apple.com/fonts

Edit: I found the problem. The fonts are set to use Postscript outlines and need to be changed to use Truetype outlines.

Last edited by JSWolf; 04-30-2020 at 07:23 PM.
JSWolf is offline   Reply With Quote
Old 04-30-2020, 08:09 PM   #89
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: 12,129
Karma: 21225489
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma, Elipsa & Sage
@JSWolf:

Huh. Indeed, OTF w/ CFF outlines aren't tweakable in ePubs (but behave properly in KePubs).
NiLuJe is offline   Reply With Quote
Old 05-01-2020, 11:22 AM   #90
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 64,176
Karma: 104145061
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Quote:
Originally Posted by NiLuJe View Post
@JSWolf:

Huh. Indeed, OTF w/ CFF outlines aren't tweakable in ePubs (but behave properly in KePubs).
At least I was able to fix the problem easily enough.
JSWolf is offline   Reply With Quote
Reply

Tags
kobopatch, patch, patch32lsb, patches, patching

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Instructions for patching firmware 3.18.0 GeoffR Kobo Developer's Corner 151 10-21-2016 07:15 AM
Instructions for patching firmware 3.16.10 GeoffR Kobo Developer's Corner 12 08-14-2015 04:40 AM
Instructions for patching firmware 3.16.0 GeoffR Kobo Developer's Corner 74 08-12-2015 03:12 PM
Instructions for patching firmware 3.2.0 DNSB Kobo Developer's Corner 66 12-05-2014 08:28 AM
Instructions for patching firmware 3.3.x, 3.4.x, 3.5.x GeoffR Kobo Developer's Corner 285 08-27-2014 11:06 AM


All times are GMT -4. The time now is 02:03 PM.


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