Quote:
Originally Posted by jcn363
Yes, you can still use `Change the font-size of footnotes pop-up and alikes` and `Change the font-family of footnotes pop-up and alikes` in this version.
Spoiler:
Code:
Change the font-size of footnotes pop-up and alikes:
- Enabled: no
- Description: |
Change footnotes and alike font-size
- FindZlib: "QWidget[small"
# Pop-up header (footnotes and alike)
- ReplaceZlib:
Find: "HeaderMediumElidedLabel,\n\
HeaderMediumTouchLabel,\n\
HeaderMediumLabel {\n font-family: Georgia;\n qproperty-alignment: 'AlignLeft|AlignVCenter';\n}\n\
HeaderMediumElidedLabel[qApp_deviceIsTrilogy=true],\n\
HeaderMediumTouchLabel[qApp_deviceIsTrilogy=true],\n\
HeaderMediumLabel[qApp_deviceIsTrilogy=true] {\n font-size: 30px;\n}\n\
HeaderMediumElidedLabel[qApp_deviceIsPhoenix=true],\n\
HeaderMediumTouchLabel[qApp_deviceIsPhoenix=true],\n\
HeaderMediumLabel[qApp_deviceIsPhoenix=true] {\n font-size: 36px;\n}\n\
HeaderMediumElidedLabel[qApp_deviceIsDragon=true],\n\
HeaderMediumTouchLabel[qApp_deviceIsDragon=true],\n\
HeaderMediumLabel[qApp_deviceIsDragon=true] {\n font-size: 46px;\n}\n\
HeaderMediumElidedLabel[qApp_deviceIsAlyssum=true],\n\
HeaderMediumTouchLabel[qApp_deviceIsAlyssum=true],\n\
HeaderMediumLabel[qApp_deviceIsAlyssum=true] {\n font-size: 50px;\n}\n\
HeaderMediumElidedLabel[qApp_deviceIsNova=true],\n\
HeaderMediumTouchLabel[qApp_deviceIsNova=true],\n\
HeaderMediumLabel[qApp_deviceIsNova=true] {\n font-size: 50px;\n}\n\
HeaderMediumElidedLabel[qApp_deviceIsDaylight=true],\n\
HeaderMediumTouchLabel[qApp_deviceIsDaylight=true],\n\
HeaderMediumLabel[qApp_deviceIsDaylight=true] {\n font-size: 60px;\n}"
Replace: "HeaderMediumElidedLabel,HeaderMediumTouchLabel,HeaderMediumLabel{font-family:Georgia;qproperty-alignment:'AlignLeft|AlignVCenter';font-size:60px;}"
# Pop-up text (footnotes and alike)
- ReplaceZlib:
Find: "RegularTouchLabel {\n font-family: Georgia;\n font-style: italic;\n}\n\
RegularTouchLabel[qApp_deviceIsTrilogy=true] {\n font-size: 19px;\n}\n\
RegularTouchLabel[qApp_deviceIsPhoenix=true] {\n font-size: 23px;\n}\n\
RegularTouchLabel[qApp_deviceIsDragon=true] {\n font-size: 29px;\n}\n\
RegularTouchLabel[qApp_deviceIsAlyssum=true] {\n font-size: 32px;\n}\n\
RegularTouchLabel[qApp_deviceIsNova=true] {\n font-size: 32px;\n}\n\
RegularTouchLabel[qApp_deviceIsDaylight=true] {\n font-size: 37px;\n}"
Replace: "RegularTouchLabel{font-family:Georgia;font-style:italic;font-size:37px;}"
Change the font-family of footnotes pop-up and alikes:
- Enabled: no
- Description: |
This patch allows you to change the font-family for the kepub pop-up footnotes (it
will also affect a few other dialogs, like no wifi, marked as finished, marked as
unread, etc).
# In ReadingController::showFootnoteDialog(Bookmark const&), a ConfirmationDialog is created.
# This changes the styles for ConfirmationDialog > #text
- FindZlib: "#ConfirmationDialog"
- ReplaceZlib: {Find: "font-family: Avenir;", Replace: "font-style:italic;}"} # with this change you'll have the same font family (for header and message) and italic for message
- ReplaceZlib: {Find: "font-family: Sans-SerifJP, sans-serif;", Replace: "font-family: Georgia;"}
Good luck.
|
Did that, everything working as it should

thank you so much!