View Single Post
Old 09-24-2019, 10:13 AM   #317
mathil
Evangelist
mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.mathil ought to be getting tired of karma fortunes by now.
 
Posts: 445
Karma: 287725
Join Date: Sep 2014
Location: Europe
Device: Kobo Aura H2O/Glo HD/Libra 2, Kindle PW3/PW5/PW11, Boox Palma
Quote:
Originally Posted by jackie_w View Post
@mathil,

Please try the attached patch to change font-size of the main text in kepub pop-up footnotes. Put it in nickel.yaml, or wherever you stored the old, non-working patch by jcn363. Hopefully I've re-written it in a way which ought to survive better across firmwares (but you never can predict what Kobo might change next )

You will need to store this as a personal custom patch, i.e. it's not currently part of the standard kobopatch .zip pack (nor has it ever been). That may change if enough other users make it known they are using it without problems.

Pop-up footnote main text font-size (beta)
Spoiler:
Code:
Pop-up footnote main text font-size:
  - Enabled: no
  - Description: |
        Change font-size of pop-up footnote main text (KePub only).
        (based on the original by jcn363)
        Note: Be aware that making this change will probably also change font-size
              in various other parts of the Kobo GUI
  - FindZlib: "RegularTouchLabel {\n  font-family"
  - ReplaceZlibGroup:
      Replacements:
        # RegularTouchLabel Popup footnote main text
        # Change Replace font-size as required for your Kobo model
          #Touch/Mini
        - Find:    "RegularTouchLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 19px;\n}"
          Replace: "RegularTouchLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 19px;\n}"
          #Glo/Aura/Aura2
        - Find:    "RegularTouchLabel[qApp_deviceIsPhoenix=true] {\n  font-size: 23px;\n}"
          Replace: "RegularTouchLabel[qApp_deviceIsPhoenix=true] {\n  font-size: 23px;\n}"
          #AuraHD/H2O/H2O2
        - Find:    "RegularTouchLabel[qApp_deviceIsDragon=true] {\n  font-size: 29px;\n}"
          Replace: "RegularTouchLabel[qApp_deviceIsDragon=true] {\n  font-size: 29px;\n}"
          #GloHD
        - Find:    "RegularTouchLabel[qApp_deviceIsAlyssum=true] {\n  font-size: 32px;\n}"
          Replace: "RegularTouchLabel[qApp_deviceIsAlyssum=true] {\n  font-size: 32px;\n}"
          #ClaraHD
        - Find:    "RegularTouchLabel[qApp_deviceIsNova=true] {\n  font-size: 32px;\n}"
          Replace: "RegularTouchLabel[qApp_deviceIsNova=true] {\n  font-size: 32px;\n}"
          #LibraH2O
        - Find:    "RegularTouchLabel[qApp_deviceIsStorm=true] {\n  font-size: 34px;\n}"
          Replace: "RegularTouchLabel[qApp_deviceIsStorm=true] {\n  font-size: 34px;\n}"
          #AuraOne/Forma
        - Find:    "RegularTouchLabel[qApp_deviceIsDaylight=true] {\n  font-size: 37px;\n}"
          Replace: "RegularTouchLabel[qApp_deviceIsDaylight=true] {\n  font-size: 37px;\n}"
Jackie, thank you so much for taking the time to share and edit your patch I just installed it and it's working perfectly well! I will store this aside and hopefully it will hold up for the following firmware releases as well.
I guess the reason that people haven't asked for this as much as other patches is that it tends to affect mostly people who read a lot of non-fiction. In my case, managing to fit more text in the popup instead of going back and forth to the notes page is really useful, but I can definitely see why most people wouldn't care much about it. I'm feeling very lucky right now thanks again!
mathil is offline   Reply With Quote