View Single Post
Old 09-23-2019, 06:15 PM   #316
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,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by mathil View Post
One thing I was wondering is if it is possible to alter/reduce the font size of the text in the footnotes popup. I used to install a patch compiled by jcn363 called 'footnotes and alike' (link here), which worked without being updated up until the latest 4.15.* firmware version, but (as I suspected) it doesn't work anymore. I don't know if it would still be feasible in the newest firmware version?
Quote:
Originally Posted by jackie_w View Post
Yes, this is still possible. So far not enough people have expressed interest for it to be added to the standard kobopatch pack but I have my own custom patch I can share with you. I only use mine to reduce font-size for KA1 & Forma but I can add the necessary for all the other models.
@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_w is offline   Reply With Quote