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 Today, 08:11 AM   #1
foosion
Groupie
foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.
 
Posts: 178
Karma: 4562
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Increasing font size of Footnote Preview

How can I increase the font-size of footnote previews? A Reddit thread suggests using a custom patch. Is there a better way?

Libnickel patch:

Code:
test Pop-up footnote main text font-size:
  - Enabled: yes
  - Description: |
        Change pop-up footnote main text font-size
        fw 4.20.14601 CSS moved to libnickel.so.1.0.0 from nickel???
        Daylight: %1 = 42 ???
  - FindReplaceString:
      Find:    "p { font-size: %1px; line-height: 1.4em; }"
      Replace: "p { font-size: 34px; line-height: 1.4em; }"
      MustMatchLength: yes
https://www.reddit.com/r/kobo/commen...tnote_preview/
foosion is offline   Reply With Quote
Old Today, 11:47 AM   #2
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: 75,506
Karma: 134254544
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by foosion View Post
How can I increase the font-size of footnote previews? A Reddit thread suggests using a custom patch. Is there a better way?

Libnickel patch:

Code:
test Pop-up footnote main text font-size:
  - Enabled: yes
  - Description: |
        Change pop-up footnote main text font-size
        fw 4.20.14601 CSS moved to libnickel.so.1.0.0 from nickel???
        Daylight: %1 = 42 ???
  - FindReplaceString:
      Find:    "p { font-size: %1px; line-height: 1.4em; }"
      Replace: "p { font-size: 34px; line-height: 1.4em; }"
      MustMatchLength: yes
https://www.reddit.com/r/kobo/commen...tnote_preview/
I just tested this patch with 4.38.23038 and it does not give any error. So it looks like it's good to apply.
JSWolf is offline   Reply With Quote
Advert
Old Today, 12:19 PM   #3
foosion
Groupie
foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.foosion is fluent in JavaScript as well as Klingon.
 
Posts: 178
Karma: 4562
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Quote:
Originally Posted by JSWolf View Post
I just tested this patch with 4.38.23038 and it does not give any error. So it looks like it's good to apply.
It's odd that this is not included with the official patches, since it works and there's at least some interest.

I'm using it with 50px and 1.2em since I'm using a larger font for the main text.

Thanks for testing.
foosion is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Increasing Font Size in Neoreader Pajamaman Onyx Boox 3 05-27-2022 04:43 PM
The Mystery of the Self Increasing Font Size bn_el KOReader 2 09-20-2020 09:56 AM
Preview pane font size Sigil benkuttner Sigil 3 12-11-2017 01:19 PM
Aura Page numbering issue when increasing font size. little82 Kobo Reader 14 12-08-2014 01:36 PM
Increasing the font size when converting PDF Anonymouslemming LRF 4 05-28-2010 03:39 AM


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


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